Fixing disk partitions in preparation for upgrade

Waleed Harbi waleed.harbi at gmail.com
Tue Apr 18 05:17:51 UTC 2006


i suggest use systemrescue CD you will find Parted &QtParted this is some
information from the site below:

GNU-Parted-1.6.23 Parted it is the best linux partition tool. It's a
reliable text based partition editor for Linux.  QtParted and PartGui This
is the most interesting feature of this CDRom. You can use these two
graphical partition tools without XFree86 (they work with QtEmbedded). They
can be considered as the best free PartitionMagic clones for Linux. They
allow you to see a chart of your hard disk, create, format, delete, and
modify partitions. You must start with the Frame Buffer in order for these
utilities to work well. PartGui is not developed anymore, then QtParted is
the best choice.
http://www.sysresccd.org/System-tools <http://www.sysresccd.org>

On 4/17/06, Kayvan A. Sylvan <kayvan at sylvan.com> wrote:
>
> Hi everyone,
>
> Over the weekend, I tried to upgrade my Redhat FC4 system to FC5 with
> the Redhat FC5 DVD.
>
> All went well, until the installer tried to copy the disk image
> to the local disk and ran out of space.
>
> Apparently, my / partition is too small and could not accomodate
> the installer files. Here's what my partitions look like:
>
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/md0                209922     30473    168611  16% /boot
> /dev/md1               1019144    800028    166508  83% /
> /dev/md2              10153912   7896628   1733172  83% /usr
> /dev/md3              10153912   2173160   7456640  23% /var
> /dev/md4              91013072   7674312  78640960   9% /home
>
> So, I need to resize some partitions. I tried to use "parted" to resize
> and
> move some partitions around, but it looks like that won't work. The
> parted error message is "Filesystem has incompatible features enabled"
>
> Redhat Bugzilla bug 90894 seems to imply that this is a parted problem,
> having to do with SELinux and the ext_attr flag in the ext3 filesystems.
>
> So, using "parted" to resize/move partitions is now out of the question
> (till the bug gets fixed) and I don't want to remove the ext_attr
> information from my filesystems. So, I would like some advice on how to
> best proceed.
>
> 1) If I use dump/restore to dump and restore the filesystem, will all
>    the attributes be restored (i.e. the SELinux/ext_attr/ACL information)?
>
> 2) Can I simply break the RAID1 array, repartition the first disk from
>    scratch and copy all the information back from the second disk (using
>    "cp" or some other utility that will preserve the ext_attr flags)?
>    What would be the best procedure to do this?
>
> Ultimately, my goal would be to combine the / and /usr filesystems and
> to grow the resulting filesystem by 20GB (borrowing from /home).
>
> --
> Kayvan A. Sylvan          | Proud husband of       | Father to my kids:
> Sylvan Associates, Inc.   | Laura Isabella Sylvan, | Katherine Yelena
> (8/8/89)
> http://sylvan.com/~kayvan | my beautiful Queen.    | Robin Gregory
> (2/28/92)
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



--
-------------------------------
Best Regards
Waleed Harbi
Saudi Arabia



More information about the redhat-list mailing list