[dm-devel] How to Resize Partition

Scott Moseman scmoseman at gmail.com
Tue Feb 12 15:30:38 UTC 2008


This is the original size of my partition, 50GB...

# df -h | grep mpath
/dev/mapper/mpath0p1   50G  2.1G   45G   5% /san

I increased it to 60GB and am trying to resize.  Through my
troubleshooting and various attempts, I've increased /dev/sdb1 (NIC),
/dev/sdc1 (HBA) and /dev/mapper/mpath0p1 (MPIO).

Disk /dev/sdb: 64.4 GB, 64424509440 bytes
/dev/sdb1               1       61440    62914544   83  Linux

Disk /dev/sdc: 64.4 GB, 64424509440 bytes
/dev/sdc1               1       61440    62914544   83  Linux

Disk /dev/mapper/mpath0: 64.4 GB, 64424509440 bytes
/dev/mapper/mpath0p1               1       61440    62914544   83  Linux

I unmount/mount, reboot, etc and the mounted partition keeps showing
up as 50GB.  How do I get my additional 10GB?  This is on a CentOS 4.5
server.

Thanks,
Scott




More information about the dm-devel mailing list