2008/5/19 sunhux G <sunhux@xxxxxxxxx>: > Hi, > > > I've accidentally issued "mkfs -t ext3 /dev/mapper/mpath0". > > How can I convert it back to raw partition? > > Kindly give me the exact command (I heard it's "mkfs . . .") > > > Thanks > U You don't convert it back, you simply use it as a raw device, but know that part of the raw device will be corrupt as you have overwitten certain blocks with the filesystem's superblocks. To use a partition as a raw device, - add it to /etc/sysconfig/rawdevices e.g., by adding the line /dev/raw/raw1 /dev/mapper/mpath0 - and restart the rawdevices service: service rawdevices restart Kind regards, Herta -- "Life on Earth may be expensive, but it comes with a free ride around the Sun." -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list