PDA

View Full Version : lvm is full, disks are not



mikewebb
11th March 2007, 01:34 AM
i have 2 disks, /dev/hdc1 and /dev/hdd1 hdc1 is 37 % full while hdd1 is 81% full. my /dev/mapper/VolGroup00-logvol00 is showing 99% full. what do i do to fix this. (vmware is complaining that my disk is full.)

daverj
11th March 2007, 02:30 AM
Its hard to determine from you question, but it may be an issue of used vs. allocated space. Show me the output of df and vgdisplay:


sudo /usr/sbin/vgdisplay VolGroup00


davidj

mikewebb
11th March 2007, 07:58 AM
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
36693560 34722516 77056 100% /
/dev/hdc1 101086 36343 59524 38% /boot
tmpfs 516228 0 516228 0% /dev/shm
/dev/hdd1 76920416 59523668 13489340 82% /mnt/hdisk2
[root@localhost ~]# vgdisplay VolGroup00
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 37.16 GB
PE Size 32.00 MB
Total PE 1189
Alloc PE / Size 1188 / 37.12 GB
Free PE / Size 1 / 32.00 MB
VG UUID XMljgT-wByQ-omKO-mNPi-diSl-RM5w-8uIKHF

hope this helps

markkuk
11th March 2007, 09:30 AM
i have 2 disks, /dev/hdc1 and /dev/hdd1 hdc1 is 37 % full while hdd1 is 81% full.
/dev/hdc1 and /dev/hdd1 aren't disks, they are partitions. /dev/hdc1 is your /boot partition. /dev/hdd1 is a partition on your second hard drive mounted as /mnt/hdisk2. Show the output of "fdisk -l" so we can see if there's any unallocated space on your drives.


my /dev/mapper/VolGroup00-logvol00 is showing 99% full. what do i do to fix this. (vmware is complaining that my disk is full.)
Delete some files or add more physical disk space to VolGroup00.

mikewebb
11th March 2007, 09:46 AM
[root@localhost ~]# fdisk -l

Disk /dev/hdc: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 * 1 13 104391 83 Linux
/dev/hdc2 14 4865 38973690 8e Linux LVM

Disk /dev/hdd: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 1 9729 78148161 83 Linux
[root@localhost ~]#

markkuk
11th March 2007, 09:48 AM
All your disk space is in use, so buy a new drive or delete some files from your / filesystem.

mikewebb
11th March 2007, 11:39 AM
okay, thanks