Bug#856590: systemd: Unspecified problems mounting /usr partition

Joel Cross joel at kazbak.co.uk
Fri Apr 21 03:38:27 BST 2017


On Wed, 12 Apr 2017, at 02:28 PM, Michael Biebl wrote:
> Am 12.04.2017 um 22:11 schrieb Joel Cross:
> > Mar 29 21:25:09 abijah systemd[1]: dev-disk-by\x2duuid-F0C4F042C4F00C9A.device: Job dev-disk-by\x2duuid-F0C4F042C4F00C9A.device/start failed with result 'timeout'.
> > Mar 29 21:25:09 abijah systemd[1]: dev-disk-by\x2duuid-0797ee37\x2dd1b9\x2d49ea\x2da865\x2dc73682cd96a7.device: Job dev-disk-by\x2duuid-0797ee37\x2dd1b9\x2d49ea\x2da865\x2dc73682cd96a7.device/start timed out.
> > Mar 29 21:25:09 abijah systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-0797ee37\x2dd1b9\x2d49ea\x2da865\x2dc73682cd96a7.device.
> > Mar 29 21:25:09 abijah systemd[1]: Dependency failed for /dev/disk/by-uuid/0797ee37-d1b9-49ea-a865-c73682cd96a7.
> > Mar 29 21:25:09 abijah systemd[1]: dev-disk-by\x2duuid-0797ee37\x2dd1b9\x2d49ea\x2da865\x2dc73682cd96a7.swap: Job dev-disk-by\x2duuid-0797ee37\x2dd1b9\x2d49ea\x2da865\x2dc73682cd96a7.swap/start failed with result 'dependency'.
> > Mar 29 21:25:09 abijah systemd[1]: dev-disk-by\x2duuid-0797ee37\x2dd1b9\x2d49ea\x2da865\x2dc73682cd96a7.device: Job dev-disk-by\x2duuid-0797ee37\x2dd1b9\x2d49ea\x2da865\x2dc73682cd96a7.device/start failed with result 'timeout'.
> > Mar 29 21:25:09 abijah systemd[1]: dev-disk-by\x2duuid-868996eb\x2d2b9d\x2d42eb\x2d9bcc\x2d2b23b89dc11b.device: Job dev-disk-by\x2duuid-868996eb\x2d2b9d\x2d42eb\x2d9bcc\x2d2b23b89dc11b.device/start timed out.
> > Mar 29 21:25:09 abijah systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-868996eb\x2d2b9d\x2d42eb\x2d9bcc\x2d2b23b89dc11b.device.
> > Mar 29 21:25:09 abijah systemd[1]: Dependency failed for /home.
> > Mar 29 21:25:09 abijah systemd[1]: Dependency failed for Local File Systems.
> > Mar 29 21:25:09 abijah systemd[1]: local-fs.target: Job local-fs.target/start failed with result 'dependency'.
> > Mar 29 21:25:09 abijah systemd[1]: local-fs.target: Triggering OnFailure= dependencies.
> > Mar 29 21:25:09 abijah systemd[1]: home.mount: Job home.mount/start failed with result 'dependency'.
> > Mar 29 21:25:09 abijah systemd[1]: dev-disk-by\x2duuid-868996eb\x2d2b9d\x2d42eb\x2d9bcc\x2d2b23b89dc11b.device: Job dev-disk-by\x2duuid-868996eb\x2d2b9d\x2d42eb\x2d9bcc\x2d2b23b89dc11b.device/start failed with result
> 
> Your problem doesn't look like it's related to /usr, but /home and swap,
> as configured in /etc/fstab, failing.
> 
> Can you please verify that that you have in /etc/fstab actually matches
> your current configuration.

Hi,

I'm pretty sure the failure actually occurs with all three partitions,
but it is more severe with /usr because I cannot use the 'nofail' option
to ignore the failure.

Here's the relevant part of my /etc/fstab:
UUID=1ac3a9b3-2ced-4e6c-9378-f8c94ac2983e       /usr    ext4   
rw,errors=remount-ro,commit=600 0       1
# /dev/sda7
UUID=868996eb-2b9d-42eb-9bcc-2b23b89dc11b       /home   ext4   
rw,errors=remount-ro    0       0
# /dev/sdb4
UUID=0797ee37-d1b9-49ea-a865-c73682cd96a7       swap    swap   
sw,nofail       0       0

Here's the output of `lsblk -o NAME,UUID,LABEL`:
NAME   UUID                                 LABEL
sda                                         
├─sda1 7876BEE376BEA174                     SYSTEM
├─sda2                                      
├─sda3 F2DAFCDFDAFCA151                     Recovery
├─sda4 C281-C9E0                            HP_TOOLS
├─sda5 F0C4F042C4F00C9A                     
├─sda6 033d10f2-5402-4632-bed0-5e24842cf1b7 
├─sda7 868996eb-2b9d-42eb-9bcc-2b23b89dc11b HOME
└─sda8 84f3e7a4-c3af-4ac1-a789-cc554395a50b 
sdb                                         
├─sdb1 06ad2c23-eac6-4a49-9623-79d9e4a02bbe Boot
├─sdb2 1ac3a9b3-2ced-4e6c-9378-f8c94ac2983e User
├─sdb3 13dc09db-ec38-480a-ac28-fd0ed1a952f8 
└─sdb4 0797ee37-d1b9-49ea-a865-c73682cd96a7 Swap

And here's the relevant parts of the output of 'mount' after booting the
system (pressing ctrl-d after the timeout) - notice that /usr and /home
are mounted correctly:
/dev/sdb2 on /usr type ext4
(rw,relatime,errors=remount-ro,commit=600,data=ordered)
/dev/sda7 on /home type ext4
(rw,relatime,errors=remount-ro,data=ordered)

And the output of `swapon -v:
NAME      TYPE      SIZE USED PRIO
/dev/sdb4 partition 9.3G   0B   -1

-Joel




More information about the Pkg-systemd-maintainers mailing list