View Full Version : LVM query
adm-computers
19th June 2008, 16:12
I have added a new HDD to my LVM - I'm using webmin to display system details and It's only showing 22gb when it should be showing 32Gb.
The source I used to add the new volume can from this link
http://lucaschan.com/weblog/2007/06/29/adding-a-physical-disk-to-lvm-in-redhatcentos/
Have they missed something or does the LVM automatically increase the space when needed?
falko
20th June 2008, 14:17
How did you partition the new drive? One big partition, or multiple smaller ones?
adm-computers
20th June 2008, 14:33
When I setup the server I used two hard drives and allowed it to auto configure the partitions so I'd imagaine it did 2 partitions - 1 large 1 small!!
I just want to try out LVM so it's on a VM so I can rebuild it if need be
I partition the new drive with one large partition
falko
21st June 2008, 11:12
When I setup the server I used two hard drives and allowed it to auto configure the partitions so I'd imagaine it did 2 partitions - 1 large 1 small!!
You can check that with fdisk -l
adm-computers
24th June 2008, 19:34
Hi Falko,
Been a bit busy at the mo but here is the output of fdisk -l
fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 19457 156183930 8e Linux LVM
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 19457 156288321 8e Linux LVM
I've removed the third drive at the mo and am gonna add it again
falko
25th June 2008, 23:39
Is /dev/sdb the drive that you added?
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.