[opensuse] mounting wrong partition after upgrade
I just finished a painful upgrade to 12.3 (zypper dup dropped me to emergency console) things now seem to be restored, but the system is mounting /dev/sda7 as /usr rather than what is in fstab I created a copy in this partition when the ext3 partitions were not being found, so it's still working, but it's not as big as I'd like. Could my switching fstab to device rather than ID be the cause? Seems like a bunch of new stuff (cgroup fuse, hugetlbfs) is being mounted now. fstab: /dev/disk/by-id/scsi-SATA_Hitachi_HDP7250_GEB530RE1T52EB-part6 / ext3 acl,user_xattr 1 1 /dev/sdb7 /home ext3 acl,user_xattr 1 2 /dev/sdb2 /usr ext3 defaults 0 0 /dev/sdb5 swap swap defaults 0 0 /dev/sda5 swap swap defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 none /proc/bus/usb usbfs devgid=1000,devmode=664 0 0 mtab: rootfs / rootfs rw 0 0 devtmpfs /dev devtmpfs rw,relatime,size=2010748k,nr_inodes=502687,mode=755 0 0 tmpfs /dev/shm tmpfs rw,relatime 0 0 tmpfs /run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0 devpts /dev/pts devpts rw,relatime,gid=5,mode=620,ptmxmode=000 0 0 /dev/sdb6 / ext3 rw,relatime,data=ordered 0 0 /dev/sda7 /usr ext4 rw,relatime,data=ordered 0 0 proc /proc proc rw,relatime 0 0 sysfs /sys sysfs rw,relatime 0 0 securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0 tmpfs /sys/fs/cgroup tmpfs rw,nosuid,nodev,noexec,mode=755 0 0 cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd 0 0 cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0 cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpuacct,cpu 0 0 cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0 cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0 cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0 cgroup /sys/fs/cgroup/net_cls cgroup rw,nosuid,nodev,noexec,relatime,net_cls 0 0 cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0 cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0 cgroup /sys/fs/cgroup/hugetlb cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 0 0 systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=25,pgrp=1,timeout=300,minproto=5,maxproto=5,direct 0 0 mqueue /dev/mqueue mqueue rw,relatime 0 0 hugetlbfs /dev/hugepages hugetlbfs rw,relatime 0 0 tmpfs /var/lock tmpfs rw,nosuid,nodev,relatime,mode=755 0 0 debugfs /sys/kernel/debug debugfs rw,relatime 0 0 tmpfs /var/run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0 /dev/sdb7 /home ext3 rw,relatime,data=ordered 0 0 fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0 vmware-vmblock /var/run/vmblock-fuse fuse.vmware-vmblock rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other 0 0 vmware-vmblock /run/vmblock-fuse fuse.vmware-vmblock rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other 0 0 none /var/lib/ntp/proc proc ro,nosuid,nodev,relatime 0 0 gvfsd-fuse /run/user/1000/gvfs fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=100 0 0 gvfsd-fuse /var/run/user/1000/gvfs fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=100 0 0 dmesg: [ 577.832123] EXT4-fs (sdb6): mounting ext3 file system using the ext4 subsystem [ 577.875121] EXT4-fs (sdb6): mounted filesystem with ordered data mode. Opts: acl,user_xattr [ 578.075333] EXT4-fs (sdb6): re-mounted. Opts: acl,user_xattr [ 578.318794] EXT4-fs (sda7): mounted filesystem with ordered data mode. Opts: (null) ... [ 580.863464] EXT4-fs (sda7): re-mounted. Opts: (null) [ 581.041726] EXT4-fs (sdb6): re-mounted. Opts: acl,user_xattr -- Collector of vintage computers http://www.ncf.ca/~ba600 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 27/09/13 03:24, Mike escribió:
I just finished a painful upgrade to 12.3 (zypper dup dropped me to emergency console) things now seem to be restored, but the system is mounting /dev/sda7 as /usr rather than what is in fstab I created a copy in this partition when the ext3 partitions were not being found, so it's still working, but it's not as big as I'd like.
Could my switching fstab to device rather than ID be the cause?
Yes, but did you run mkinitrd ? /usr is mounted in the initrd ..
Seems like a bunch of new stuff (cgroup fuse, hugetlbfs) is being mounted now.
Yes, and that's expected.
fstab: /dev/disk/by-id/scsi-SATA_Hitachi_HDP7250_GEB530RE1T52EB-part6 / ext3 acl,user_xattr 1 1 /dev/sdb7 /home ext3 acl,user_xattr 1 2 /dev/sdb2 /usr ext3 defaults 0 0 /dev/sdb5 swap swap defaults 0 0 /dev/sda5 swap swap defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 none /proc/bus/usb usbfs devgid=1000,devmode=664 0 0
you can (or rather should..) omit "proc", "sysfs", "debugfs" "usbfs" .. or to be more specific, omit all entries that do not belong to your local or remote filesystems.. systemd setups them for you nowadays with the needed mount options/parameters and you should not override that unless you know exactly what you are doing. (read, you are a kernel developer or distribution maintainer) -- "Judging by their response, the meanest thing you can do to people on the Internet is to give them really good software for free". - Anil Dash -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Friday, September 27, 2013 04:09:37 AM Cristian Rodríguez wrote:
El 27/09/13 03:24, Mike escribió:
I just finished a painful upgrade to 12.3 (zypper dup dropped me to emergency console) things now seem to be restored, but the system is mounting /dev/sda7 as /usr rather than what is in fstab I created a copy in this partition when the ext3 partitions were not being found, so it's still working, but it's not as big as I'd like.
Could my switching fstab to device rather than ID be the cause?
Yes, but did you run mkinitrd ? /usr is mounted in the initrd ..
yes I did because it failed during the update I still get these errors when I rerun it. modprobe: Module jbd not found. WARNING: no dependencies for kernel module 'jbd' found. modprobe: Module ext3 not found. WARNING: no dependencies for kernel module 'ext3' found.
fstab: /dev/disk/by-id/scsi-SATA_Hitachi_HDP7250_GEB530RE1T52EB-part6 / ext3 acl,user_xattr 1 1 /dev/sdb7 /home ext3 acl,user_xattr 1 2 /dev/sdb2 /usr ext3 defaults 0 0 /dev/sdb5 swap swap defaults 0 0 /dev/sda5 swap swap defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 none /proc/bus/usb usbfs devgid=1000,devmode=664 0 0
you can (or rather should..) omit "proc", "sysfs", "debugfs" "usbfs" .. or to be more specific, omit all entries that do not belong to your local or remote filesystems.. systemd setups them for you nowadays with the needed mount options/parameters and you should not override that unless you know exactly what you are doing. (read, you are a kernel developer or distribution maintainer)
I didn't add them, but this machine has been around for a while going back as far as at least 11.2 and has been zypper dupped since then, so I suspect from what I've read this week fixing things that a bunch of old stuff has been left behind. -- Collector of vintage computers http://www.ncf.ca/~ba600 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 27/09/13 04:25, Mike escribió:
On Friday, September 27, 2013 04:09:37 AM Cristian Rodríguez wrote:
El 27/09/13 03:24, Mike escribió:
I just finished a painful upgrade to 12.3 (zypper dup dropped me to emergency console) things now seem to be restored, but the system is mounting /dev/sda7 as /usr rather than what is in fstab I created a copy in this partition when the ext3 partitions were not being found, so it's still working, but it's not as big as I'd like.
Could my switching fstab to device rather than ID be the cause?
Yes, but did you run mkinitrd ? /usr is mounted in the initrd ..
yes I did because it failed during the update
I still get these errors when I rerun it.
modprobe: Module jbd not found. WARNING: no dependencies for kernel module 'jbd' found. modprobe: Module ext3 not found. WARNING: no dependencies for kernel module 'ext3' found.
Those are not errors, but warnings.. what do you have in /etc/sysconfig/kernel variable "MODULES_LOADED_ON_BOOT"? remove ext3 and jdb if found there. (ext3 is handled by the ext4 module which is built-in the kernel)
I didn't add them,
Yes, the installer did and will remove them if you upgrade with YAST but not with zypper dup. (having them in principle should not break anything though) -- "Judging by their response, the meanest thing you can do to people on the Internet is to give them really good software for free". - Anil Dash -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Friday, September 27, 2013 04:46:17 AM Cristian Rodríguez wrote:
El 27/09/13 04:25, Mike escribió:
On Friday, September 27, 2013 04:09:37 AM Cristian Rodríguez wrote:
El 27/09/13 03:24, Mike escribió:
I just finished a painful upgrade to 12.3 (zypper dup dropped me to emergency console) things now seem to be restored, but the system is mounting /dev/sda7 as /usr rather than what is in fstab I created a copy in this partition when the ext3 partitions were not being found, so it's still working, but it's not as big as I'd like.
Could my switching fstab to device rather than ID be the cause?
Yes, but did you run mkinitrd ? /usr is mounted in the initrd ..
Booted from the resuce CD mounted things the way I wanted them and then after a chroot reran mkinitird and now it seem sOK Also cleaned outthe extra entries in fstab and set it to use disk ID and took 600 seconds of the next boot. It still takes longer that I'd like, but now that I'm on the latest release it might be eaiser to fix them
Yes, the installer did and will remove them if you upgrade with YAST but not with zypper dup. (having them in principle should not break anything though)
Maybe I'll let YAST handle the next upgrade rather than zypper -- Collector of vintage computers http://www.ncf.ca/~ba600 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 27/09/13 08:09, Cristian Rodríguez wrote:
El 27/09/13 03:24, Mike escribió: [..]
fstab: /dev/disk/by-id/scsi-SATA_Hitachi_HDP7250_GEB530RE1T52EB-part6 / ext3 acl,user_xattr 1 1 /dev/sdb7 /home ext3 acl,user_xattr 1 2 /dev/sdb2 /usr ext3 defaults 0 0 /dev/sdb5 swap swap defaults 0 0 /dev/sda5 swap swap defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 none /proc/bus/usb usbfs devgid=1000,devmode=664 0 0
you can (or rather should..) omit "proc", "sysfs", "debugfs" "usbfs" .. or to be more specific, omit all entries that do not belong to your local or remote filesystems.. systemd setups them for you nowadays with the needed mount options/parameters and you should not override that unless you know exactly what you are doing. (read, you are a kernel developer or distribution maintainer)
Learning something new every day :-) My fstab also has an entry for /dev/pts. devpts /dev/pts devpts mode=0620,gid=5 0 0 Apparently, that is pseudo terminal slave, which I believe is needed for things like xterm and sshd. If I'm correct, I should presumably leave that line alone? Bob - -- Bob Williams System: Linux 3.7.10-1.16-desktop Distro: openSUSE 12.3 (x86_64) with KDE Development Platform: 4.10.5 "release 4" Uptime: 06:00am up 16 days 14:56, 3 users, load average: 0.16, 0.14, 0.18 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlJFTPYACgkQ0Sr7eZJrmU75XwCfbwSTAH8f0c8uKJIlRCktiBnS xDgAn3FNh9vP/0IpgJXb5kOj0hgTxOHV =2tuw -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 27/09/13 06:16, Bob Williams escribió:
Learning something new every day :-) My fstab also has an entry for /dev/pts.
devpts /dev/pts devpts mode=0620,gid=5 0 0
Apparently, that is pseudo terminal slave, which I believe is needed for things like xterm and sshd. If I'm correct, I should presumably leave that line alone?
devpts is also handled by systemd, does not need to be listed in fstab, as systemd itself requires many of these to work it mounts them very early at startup. -- "If debugging is the process of removing bugs, then programming must be the process of putting them in." - Edsger Dijkstra -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday, 2013-09-27 at 13:03 -0300, Cristian Rodríguez wrote:
devpts is also handled by systemd, does not need to be listed in fstab, as systemd itself requires many of these to work it mounts them very early at startup.
I have a recently installed 12.3, from scratch. It contains this in fstab: proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 Those entries are made by the yast installer. - -- Cheers, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlJF+cEACgkQtTMYHG2NR9X4YACePX4kzex1bqS8wytu9D7GOLHM D5cAnjJsu9HNFcBFSV6NiX4NID1mVgpV =bC3w -----END PGP SIGNATURE-----
On 2013-09-27 23:33 (GMT+0200) Carlos E. R. composed:
I have a recently installed 12.3, from scratch. It contains this in fstab:
proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0
All my 12.3 installations have those. None of my 13.1 installations have those. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 27/09/13 18:40, Felix Miata escribió:
All my 12.3 installations have those.
Yes, it is a leftover from the sysvinit era that went unnoticed until a few months ago.
None of my 13.1 installations have those.
Correct, this is one of the modernizations of the installer/upgrader in 13.1. -- "Judging by their response, the meanest thing you can do to people on the Internet is to give them really good software for free". - Anil Dash -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (5)
-
Bob Williams
-
Carlos E. R.
-
Cristian Rodríguez
-
Felix Miata
-
Mike