Increase my HDD size
Hi Every one I'm new to this forum and new to Linux as well
My requirement We have a linux File server which was connected to SAN (IBM DS4700)now I need to increase my capacity by 50GB I've added the 50GB through the IBM storage manager to the File server, but it doesn't showing on my linux file server bellow the detail of my drives /dev/mapper/mpath0p6 1.6G 287M 1.2G 20% / /dev/mapper/mpath0p7 837M 240M 554M 31% /var /dev/mapper/mpath0p3 4.1G 2.5G 1.4G 65% /usr /dev/mapper/mpath0p2 5.1G 1.7G 3.2G 36% /home /dev/mapper/mpath0p1 200M 24M 166M 13% /boot tmpfs 2.1G 0 2.1G 0% /dev/shm /dev/mapper/mpath0p8 356G 303G 36G 90% /filesrv I need to add the 50GB on to the "mpath0p8" can some one help me on this please |
Easiest/safest would be to reboot, then extend the /dev/mapper/mpath0p8 filesystem with "resize2fs /dev/mapper/mpath0p8" assuming you are using ext2/3/4. Also assuming mpath0p8 is at the end of the disk.
If you can't reboot, run "multipath -l" to find which sdX devices make up mpath0, then run Code:
echo 1 > /sys/block/sdX/device/rescan |
Thanks a lot
|
All times are GMT -5. The time now is 08:40 PM. |