[opensuse] leap15.x - just as installation is finished, unable to mount root device ?
I've been annoyed by this for a long time, I've just never bothered reporting it - when finishing an installation, and you get the pop-up "The system will reboot now..." with a 10second time-out, I sometimes hit "stop" to switch to another virtual console and do some last minute changes. (usually bootloader related). I don't know when it changed, but it's been like with leap 15.0 and now leap15.1 - trying to mount the root device doesn't work: (/mnt2 is brandnew). office33:~ # mount /dev/sda1 /mnt2 mount: /mnt2: /dev/sda1 already mounted or mount point busy. office33:~ # df Filesystem 1K-blocks Used Available Use% Mounted on tmpfs 2026020 321744 1704276 16% / /dev/loop0 72192 72192 0 100% /parts/mp_0000 /dev/loop1 14208 14208 0 100% /parts/mp_0001 devtmpfs 959852 8 959844 1% /dev /dev/loop2 50560 50560 0 100% /mounts/mp_0000 /dev/loop3 78080 78080 0 100% /mounts/mp_0001 /dev/loop5 1920 1920 0 100% /mounts/mp_0003 /dev/loop6 128 128 0 100% /mounts/mp_0004 /dev/loop7 256 256 0 100% /mounts/mp_1002 What is preventing me from mounting /dev/sda1 ?? -- Per Jessen, Zürich (6.6°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Op zondag 5 mei 2019 18:39:15 CEST schreef Per Jessen:
I've been annoyed by this for a long time, I've just never bothered reporting it -
when finishing an installation, and you get the pop-up "The system will reboot now..." with a 10second time-out, I sometimes hit "stop" to switch to another virtual console and do some last minute changes. (usually bootloader related).
I don't know when it changed, but it's been like with leap 15.0 and now leap15.1 - trying to mount the root device doesn't work: (/mnt2 is brandnew).
office33:~ # mount /dev/sda1 /mnt2 mount: /mnt2: /dev/sda1 already mounted or mount point busy.
Like this says, it's already mounted. Please show # mount
office33:~ # df Filesystem 1K-blocks Used Available Use% Mounted on tmpfs 2026020 321744 1704276 16% / /dev/loop0 72192 72192 0 100% /parts/mp_0000 /dev/loop1 14208 14208 0 100% /parts/mp_0001 devtmpfs 959852 8 959844 1% /dev /dev/loop2 50560 50560 0 100% /mounts/mp_0000 /dev/loop3 78080 78080 0 100% /mounts/mp_0001 /dev/loop5 1920 1920 0 100% /mounts/mp_0003 /dev/loop6 128 128 0 100% /mounts/mp_0004 /dev/loop7 256 256 0 100% /mounts/mp_1002
What is preventing me from mounting /dev/sda1 ??
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Knurpht-openSUSE wrote:
Op zondag 5 mei 2019 18:39:15 CEST schreef Per Jessen:
I've been annoyed by this for a long time, I've just never bothered reporting it -
when finishing an installation, and you get the pop-up "The system will reboot now..." with a 10second time-out, I sometimes hit "stop" to switch to another virtual console and do some last minute changes. (usually bootloader related).
I don't know when it changed, but it's been like with leap 15.0 and now leap15.1 - trying to mount the root device doesn't work: (/mnt2 is brandnew).
office33:~ # mount /dev/sda1 /mnt2 mount: /mnt2: /dev/sda1 already mounted or mount point busy.
Like this says, it's already mounted. Please show # mount
At the moment, I don't have a system in that state, and the console where I had the output has filled up. Take my word for it, it was not present in the output from 'mount'. If you have a suggestion as to what the problem might be (whether it /dev/sda1 is mounted or not), I'll be happy to repeat the exercise. -- Per Jessen, Zürich (5.6°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen wrote:
At the moment, I don't have a system in that state, and the console where I had the output has filled up. Take my word for it, it was not present in the output from 'mount'. If you have a suggestion as to what the problem might be (whether it /dev/sda1 is mounted or not), I'll be happy to repeat the exercise.
Just to be clear - if the output from 'mount' says /dev/sda1 is mounted, what do you propose? if the output from 'mount' says /dev/sda1 is not mounted, what do you propose? -- Per Jessen, Zürich (5.7°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/05/2019 19.44, Knurpht-openSUSE wrote:
Op zondag 5 mei 2019 18:39:15 CEST schreef Per Jessen:
...
office33:~ # mount /dev/sda1 /mnt2 mount: /mnt2: /dev/sda1 already mounted or mount point busy.
Like this says, it's already mounted. Please show # mount
It should show in the output of df, and it doesn't:
office33:~ # df Filesystem 1K-blocks Used Available Use% Mounted on tmpfs 2026020 321744 1704276 16% / /dev/loop0 72192 72192 0 100% /parts/mp_0000 /dev/loop1 14208 14208 0 100% /parts/mp_0001 devtmpfs 959852 8 959844 1% /dev /dev/loop2 50560 50560 0 100% /mounts/mp_0000 /dev/loop3 78080 78080 0 100% /mounts/mp_0001 /dev/loop5 1920 1920 0 100% /mounts/mp_0003 /dev/loop6 128 128 0 100% /mounts/mp_0004 /dev/loop7 256 256 0 100% /mounts/mp_1002
What is preventing me from mounting /dev/sda1 ??
/mnt2 does not exist? I would try with the "-v" switch to mount, and then, check "dmesg". The reason should be there, in one of the two. -- Cheers / Saludos, Carlos E. R. (from openSUSE, Leap 15.1 x86_64 (ssd-test)) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Carlos E. R. wrote:
On 05/05/2019 19.44, Knurpht-openSUSE wrote:
Op zondag 5 mei 2019 18:39:15 CEST schreef Per Jessen:
...
office33:~ # mount /dev/sda1 /mnt2 mount: /mnt2: /dev/sda1 already mounted or mount point busy.
Like this says, it's already mounted. Please show # mount
It should show in the output of df, and it doesn't:
office33:~ # df Filesystem 1K-blocks Used Available Use% Mounted on tmpfs 2026020 321744 1704276 16% / /dev/loop0 72192 72192 0 100% /parts/mp_0000 /dev/loop1 14208 14208 0 100% /parts/mp_0001 devtmpfs 959852 8 959844 1% /dev /dev/loop2 50560 50560 0 100% /mounts/mp_0000 /dev/loop3 78080 78080 0 100% /mounts/mp_0001 /dev/loop5 1920 1920 0 100% /mounts/mp_0003 /dev/loop6 128 128 0 100% /mounts/mp_0004 /dev/loop7 256 256 0 100% /mounts/mp_1002
What is preventing me from mounting /dev/sda1 ??
/mnt2 does not exist?
I did create it :-)
I would try with the "-v" switch to mount, and then, check "dmesg". The reason should be there, in one of the two.
Okay, sounds like something worth trying. Will have to wait until tomorrow though. -- Per Jessen, Zürich (4.9°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen wrote:
Carlos E. R. wrote:
What is preventing me from mounting /dev/sda1 ??
/mnt2 does not exist?
I did create it :-)
Okay, have just rdone the installation on this system - state is stopped at "The system will reboot now...". Two ssh sessions logged in, one running yast. In the other session: 1:office33:~ # mkdir /mnt2 1:office33:~ # mount -v /dev/sda1 /mnt2 mount: /mnt2: /dev/sda1 already mounted or mount point busy. 1:office33:~ # mount -v tmpfs on / type tmpfs (rw,relatime,size=2026020k,nr_inodes=0) tmpfs on / type tmpfs (rw,relatime,size=2026020k,nr_inodes=0) proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,relatime) /dev/loop0 on /parts/mp_0000 type squashfs (ro,relatime) /dev/loop1 on /parts/mp_0001 type squashfs (ro,relatime) devtmpfs on /dev type devtmpfs (rw,relatime,size=959852k,nr_inodes=239963,mode=755) devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000) rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime) /dev/loop2 on /mounts/mp_0000 type squashfs (ro,relatime) /dev/loop3 on /mounts/mp_0001 type squashfs (ro,relatime) /dev/loop5 on /mounts/mp_0003 type squashfs (ro,relatime) /dev/loop6 on /mounts/mp_0004 type squashfs (ro,relatime) /dev/loop7 on /mounts/mp_1002 type squashfs (ro,relatime) (I have the dmesg output, doesn't seem there's anything of interest). What _is_ interesting is this: 1:office33:~ # mount -v -o ro /dev/sda1 /mnt2 mount: /dev/sda1 mounted on /mnt2. More interesting: 1:office33:~ # mount -o remount,rw /mnt2 1:office33:~ # touch /mnt2/tmp/klop99 1:office33:~ # ls -l /mnt2/tmp/klop99 -rw-r--r-- 1 root root 0 May 6 09:01 /mnt2/tmp/klop99 1:office33:~ # umount /mnt2 1:office33:~ # mount -v /dev/sda1 /mnt2 mount: /dev/sda1 mounted on /mnt2. So something changed in the course of the above. Weird. -- Per Jessen, Zürich (4.6°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/05/2019 09.05, Per Jessen wrote:
Per Jessen wrote:
...
So something changed in the course of the above. Weird.
Weird indeed... -- Cheers / Saludos, Carlos E. R. (from openSUSE, Leap 15.1 x86_64 (ssd-test)) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 06/05/2019 à 09:05, Per Jessen a écrit :
1:office33:~ # mount -v -o ro /dev/sda1 /mnt2 mount: /dev/sda1 mounted on /mnt2.
I was about to say you can try to mount it --bind (second mount) jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/05/2019 09.44, jdd@dodin.org wrote:
Le 06/05/2019 à 09:05, Per Jessen a écrit :
1:office33:~ # mount -v -o ro /dev/sda1 /mnt2 mount: /dev/sda1 mounted on /mnt2.
I was about to say you can try to mount it --bind (second mount)
But the mount list doesn't show it mounted anywhere. -- Cheers / Saludos, Carlos E. R. (from openSUSE, Leap 15.1 x86_64 (ssd-test)) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 06/05/2019 à 09:50, Carlos E. R. a écrit :
On 06/05/2019 09.44, jdd@dodin.org wrote:
Le 06/05/2019 à 09:05, Per Jessen a écrit :
1:office33:~ # mount -v -o ro /dev/sda1 /mnt2 mount: /dev/sda1 mounted on /mnt2.
I was about to say you can try to mount it --bind (second mount)
But the mount list doesn't show it mounted anywhere.
and? it's so easy to try jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
jdd@dodin.org wrote:
Le 06/05/2019 à 09:50, Carlos E. R. a écrit :
On 06/05/2019 09.44, jdd@dodin.org wrote:
Le 06/05/2019 à 09:05, Per Jessen a écrit :
1:office33:~ # mount -v -o ro /dev/sda1 /mnt2 mount: /dev/sda1 mounted on /mnt2.
I was about to say you can try to mount it --bind (second mount)
But the mount list doesn't show it mounted anywhere.
and? it's so easy to try
The question is what to mount: mount -o bind <what> /mnt2 ? -- Per Jessen, Zürich (9.0°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, 06 May 2019 13:46:48 +0200 Per Jessen <per@computer.org> wrote:
The question is what to mount:
mount -o bind <what> /mnt2 ?
Hi Per, I just noticed something that might be relevant: https://lists.freedesktop.org/archives/systemd-devel/2019-May/042478.html -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
05.05.2019 19:39, Per Jessen пишет:
I've been annoyed by this for a long time, I've just never bothered reporting it -
when finishing an installation, and you get the pop-up "The system will reboot now..." with a 10second time-out, I sometimes hit "stop" to switch to another virtual console and do some last minute changes. (usually bootloader related).
I don't know when it changed, but it's been like with leap 15.0 and now leap15.1 - trying to mount the root device doesn't work: (/mnt2 is brandnew).
office33:~ # mount /dev/sda1 /mnt2 mount: /mnt2: /dev/sda1 already mounted or mount point busy.
In my default installation of 15.0 on BIOS VM disk has GPT, /dev/sda1 is bios_boot partition and root is /dev/sda2 and can be mounted without problems. See attachments.
office33:~ # df Filesystem 1K-blocks Used Available Use% Mounted on tmpfs 2026020 321744 1704276 16% / /dev/loop0 72192 72192 0 100% /parts/mp_0000 /dev/loop1 14208 14208 0 100% /parts/mp_0001 devtmpfs 959852 8 959844 1% /dev /dev/loop2 50560 50560 0 100% /mounts/mp_0000 /dev/loop3 78080 78080 0 100% /mounts/mp_0001 /dev/loop5 1920 1920 0 100% /mounts/mp_0003 /dev/loop6 128 128 0 100% /mounts/mp_0004 /dev/loop7 256 256 0 100% /mounts/mp_1002
What is preventing me from mounting /dev/sda1 ??
participants (6)
-
Andrei Borzenkov
-
Carlos E. R.
-
Dave Howorth
-
jdd@dodin.org
-
Knurpht-openSUSE
-
Per Jessen