[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Convert individual Raid1 drive to standard Ext3 drive howto?



Hi,
In addition to my system drive /dev/hda (with all my standard 
partitions /,  /home. swap ... ), I have a raid1 device. 

The raid is   2 - 250GB drives, with partitions /dev/hdb1 and /dev/hdc1 
respectively (each the whole drive) each partitioned as linux fd (raid) type, 
and configured as part of /dev/md0 as raid1. 

I had formated /dev/md0 as ext3 and I have 250 gb of data stored on the raid.

Now I no longer need the data storage redundancy on that machine and would 
like to treat the individual hard drives /dev/hdb1 and /dev/hdc1 as 2 copies 
of the same data and move them separately to different machines. 

Is there some way to convert from "ext3 file system set on top of a 
degraded /dev/md0 device" to 2 separate devices 
" ext3 file system on /dev/hdb1" and "ext3 file system on /dev/hdc1", without 
copying to another drive...

I hope my question is clear...

Here is a circumstance that this might come up.  I have 1 system and 4 data 
hard drives on a workstation. 

I like storing actively collected data on mirrored drives, while older data 
does not need mirroring.

Thus initially I would like /dev/hdb1 and /dev/hdc1 to be mirrored 
until /dev/hdb1 is filled up, then I would like to think of /dev/hdb1 as a 
standard ext3 file sysem and let /dev/hdc1 and /dev/hdd1 mirror each other, 
then when that fills, use /dev/hdb1, and /dev/hdc1 as ext3 while /dev/hdd1 
and  /dev/hde1 be mirrors.

I suppose I could let /dev/hdb1, and /dev/hdc1 persist as "degraded 
raids /dev/md0 and /dev/md1, but that seems to be a overhead that wouldn't be 
nice to carry around.

Thanks for your help!
Mitchell



Reply to: