[lug] RAID 5 to RAID 1

Paul Nowosielski Paul at danamusic.com
Mon Jun 23 13:50:17 MDT 2003

The raid 5 array was setup with 3 80gig drives.
I wanted 2 mirrored and 1 stripping drive but set up raid 5 thinking
this was what I wanted. 
There is only about 5 gigs used for the whole FS.

This server is been in ~test~ production. I have  qmail, tinyDNS imapd,
vpop,tripwire, etc etc installed and working perfectly/ well tested.

So I really don't want to loose the great install setup I have.
But, I don't want to run drives that are not mirrored either..

So I'm tarring it all now, I think after un-tarring to a new and
identical server I should be able to adjust /etc/raid tab for the
changes and reboot.

Does this sound logical??



On Mon, 2003-06-23 at 17:41, Bill Jorgensen wrote:
> On 23 Jun 2003, Paul Nowosielski wrote:
> > I have a server running RAID level 5. 
> > I need the 3rd hard drive...
> > Is there a way to keep all the data and switch it to RAID level 1 ??
> I am personally not aware of another way than what I have below, but I
> am by no means an expert...
> How much disk do you have? For the fs's affected run du on the fs's.
> That will give you disk usage (without parity). Make a temp fs that
> will house the data. Run,
> tar cvf - ./fs's_to_tar | ( cd <new_mount> ; tar xvf - )
> If all is well unmount the original fs's, mount the fs that is RAID ?
> and you are done. If you do not have the disk I hope you have tape...
> Good luck,
> Bill

More information about the LUG mailing list