Linux RAID subsystem development
 help / color / mirror / Atom feed
* Guidance on how to best assemble new root drive?
@ 2011-01-01 19:47 Mark Knecht
  2011-01-01 20:27 ` John Robinson
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Knecht @ 2011-01-01 19:47 UTC (permalink / raw)
  To: Linux-RAID

Hi,
   First off - everything is working. I'm just looking for guidance on
the best way to assemble a RAID that was created in a previous
installation. Note that this is a home server, not a commercial
machine, so my needs are likely very simple compared to others.

   My home server is named 'c2stable'. It currently uses a RAID1 that
is SuperBlock Ver. 0.9. I wanted to convert the machine to a 5-drive
SuperBlock Ver. 1.2 RAID6 which I have already created while running
c2stable. mdadm --detailssays the name is c2stable:3 . This drive
mounts as /dev/md3 and uses /dev/sd{a,b,c,d,e}3 .

   I installed Gentoo on /dev/md3 inside of a chroot, set that
machine's name to 'c2RAID6', created a kernel to boot and made an
initramfs file following the Gentoo docs. (Such as they were. Quite
sketchy for RAID and my also first initramfs.) I set the thing up to
boot and promptly got stuck because mdadm wouldn't assemble /dev/md3
for me.

   Using busybox and a bit of playing around I found I could assemble
md3 by hand using:

mdadm --assemble --name=c2stable:3 /dev/md3

I put that in my init file and the machine booted first time. Hooray!

   I'm now wondering if this is really the best way to do this
assembly. It would seem that my c2RAID6 file system will then always
carry the old c2stable name which is a bit strange. (To me...)

   Is there a way to rename the array in the SuperBlock? Should I
bother? I may go back and forth between these two Gentoo installations
for a while and want the RAID to be available in both, at least until
I delete the old RAID1 system to recapture the disk space.

   Any and all guidance welcomed.

Cheers,
Mark

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-01-02  1:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-01 19:47 Guidance on how to best assemble new root drive? Mark Knecht
2011-01-01 20:27 ` John Robinson
2011-01-02  1:24   ` Mark Knecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox