Weblog entry #1 for sangeetha
#1
about partition
Posted by sangeetha on Mon 24 Jul 2006 at 08:28
How to resize the debian partitions? i tried with parted command.. but it's not working...
Comments on this Entry
Posted by Anonymous (213.164.xx.xx) on Mon 24 Jul 2006 at 11:32
parted resizes the partition, you then need to grow your filesystem to the new site.
post what you did here, along with error messages, and then we can help.
post what you did here, along with error messages, and then we can help.
[ Parent | Reply to this comment ]
As it happens, I yesterday posted an article about how to resize RAID1 partitions:) (but the article hasn't appeared yet). But, to resize a normal ext2/3 partition, this should do it:
# resize the partition using fdisk (or maybe parted, don't know about that)
fdisk /dev/XXX
#at the end, press 'w'.
#If fdisk reports that 'kernel will be using old partition table',
#then you'll need to reboot here
resize2fs /dev/XXX
#ready.
It's best to resize2fs while the fs is unmounted, but should be possible on an unmounted fs too.
[ Parent | Reply to this comment ]