Re: Preserving encrypted disks

2016-09-20 Diskussionsfäden Andrew Ruthven
On Wed, 2016-09-21 at 03:49 +, Paul Schulz wrote: > (How is the Isle of the Long White Cloud?) It's fantastic!  ;)  (We actually use the Land of the Long White Cloud - there's a few islands that make up NZ.) > Are the encrypted disks separate? (ed. sdc,sdd?) > If so, you could run it in a

Preserving encrypted disks

2016-09-20 Diskussionsfäden Andrew Ruthven
Hey, I'm happily creating encrypted file systems now, which is great, but I'd like to look forward to having to rebuild the system. The encrypted file systems are for data storage only. Ideally if we rebuild the server, the data storage disks would be left alone. I've run into three problems

Re: FAI with RAID+CRYPT+LVM

2016-09-20 Diskussionsfäden Thomas Lange
> On Tue, 20 Sep 2016 23:51:47 +, Paul Schulz > said: > How's this? It's now applied. Thanks for your patch. -- regards Thomas

Re: FAI with RAID+CRYPT+LVM

2016-09-20 Diskussionsfäden Paul Schulz
How's this? On Tue, 20 Sep 2016 at 21:29 Thomas Lange wrote: > > On Tue, 20 Sep 2016 11:36:41 +, Paul Schulz < > p...@mawsonlakes.org> said: > > > Can this be put into the documentation somewhere? > Do you have a patch for this? > -- > regards Thomas

Re: FAI with RAID+CRYPT+LVM

2016-09-20 Diskussionsfäden Andrew Ruthven
Also, as I've just managed to work, to have LUKS encrypt an LVM LV you need to specify the path to the LV, for example: disk_config cryptsetup luks   /srv/node/obj01  /dev/vgobj01/lvobj01  xfs  rw  createopts="-L obj01" That took a bit of head bashing to work out, initially I was trying

Re: FAI with RAID+CRYPT+LVM

2016-09-20 Diskussionsfäden Thomas Lange
> On Tue, 20 Sep 2016 11:36:41 +, Paul Schulz > said: > Can this be put into the documentation somewhere? Do you have a patch for this? -- regards Thomas

Re: Dracut, stop on first configured interface?

2016-09-20 Diskussionsfäden Andrew Ruthven
On Tue, 2016-09-20 at 20:07 +1200, Andrew Ruthven wrote: > On Tue, 2016-09-20 at 09:58 +0200, Thomas Lange wrote: > > IIRC if you specify a NIC on the kernel cmdline, it only probes > > this > > interface. For more info read dracut.cmdline(7). > > Yes, but then sometimes it isn't always eth0, and

Re: Dracut, stop on first configured interface?

2016-09-20 Diskussionsfäden Andrew Ruthven
On Tue, 2016-09-20 at 09:58 +0200, Thomas Lange wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > On Tue, 20 Sep 2016 15:12:30 +1200, Andrew Ruthven > > > > > etc.gen.nz> said: > > > Is it possible to have Dracut stop on the first interface that > receives > > a

Re: Dracut, stop on first configured interface?

2016-09-20 Diskussionsfäden Thomas Lange
> On Tue, 20 Sep 2016 15:12:30 +1200, Andrew Ruthven > said: > Is it possible to have Dracut stop on the first interface that receives > a DHCP configuration? IIRC if you specify a NIC on the kernel cmdline, it only probes this interface. For more info read