I cannot get fstab to mount my /home partition which resides on a secondary disk. I just upgraded my system where I have had no issues previously.
I can manually mount the partition without errors. I have no idea what to do - not sure if this is a bug or not?
Code:
$ sudo blkid
/dev/sda1: UUID="200203f1-393d-498e-96c0-e00d790a3de3" TYPE="ext4"
/dev/sda5: UUID="a70ce3ae-bb4f-4722-b661-b40c5451f0d7" TYPE="swap"
/dev/sdb1: UUID="cf1fa66c-1d75-4d41-8f4e-3e9864f21e61" TYPE="xfs"
/etc/fstab (with comments)
Code:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=200203f1-393d-498e-96c0-e00d790a3de3 / ext4 errors=remount-ro 0 1
# mount order? try to mount /dev/sdb1 as /home before swap -- no joy
#/dev/sdb1 /home xfs nodev,nosuid 0 2
# swap was on /dev/sda5 during installation
UUID=a70ce3ae-bb4f-4722-b661-b40c5451f0d7 none swap sw 0 0
# mount /dev/sdb1 as /home
# try using UUID or /dev/sdb1 -- no joy
UUID=cf1fa66c-1d75-4d41-8f4e-3e9864f21e61 /home xfs nodev,nosuid 0 2
#/dev/sdb1 /home xfs nodev,nosuid 0 2
On boot:
Code:
Serious errors were found wile checking the disk drive for /home.
Press I to ignore, S to skip mounting, or M for manual recovery
[M]
# mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
# ls -l /home
# mount -a
# ls -l /home
drwxr-xr-x 29 monica monica 4096 Nov 25 13:53 monica
[Ctrl-D]
system continues normally to login window
This was not a problem before my upgrade, and isnt a problem after manually mounting /home from recovery -- fstab just doesnt want to behave. Anyone have any suggestions, please?
Thanks
Bookmarks