From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: [PATCH} Add RAID devices. Date: Mon, 25 Jul 2016 23:17:20 +0200 Message-ID: <20160725211720.GA22780@solar> References: <20160714131306.GA11566@solar> <20160723140701.GB6873@solar> <87bn1n4mld.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRnFh-0000BZ-Hw for guix-devel@gnu.org; Mon, 25 Jul 2016 17:17:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bRnFd-00058w-9e for guix-devel@gnu.org; Mon, 25 Jul 2016 17:17:28 -0400 Received: from mailrelay6.public.one.com ([91.198.169.200]:31488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRnFc-00058R-PB for guix-devel@gnu.org; Mon, 25 Jul 2016 17:17:25 -0400 Content-Disposition: inline In-Reply-To: <87bn1n4mld.fsf@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Chris Marusich Cc: guix-devel@gnu.org, myglc2 Hello! On Sat, Jul 23, 2016 at 10:43:58PM -0700, Chris Marusich wrote: > Cool! Is it possible to use them in combination? Using the example > From the documentation, would it possible to use LUKS to create an > encrypted /dev/mapper/home which uses /dev/md0 instead of /dev/sda3? unfortunately not. This is an area where some work should be invested. It would require to do things properly in order also. LVM support also comes to mind. I think these devices can be staged in an arbitrarily complex way, no? Encrypting a RAID device, or creating a RAID device from encrypted partitions, for instance (of which the former sounds more reasonable to me). > I understand that in Linux, the device file names (e.g., /dev/sda3) can > sometimes change unexpectedly. If they change later on, will anything > bad happen? Yes, the RAID could not be assembled, and then the machine could not boot up. But I have never experienced this kind of problem for hard disks. > Does the code in this gexp get invoked every time the system starts up? > Why is a loop better here than an error? Yes. An error is too harsh: When I tried things out, my RAID assembling was (tried to be) carried out before the hard disks were visible, so this failed. Waiting a little solved the problem. Andreas