Results 1 to 4 of 4
Thread: HDD Partition
-
10-28-2013, 10:37 AM #1Web Hosting Evangelist
- Join Date
- Aug 2007
- Location
- Oakham England
- Posts
- 503
HDD Partition
Hi,
One of my VPS server was running low on space so I upgraded the HDD via the hosting control panel and the VPS restarted however its still now showing the extra HDD space I added...
This is what I get if I run: df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
77G 71G 2.0G 98% /
/dev/hda1 251M 86M 153M 36% /boot
tmpfs 500M 0 500M 0% /dev/shm
/usr/tmpDSK 549M 21M 501M 4% /tmp
I am using WHM/cPanel and Cent OS6
According to the hosting company I need to run a command to make the server find the new space?
PS: Server is in use and has websites on it
DanStreama - Your WordPress Friend
http://www.streama.co.uk
-
10-28-2013, 11:40 AM #2Temporarily Suspended
- Join Date
- May 2013
- Location
- India
- Posts
- 747
provide us the output of the following commands as well. probably your server requires lvsxtend / resize2fs
fdisk -l
pvs
vgs
lvs
-
10-28-2013, 11:50 AM #3Web Hosting Evangelist
- Join Date
- Aug 2007
- Location
- Oakham England
- Posts
- 503
fdisk -l
255 heads, 63 sectors/track, 10443 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 33 265041 83 Linux
/dev/hda2 34 164 1052257+ 82 Linux swap / Solaris
/dev/hda3 165 5221 40620352+ 8e Linux LVM
Disk /dev/sda: 85.8 GB, 85899345920 bytes
16 heads, 63 sectors/track, 166440 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 83220 41942272+ 8e Linux LVM
pvs
/dev/hda3 VolGroup00 lvm2 a-- 38.72G 0
/dev/sda1 VolGroup00 lvm2 a-- 39.97G 0
vgs
VolGroup00 2 1 0 wz--n- 78.69G 0
lvs
LogVol00 VolGroup00 -wi-ao 78.69G
ThanksStreama - Your WordPress Friend
http://www.streama.co.uk
-
10-29-2013, 05:42 AM #4Web Hosting Evangelist
- Join Date
- Aug 2007
- Location
- Oakham England
- Posts
- 503
Can I run...
lvresize -L +80GB /dev/mapper/VolGroup00-LogVol00
And it will add the remaining 80GB and NOT format the drive?
DanStreama - Your WordPress Friend
http://www.streama.co.uk
Similar Threads
-
creating partition in already used hdd?
By Maikon in forum Hosting Security and TechnologyReplies: 4Last Post: 07-08-2013, 05:03 AM -
partition HDD
By Sanyh in forum Game ServersReplies: 1Last Post: 03-07-2013, 01:39 PM -
hdd partition
By RealiX in forum Computers and PeripheralsReplies: 4Last Post: 06-25-2012, 03:15 AM -
CentOS5 - HDD Partition
By loveweb in forum Dedicated ServerReplies: 10Last Post: 05-17-2008, 01:43 PM -
HDD Partition
By sarkar in forum Hosting Software and Control PanelsReplies: 0Last Post: 03-24-2007, 07:02 PM