[systemd-devel] fsck, /home, btrfs, multiple partitions/drives, boot failure [Ubuntu 15.04]

Andrei Borzenkov arvidjaar at gmail.com
Wed May 27 22:27:30 PDT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

В Wed, 27 May 2015 14:03:10 -0700
Roger Binns <rogerb at rogerbinns.com> пишет:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> My immediate problem is a boot failure with systemd on Ubuntu 15.04
> because of fsck issues (systemd timing out fscking something it
> shouldn't).  Prior Ubuntu releases and upstart work just fine.  Martin
> Pitt @ Ubuntu said I should bring the issue here in the Ubuntu bug report:
> 
>   https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1447879
> 
> I have 6 drives in my system.  Two identical 960GB SSDs (model,
> firmware etc all the same, only serial number difference), another two
> identical 256GB SSDs (same story), and two spinning drives.
> 
> Of note is that my root and /home are both btrfs subvolumes of a RAID0
> btrfs using the two first SSDs.  /etc/fstab has these two lines for
> them (wrapped by email client):
> 
> UUID=3ff68715-0daa-4e44-8de2-0997f36d8ab6 / btrfs
> defaults,autodefrag,compress=lzo,subvol=@ 0 1
> 
> UUID=3ff68715-0daa-4e44-8de2-0997f36d8ab6 /home btrfs
> defaults,autodefrag,compress=lzo,subvol=@home 0 2
> 
> blkid output mentioning that UUID:
> 
> /dev/sda1: LABEL="main" UUID="3ff68715-0daa-4e44-8de2-0997f36d8ab6"
> UUID_SUB="12243c27-9502-4a1e-b1d1-d1998107b9e4" TYPE="btrfs"
> PARTUUID="011a8e03-01"
> 
> /dev/sdb1: LABEL="main" UUID="3ff68715-0daa-4e44-8de2-0997f36d8ab6"
> UUID_SUB="abda2c4f-3346-44e5-b32e-7c1bba0ba728" TYPE="btrfs"
> PARTUUID="1537012a-01"
> 

Apr 24 14:18:41 workstation systemd[1]: Job dev-disk-by\x2duuid-3ff68715\x2d0daa\x2d4e44\x2d8de2\x2d0997f36d8ab6.device/start timed out.

systemd times out waiting for UUID alias. Neither sda1 nor sdb1 are
present in list of active device units. Please show "udevadm info -q
all -n sda1" and "udevadm info -q all -n sdb1" after boot.


> What happens is that / is mounted successfully, as are all the other
> filesystems that aren't /home or mounted below /home.
>

If your initrd does not properly enters information in udev database,
this would explain the problem. 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlVmp0IACgkQR6LMutpd94zQdgCeI0gZeEHLvobg0+BNCYO8BKzp
nOAAn0W2E4aZC8qrzxeyEHERfYSVKqHR
=4XiK
-----END PGP SIGNATURE-----


More information about the systemd-devel mailing list