[Nix-dev] USB disks with LVM on boot

Alex Brandt alunduil at alunduil.com
Tue Dec 29 20:53:07 CET 2015


Hey,

I'm trying to setup a three disk software RAID1 with LVM on USB drives.  I get 
everything working great and add the filesystems to my nix configuration.  
Upon reboot I get the following:

Dec 29 02:35:18 mycroft.alunduil.com systemd[1]: Job dev-disk-
by\x2duuid-8db66416\x2d4a8a\x2d4f89\x2db828\x2d55cb2b2ded50.device/start timed 
out.
Dec 29 02:35:18 mycroft.alunduil.com systemd[1]: Timed out waiting for device 
dev-disk-by\x2duuid-8db66416\x2d4a8a\x2d4f89\x2db828\x2d55cb2b2ded50.device.
Dec 29 02:35:18 mycroft.alunduil.com systemd[1]: Dependency failed for 
/var/db/postgresql.
Dec 29 02:35:18 mycroft.alunduil.com systemd[1]: Dependency failed for Local 
File Systems.
Dec 29 02:35:18 mycroft.alunduil.com systemd[1]: Triggering OnFailure= 
dependencies of local-fs.target.
Dec 29 02:35:18 mycroft.alunduil.com systemd[1]: Job dev-disk-
by\x2duuid-8ecf60d1\x2d8450\x2d46c7\x2db171\x2db7eb5c4b2ade.device/start timed 
out.
Dec 29 02:35:18 mycroft.alunduil.com systemd[1]: Timed out waiting for device 
dev-disk-by\x2duuid-8ecf60d1\x2d8450\x2d46c7\x2db171\x2db7eb5c4b2ade.device.
Dec 29 02:35:18 mycroft.alunduil.com systemd[1]: Dependency failed for 
/var/backups.
Dec 29 02:35:18 mycroft.alunduil.com systemd[1]: Dependency failed for 
/var/backups/laptops.
Dec 29 02:35:18 mycroft.alunduil.com systemd[1]: Job dev-disk-by\x2duuid-
add90682\x2dac74\x2d40cd\x2db541\x2d7d19bc579c77.device/start timed out.
Dec 29 02:35:18 mycroft.alunduil.com systemd[1]: Timed out waiting for device 
dev-disk-by\x2duuid-add90682\x2dac74\x2d40cd\x2db541\x2d7d19bc579c77.device.
Dec 29 02:35:18 mycroft.alunduil.com systemd[1]: Starting Create Volatile 
Files and Directories...

Which simply triggers a shutdown of systemd.  I'm guessing that it's either 
LVM not activating the volume group or that the disks don't come up when they 
need to.  Is there anyway to resolve these issues by upping a timeout or 
forcing LVM to enable the volumes?  If not my only strategy will be to go with 
physical partitions (not a big deal but am very curiuos about this use).

Regards,

-- 
Alex Brandt
Software Developer for Rackspace and Developer for Gentoo
http://blog.alunduil.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20151229/18793c22/attachment.bin 


More information about the nix-dev mailing list