Re: [Nix-dev] USB disks with LVM on boot

2016-01-03 Thread Alex Brandt
On Saturday, January 02, 2016 03:26:29 Joachim Schiele wrote:
> you need this:
>   boot.initrd.kernelModules = [ "usb_storage" ];
> 
> to make initrd look into usb!

I knew I was missing something small.  I'll give that a try.

Thanks!

-- 
Alex Brandt
Software Developer for Rackspace and Developer for Gentoo
http://blog.alunduil.com


signature.asc
Description: This is a digitally signed message part.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] USB disks with LVM on boot

2015-12-29 Thread Alex Brandt
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


signature.asc
Description: This is a digitally signed message part.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Remote Installation

2015-11-06 Thread Alex Brandt
On Friday, November 06, 2015 15:51:46 Roger Qiu wrote:
> Try using Packer. You can take the liveCD ISO, and repack it as an image
> with SSH enabled on boot.

So there is no way to do it without rolling my own livecd like I asked about?

Thanks,

-- 
Alex Brandt
Software Developer for Rackspace and Developer for Gentoo
http://blog.alunduil.com


signature.asc
Description: This is a digitally signed message part.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Remote Installation

2015-11-06 Thread Alex Brandt
On Friday, November 06, 2015 19:26:39 Thomas Strobel wrote:
> I guess you won't get around building your own ISO. Maybe have a look at
> 'nixos/modules/installer/cd-dvd/installation-cd-minimal.nix', and at how
> it is used. It could be a starting point for creating your own image.
> The source code is your friend, and not Google, I'm afraid. ;)

I was afraid that might be the case but am glad I asked.  Thanks for the 
information, I'll look into making a custom ISO and see how that goes.

Thanks,

-- 
Alex Brandt
Software Developer for Rackspace and Developer for Gentoo
http://blog.alunduil.com


signature.asc
Description: This is a digitally signed message part.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] Remote Installation

2015-11-05 Thread Alex Brandt
Hey,

I know this isn't something that one normally does but how can I ensure that 
SSH is enabled and accessible from a live environment to perform a remote 
installation without rolling my own livecd?  Are these instructions published 
anywhere and I simply couldn't google well enough?

Thanks,

-- 
Alex Brandt
Software Developer for Rackspace and Developer for Gentoo
http://blog.alunduil.com


signature.asc
Description: This is a digitally signed message part.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev