You are not logged in.

#1 2016-05-10 17:52:38

ratcheer
Member
Registered: 2011-10-09
Posts: 924

[Solved] HDD partition does not mount at bootup

My / and /home partitions are on an SSD, and my data partition is on an HDD. Since this morning's update to kernel 4.5.3-1, the HDD partition is no longer mounted after the system reboots. The UUID specificied in fstab is still the same as what is shown by the blkid command.

From my fstab:

# /dev/sda4
UUID=ca614f4a-6004-4421-be7c-a01a0854a6cf       /mydata         btrfs           rw,noatime,space_cache,noauto,x-systemd.automount     0 0

From blkid:

/dev/sda4: UUID="ca614f4a-6004-4421-be7c-a01a0854a6cf" UUID_SUB="85820588-d09e-4429-adbf-bf082c8e7585" TYPE="btrfs" PARTLABEL="mydata" PARTUUID="a846d6e0-1e13-481d-b121-8627f04d5fc0"

After the system is up, the filesystem can be mounted manually by either /dev/sda4 or by UUID:

# df -Th
Filesystem     Type      Size  Used Avail Use% Mounted on
dev            devtmpfs  3.9G     0  3.9G   0% /dev
run            tmpfs     3.9G  612K  3.9G   1% /run
/dev/sdb2      btrfs      32G  7.2G   24G  23% /
tmpfs          tmpfs     3.9G     0  3.9G   0% /dev/shm
tmpfs          tmpfs     3.9G     0  3.9G   0% /sys/fs/cgroup
tmpfs          tmpfs     3.9G  8.0K  3.9G   1% /tmp
/dev/sdb3      btrfs      16G  1.9G   14G  12% /home
tmpfs          tmpfs     798M  4.0K  798M   1% /run/user/1000
# mount -U "ca614f4a-6004-4421-be7c-a01a0854a6cf" /mydata
# df -Th
Filesystem     Type      Size  Used Avail Use% Mounted on
dev            devtmpfs  3.9G     0  3.9G   0% /dev
run            tmpfs     3.9G  612K  3.9G   1% /run
/dev/sdb2      btrfs      32G  7.2G   24G  23% /
tmpfs          tmpfs     3.9G     0  3.9G   0% /dev/shm
tmpfs          tmpfs     3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/sda4      btrfs      30G   17G   12G  60% /mydata
tmpfs          tmpfs     3.9G  8.0K  3.9G   1% /tmp
/dev/sdb3      btrfs      16G  1.9G   14G  12% /home
tmpfs          tmpfs     798M  4.0K  798M   1% /run/user/1000

I have examined journalctl -b, and I see no errors that seem to be related to this. Why isn't the filesystem mounted at boot? How can I fix it?

Tim

Last edited by ratcheer (2016-05-10 21:13:01)

Offline

#2 2016-05-10 20:16:10

branch
Member
Registered: 2014-03-16
Posts: 209

Re: [Solved] HDD partition does not mount at bootup

You have options "noauto,x-systemd.automount" in your fstab entry, so it should not be mounted automatically on boot. Does it automount if you cd to /mydata?

Offline

#3 2016-05-10 21:11:23

ratcheer
Member
Registered: 2011-10-09
Posts: 924

Re: [Solved] HDD partition does not mount at bootup

@branch - Ouch! I had forgotten about that. Yes, it mounts just fine that way, and that is obviously how it has been being mounted all along.

<egg on my face>

Tim

Offline

Board footer

Powered by FluxBB