Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-10-2011, 03:17 PM   #1
LQ Newbie
Registered: May 2011
Posts: 2

Rep: Reputation: 0
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

Last edited by wickyk; 05-10-2011 at 03:41 PM.
Old 05-10-2011, 03:43 PM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613
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
echo 1 > /sys/block/sdX/device/rescan
for each member of mpath0. That 'should' make the Linux kernel redetect the disk parameters. Then you should be able to resize2fs mpath0p8.
1 members found this post helpful.
Old 05-12-2011, 04:49 PM   #3
LQ Newbie
Registered: May 2011
Posts: 2

Original Poster
Rep: Reputation: 0

Thanks a lot


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to increase the size of the / partition? abefroman Linux - Server 5 12-15-2009 03:05 PM
Increase / partition size Uday123 Linux - Software 1 09-30-2009 01:58 AM
How to increase message size? Md.Abul Quashem Linux - Server 2 06-01-2009 11:43 PM
increase font size? MsDoomshroom DamnSmallLinux 4 04-22-2008 03:15 PM
increase point size size when printing PDF files newlin Red Hat 0 09-27-2003 08:13 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:08 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration