LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 10-06-2022, 05:33 AM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,659

Rep: Reputation: 255Reputation: 255Reputation: 255
How to mount a device /dev/sdb2 in opensuse ?


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
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2022-10-06_06-31-09.png
Views:	21
Size:	100.3 KB
ID:	39683  

Last edited by Xeratul; 10-06-2022 at 05:36 AM.
 
Old 10-06-2022, 05:42 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,041

Rep: Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348
probably try another mount point
 
Old 10-06-2022, 05:51 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,153

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
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.
 
Old 10-06-2022, 06:23 AM   #4
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,659

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by pan64 View Post
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?

Last edited by Xeratul; 10-06-2022 at 06:59 AM.
 
Old 10-06-2022, 08:06 AM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,041

Rep: Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348
? 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.
 
Old 10-06-2022, 08:53 AM   #6
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,767

Rep: Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765
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.
 
Old 10-07-2022, 01:56 AM   #7
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,878
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
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.
 
Old 10-07-2022, 12:55 PM   #8
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,659

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by mrmazda View Post
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.
 
Old 10-07-2022, 01:02 PM   #9
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,041

Rep: Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348
Quote:
Originally Posted by Xeratul View Post
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.
 
Old 10-07-2022, 01:12 PM   #10
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,659

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by pan64 View Post
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.
 
Old 10-07-2022, 03:22 PM   #11
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,767

Rep: Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765
Quote:
Originally Posted by Xeratul View Post
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.
 
Old 10-08-2022, 02:16 AM   #12
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,041

Rep: Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348
Quote:
Originally Posted by Xeratul View Post
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....
 
Old 10-10-2022, 04:44 AM   #13
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,659

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Please would you mind telling me how to remove that locking? this unlocking for more powerful usage would be needed

Kind regards
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2022-10-10_05-42-09-opensuse-bug.jpg
Views:	14
Size:	118.7 KB
ID:	39699  
 
Old 10-10-2022, 04:46 AM   #14
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,659

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Smoking is *bad* as well.

Still, you cannot force people to not smoke. There are still people smoking in the street.
 
Old 10-10-2022, 08:01 AM   #15
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,628

Rep: Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557

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.

 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mistype dd if=/dev/sdb2 of=/dev/sdcc12 whansard Linux - Desktop 4 07-07-2021 02:59 PM
[SOLVED] Slackware14.2 on sda, Slackware -current on sdb: LILO in mbr(sda) and sdb2. How to remove lilo from sdb2 san2ban Slackware 11 07-04-2020 12:30 PM
/dev/sdb2 is not a valid block device JoDun Linux - Newbie 2 01-29-2019 04:18 PM
Error mounting /dev/sdb2, wrong fs type, bad option, bad superblock on /dev/sdb2 ashangel Linux - Kernel 3 08-06-2012 03:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 09:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration