RAID Munging Question
Kent Borg
kentborg at borg.org
Tue Apr 9 09:02:50 EDT 2002
So I did my RAID 0->1 conversion last night and I think it worked.
My recipe turned out to be a little off: I needed an extra step (4.9)
"# raidstop /dev/md5"; step 5 needed an extra flag "# mkraid -f
/dev/md5" to force deletion of previous undesired volume; step 8,
"# mount /home" didn't work because I no longer had a "/home" label on
that volume so I did "# mount /dev/md5 /home" and added step 15
"tune2fs -L /home /dev/md5" so my fstab will work on reboot; and
finally, I wanted to go to bed so I didn't wait for the resync to
happen (mkraid itself finished very quickly) and instead did
"# telinit 3".
It seemed to work. <whew>
Thanks for the help,
-kb, the Kent whose /home partition should now be twice as reliable as
normal as opposed to yesterday's condition of being half as reliable
as normal.
On Fri, Apr 05, 2002 at 12:26:23PM -0500, Kent Borg wrote:
> On Fri, Apr 05, 2002 at 12:19:07PM -0500, I wrote:
> > Here is my current best guess:
> >
> > 1. Reboot single user (so little will being going on)
> >
> > 2. Tar up /home and park it in another partition--luckily I do have
> > the room,
> >
> > 3. Edit /etc/raidtab so /dev/md5 line that currently reads
> > "raid-level 0" will read "raid-level 1",
> >
> > 4. "# unmount /home"
> >
> > 5. "# mkraid /dev/md5",
> >
> > 6. "# mkfs /dev/md5",
> >
> > 7. Wait for mkfs to finish,
> >
> > 8. "# mount /dev/md5 /home",
> >
> > 9. See if df sees right size disk,
> >
> > 10. Disconnect internet connection (don't want any new e-mail yet),
>
> Think I should add:
>
> 10-1/2. Wait for mkraid's mirroring to finish
>
> > 11. Reboot regularly, things working?,
> >
> > 12. Plug in internet connection.
>
>
> -kb
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://www.blu.org/mailman/listinfo/discuss
More information about the Discuss
mailing list