Making /dev/md2 RAID smaller to create another partition for OpenVZ
I have two hard drives ( sda and sdb ) which are used to create
md0,md1 and md2. I want to resize md2, sda3 and sdb3 to create another
set of partition for md3 on which I would like to setup OpenVZ.
I already resized md2 using fallowing tutorial:
root@rescue ~ # parted
GNU Parted 1.8.8
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print devices
According to another tutorial:
I have turned off journaling for both sda3 and sdb3 but now I can't
proceed any further since it tells me that device is busy...
root@rescue ~ # e2fsck -f /dev/sda3
e2fsck 1.41.3 (12-Oct-2008)
e2fsck: Device or resource busy while trying to open /dev/sda3
Filesystem mounted or opened exclusively by another program?
Partition number? 3
End? [750GB]? 6522MB
Error: File system has an incompatible feature enabled. Compatible features are
has_journal, dir_index, filetype, sparse_super and large_file. Use tune2fs or
debugfs to remove features.
I'm doing this all from LiveCD so filesystem shouldnt be busy. What
should I do now? :|