LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   How to mount a device /dev/sdb2 in opensuse ? (https://www.linuxquestions.org/questions/suse-opensuse-60/how-to-mount-a-device-dev-sdb2-in-opensuse-4175717481/)

Xeratul 10-06-2022 05:33 AM

How to mount a device /dev/sdb2 in opensuse ?
 
1 Attachment(s)
Hello,

Two disks have been cloned and look same, since UUID is identical. The OpenSuse Leap 15.3 won't mount it.

How to force it?

Regards

Code:

[ 2640.169172] Btrfs loaded, crc32c=crc32c-generic
[ 2640.182504] BTRFS: device fsid 75c4d6a3-be91-4ad8-9189-e8c369365c1d devid 1


pan64 10-06-2022 05:42 AM

probably try another mount point

syg00 10-06-2022 05:51 AM

No, the OP had better learn to backup properly rather than insisting on forcing a very poor option. The system is protecting itself from them.

Xeratul 10-06-2022 06:23 AM

Quote:

Originally Posted by pan64 (Post 6384643)
probably try another mount point

nope. not working

it is not a protection. The root account shall have full power.

How to remove this kind of protection of OpenSUSE to let it free and full power?

pan64 10-06-2022 08:06 AM

? I don't understand ? root does not mean god mode, you will never have full power to do whatever to want, there are limitations (like you cannot ride two horses in the same time)
In linux (and indeed everywhere) there are rules that cannot be ignored or overridden.

wpeckham 10-06-2022 08:53 AM

Change the UUID on the device that is not mounted.

Mounting two devices with the same identifier would be like filing taxes when two people have the same Social Security number. Bad.

mrmazda 10-07-2022 01:56 AM

This isn't about superuser power. The kernel is not designed to accommodate multiple devices with identical UUIDs. Corruption is inevitable if attempted. Either don't include the clone in the same system as the original after the clone has been completed, or uniquify all before proceeding with use of clone and/or original.

Xeratul 10-07-2022 12:55 PM

Quote:

Originally Posted by mrmazda (Post 6384829)
This isn't about superuser power. The kernel is not designed to accommodate multiple devices with identical UUIDs. Corruption is inevitable if attempted. Either don't include the clone in the same system as the original after the clone has been completed, or uniquify all before proceeding with use of clone and/or original.

this is complete ...
If you use /dev/... without automount, all will be fine.

pan64 10-07-2022 01:02 PM

Quote:

Originally Posted by Xeratul (Post 6384935)
this is complete ...
If you use /dev/... without automount, all will be fine.

I don't understand this statement, but I guess (or it looks like) automounter mounts something what you don't need. So do not automount it. Or umount it. Do whatever you want, but don't try to mount and unmount the same device at the same time. This is simply impossible.

Xeratul 10-07-2022 01:12 PM

Quote:

Originally Posted by pan64 (Post 6384938)
I don't understand this statement, but I guess (or it looks like) automounter mounts something what you don't need. So do not automount it. Or umount it. Do whatever you want, but don't try to mount and unmount the same device at the same time. This is simply impossible.

you can mount the same device at two locations at same time, it is possible. depends which kernel/linux distro.

wpeckham 10-07-2022 03:22 PM

Quote:

Originally Posted by Xeratul (Post 6384940)
you can mount the same device at two locations at same time, it is possible. depends which kernel/linux distro.

Yes, but you have to use the remount option for the second instance, and it is still BAD=B*A*D to mount two devices with the same UUID! Please try to avoid that.

pan64 10-08-2022 02:16 AM

Quote:

Originally Posted by Xeratul (Post 6384940)
you can mount the same device at two locations at same time, it is possible. depends which kernel/linux distro.

Your original post is not related to this, that is a different error.
Would be nice to explain all the details....

Xeratul 10-10-2022 04:44 AM

1 Attachment(s)
Please would you mind telling me how to remove that locking? this unlocking for more powerful usage would be needed

Kind regards

Xeratul 10-10-2022 04:46 AM

Smoking is *bad* as well.

Still, you cannot force people to not smoke. There are still people smoking in the street.

boughtonp 10-10-2022 08:01 AM


 
To extend that insane comparison, nobody is required to provide smokers with a source of nicotine.


If anyone knows how to do what you want and doesn't think it's a bad idea, they will doubtless provide respond.

Alternatively you could try asking the people who added the restriction: if you can justify your reasons to them, they are best placed to provide a solution.



All times are GMT -5. The time now is 01:01 AM.