Re: RAID 0 -> 1 possible?

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

 



Jeff Hoffmann wrote:

> > | Convert / from RAID 0 to 1 without requiring a backup/reinstall/restore
> > | scenario

> Indeed.  In my case, the data actually on the partition is < 25%. 

Well, in that case you just might be able to do it. You'll need to
shrink your filesystem (if you have one) ala resize2fs or similar. Then
raidreconf the raid0. Then edit the partition table (there are tools to
help with this, or just use fdisk very carefully) to shrink the
partition. Then you can create a new partition and dump the data there.
Create another similarly sized partition and raid1 them together...

It's certainly possible...but it's starting to sound like a
backup/restore might be easier than all that (you probably want to
backup before doing these types of things anyway, if you care about the
data).

--
Paul
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux