Re: mkfs and mdadm support


Chronological Thread 
  • From: snacktime <snacktime@gmail.com>
  • To: chef@lists.opscode.com
  • Subject: Re: mkfs and mdadm support
  • Date: Tue, 9 Jun 2009 10:18:29 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=I2vNdRt4NkQhcIY94kiZzFYLCFw2ya0nrRdrwQcFuxbWmbRmN4m0NHcKzZt6lAkzC1 69yTjtLldcQ8HWD9ZPq8jmYslfL/x/fU9LGfWgZZ6ZJrnwKNpcJeUms297FiKXbM4HR+ gMf7BMryMBJNmHKGD7nZpWi2HPjxuAx6YtWsc=

That's kind of the conclusion I came to last night after thinking it over some more.  I've forked chef and started last night on the filesystem and raid resources.  Should be easy enough to re arrange if needed.

Would be nice if there was an available tool for detecting filesystem types.  Best I've found so far is parsing the output of parted.  Anyone know of a better way to handle this? 

Chris

On Tue, Jun 9, 2009 at 9:11 AM, Miguel Cabeça <cabeca@ist.utl.pt> wrote:
Hi,


So maybe there should be a top level filesystem resource that contain all of this.  Even after you add resources for mkfs, lvm, raid, etc.., you still need higher level logic to tie it all together, maybe a collection of definitions?

IMHO it would be too complicated to try to fit everything into the filesystem resource.

It would be simpler (famous last words) to have three resources like:
 filesystem
 raid
 volume

and combine them with definitions to achieve the complete goal (for example a xfs filesystem on top of an lvm2 volume, on top of a raid1 array)

Best Regards

Miguel Cabeça




Archive powered by MHonArc 2.6.16.

§