[opensuse-factory] After latest tumbleweed update, BTRFS root mounts as RO
After performing an update to the latest tumbleweed snapshot, an oss 13.2 tumbelweed machine with BTRFS for / mount root as ro at bootup. There are no errors logged anywhere regarding that, and the filesystem is all good. / can be remounted as rw post bootup just fine, problem is it is not happening automatically. Where do I need to look to troubleshoot, I am a bit lost with all the systemd material all over the place. Regards, --Moby -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
В Wed, 18 Feb 2015 17:11:14 -0600
Moby
After performing an update to the latest tumbleweed snapshot, an oss 13.2 tumbelweed
So is it 13.2 or is it tumbleweed?
machine with BTRFS for / mount root as ro at bootup. There are no errors logged anywhere regarding that, and the filesystem is all good. / can be remounted as rw post bootup just fine, problem is it is not happening automatically. Where do I need to look to troubleshoot, I am a bit lost with all the systemd material all over the place.
What does "systemctl status systemd-remount-fs.service" say? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 02/18/2015 09:19 PM, Andrei Borzenkov wrote:
В Wed, 18 Feb 2015 17:11:14 -0600 Moby
пишет: After performing an update to the latest tumbleweed snapshot, an oss 13.2 tumbelweed So is it 13.2 or is it tumbleweed?
machine with BTRFS for / mount root as ro at bootup. There are no errors logged anywhere regarding that, and the filesystem is all good. / can be remounted as rw post bootup just fine, problem is it is not happening automatically. Where do I need to look to troubleshoot, I am a bit lost with all the systemd material all over the place.
What does "systemctl status systemd-remount-fs.service" say?
Thanks Andrei. Apologies, it is tumbleweed. cat /etc/os-release NAME=openSUSE VERSION="20150216 (Tumbleweed)" VERSION_ID="20150216" PRETTY_NAME="openSUSE 20150216 (Tumbleweed) (i586)" ID=opensuse ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:opensuse:20150216" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://opensuse.org/" ID_LIKE="suse" and systemctl status systemd-remount-fs.service systemd-remount-fs.service - Remount Root and Kernel File Systems Loaded: loaded (/usr/lib/systemd/system/systemd-remount-fs.service; static) Active: active (exited) since Wed 2015-02-18 21:05:30 CST; 40min ago Docs: man:systemd-remount-fs.service(8) http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems Process: 387 ExecStart=/usr/lib/systemd/systemd-remount-fs (code=exited, status=0/SUCCESS) Main PID: 387 (code=exited, status=0/SUCCESS) CGroup: /system.slice/systemd-remount-fs.service -- --Moby -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 02/18/2015 09:47 PM, Moby wrote:
On 02/18/2015 09:19 PM, Andrei Borzenkov wrote:
В Wed, 18 Feb 2015 17:11:14 -0600 Moby
пишет: After performing an update to the latest tumbleweed snapshot, an oss 13.2 tumbelweed So is it 13.2 or is it tumbleweed?
machine with BTRFS for / mount root as ro at bootup. There are no errors logged anywhere regarding that, and the filesystem is all good. / can be remounted as rw post bootup just fine, problem is it is not happening automatically. Where do I need to look to troubleshoot, I am a bit lost with all the systemd material all over the place.
What does "systemctl status systemd-remount-fs.service" say?
Thanks Andrei.
Apologies, it is tumbleweed.
cat /etc/os-release NAME=openSUSE VERSION="20150216 (Tumbleweed)" VERSION_ID="20150216" PRETTY_NAME="openSUSE 20150216 (Tumbleweed) (i586)" ID=opensuse ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:opensuse:20150216" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://opensuse.org/" ID_LIKE="suse"
and
systemctl status systemd-remount-fs.service systemd-remount-fs.service - Remount Root and Kernel File Systems Loaded: loaded (/usr/lib/systemd/system/systemd-remount-fs.service; static) Active: active (exited) since Wed 2015-02-18 21:05:30 CST; 40min ago Docs: man:systemd-remount-fs.service(8) http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems Process: 387 ExecStart=/usr/lib/systemd/systemd-remount-fs (code=exited, status=0/SUCCESS) Main PID: 387 (code=exited, status=0/SUCCESS) CGroup: /system.slice/systemd-remount-fs.service
Andrei, since you were kind enough to point me to the systemd-remount... unit, I did some digging and realized it uses /etc/fstab. This machine has ~no~ fstab at all (not sure why an upgrade - zypper dup - would have deleted it). Can I simply copy /etc/mtab to /etc/fstab? Regards, -- --Moby -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
В Wed, 18 Feb 2015 21:54:56 -0600
Moby
On 02/18/2015 09:47 PM, Moby wrote:
On 02/18/2015 09:19 PM, Andrei Borzenkov wrote:
В Wed, 18 Feb 2015 17:11:14 -0600 Moby
пишет: After performing an update to the latest tumbleweed snapshot, an oss 13.2 tumbelweed So is it 13.2 or is it tumbleweed?
machine with BTRFS for / mount root as ro at bootup. There are no errors logged anywhere regarding that, and the filesystem is all good. / can be remounted as rw post bootup just fine, problem is it is not happening automatically. Where do I need to look to troubleshoot, I am a bit lost with all the systemd material all over the place.
What does "systemctl status systemd-remount-fs.service" say?
Thanks Andrei.
Apologies, it is tumbleweed.
cat /etc/os-release NAME=openSUSE VERSION="20150216 (Tumbleweed)" VERSION_ID="20150216" PRETTY_NAME="openSUSE 20150216 (Tumbleweed) (i586)" ID=opensuse ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:opensuse:20150216" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://opensuse.org/" ID_LIKE="suse"
and
systemctl status systemd-remount-fs.service systemd-remount-fs.service - Remount Root and Kernel File Systems Loaded: loaded (/usr/lib/systemd/system/systemd-remount-fs.service; static) Active: active (exited) since Wed 2015-02-18 21:05:30 CST; 40min ago Docs: man:systemd-remount-fs.service(8) http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems Process: 387 ExecStart=/usr/lib/systemd/systemd-remount-fs (code=exited, status=0/SUCCESS) Main PID: 387 (code=exited, status=0/SUCCESS) CGroup: /system.slice/systemd-remount-fs.service
Andrei, since you were kind enough to point me to the systemd-remount... unit, I did some digging and realized it uses /etc/fstab. This machine has ~no~ fstab at all (not sure why an upgrade - zypper dup - would have deleted it).
Well ... then remount-fs service cannot really know which options to apply. In this case you should ensure initrd mounts you root filesystem with intended options. I do not know if openSUSE with empty fstab is really supported. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 02/18/2015 10:03 PM, Andrei Borzenkov wrote:
В Wed, 18 Feb 2015 21:54:56 -0600 Moby
пишет: On 02/18/2015 09:47 PM, Moby wrote:
On 02/18/2015 09:19 PM, Andrei Borzenkov wrote:
В Wed, 18 Feb 2015 17:11:14 -0600 Moby
пишет: After performing an update to the latest tumbleweed snapshot, an oss 13.2 tumbelweed So is it 13.2 or is it tumbleweed?
machine with BTRFS for / mount root as ro at bootup. There are no errors logged anywhere regarding that, and the filesystem is all good. / can be remounted as rw post bootup just fine, problem is it is not happening automatically. Where do I need to look to troubleshoot, I am a bit lost with all the systemd material all over the place.
What does "systemctl status systemd-remount-fs.service" say?
Thanks Andrei.
Apologies, it is tumbleweed.
cat /etc/os-release NAME=openSUSE VERSION="20150216 (Tumbleweed)" VERSION_ID="20150216" PRETTY_NAME="openSUSE 20150216 (Tumbleweed) (i586)" ID=opensuse ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:opensuse:20150216" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://opensuse.org/" ID_LIKE="suse"
and
systemctl status systemd-remount-fs.service systemd-remount-fs.service - Remount Root and Kernel File Systems Loaded: loaded (/usr/lib/systemd/system/systemd-remount-fs.service; static) Active: active (exited) since Wed 2015-02-18 21:05:30 CST; 40min ago Docs: man:systemd-remount-fs.service(8) http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems Process: 387 ExecStart=/usr/lib/systemd/systemd-remount-fs (code=exited, status=0/SUCCESS) Main PID: 387 (code=exited, status=0/SUCCESS) CGroup: /system.slice/systemd-remount-fs.service
Andrei, since you were kind enough to point me to the systemd-remount... unit, I did some digging and realized it uses /etc/fstab. This machine has ~no~ fstab at all (not sure why an upgrade - zypper dup - would have deleted it). Well ... then remount-fs service cannot really know which options to apply. In this case you should ensure initrd mounts you root filesystem with intended options. I do not know if openSUSE with empty fstab is really supported.
Well, thanks to snapper (I think that is what takes snapshots at boot time), I had snapshots going back quite a ways and I found a perfectly good fstab from an older snapshot, copied it to /etc/, and now all is good. Thanks again Andrei for leading me down the right track. Just FYI, the system ran fine without the fstab, except that I had to remount / as rw after each bootup. Regards -- --Moby -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
El 19/02/15 a las 01:11, Moby escribió:
Just FYI, the system ran fine without the fstab, except that I had to remount / as rw after each bootup.
Hrmmm... what's going on here... currently fstab is completely optional..as long you specify the root device in the kernel command line with the appropiate flags.. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
В Thu, 19 Feb 2015 12:45:22 -0300
Cristian Rodríguez
El 19/02/15 a las 01:11, Moby escribió:
Just FYI, the system ran fine without the fstab, except that I had to remount / as rw after each bootup.
Hrmmm... what's going on here... currently fstab is completely optional..as long you specify the root device in the kernel command line with the appropiate flags..
systemd initially mounts root "ro" unless you explicitly specify "rw". YaST does not add "rw". Sure, everything is possible manually as long as you know which knobs to push, but right now in default configuration openSUSE without fstab will not remount root rw. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Andrei Borzenkov
-
Cristian Rodríguez
-
Moby