LVM size problem

lordhanuman

Renowned Member
Jan 2, 2010
60
0
71
Hi all
i have this configuration

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/mapper/rootvg-rootlvm / jfs errors=remount-ro 0 1
/dev/sda1 /boot ext3 defaults 0 2
/dev/mapper/vmachines-vm /opt/vmachine jfs defaults 0 2
/dev/mapper/rootvg-swap none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0


i have added from web interfaceof proxmox theLVM vmachines, but in this interface, thislvm appear full, but is empty...

tarrdown.png
vmachinesLVMYesYesYes350.25350.25
in terminal

Filesystem Dimens. Usati Disp. Uso% Montato su
/dev/mapper/rootvg-rootlvm
14G 1,7G 13G 13% /
tmpfs 1,5G 0 1,5G 0% /lib/init/rw
udev 10M 2,7M 7,4M 27% /dev
tmpfs 1,5G 0 1,5G 0% /dev/shm
/dev/sda1 1,9G 70M 1,7G 4% /boot
/dev/mapper/vmachines-vm
351G 44M 351G 1% /opt/vmachine

thanks

Daniele
 
i have added from web interfaceof proxmox theLVM vmachines, but in this interface, thislvm appear full, but is empty...

You have a filesystem on it, so it is full (no free space on the LVM volume group?). You need a LVM volume group with free space, or add a directory storage instead (maybe that is what you want to do?).
 
Hi all
i have this configuration

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/mapper/rootvg-rootlvm / jfs errors=remount-ro 0 1
/dev/sda1 /boot ext3 defaults 0 2
/dev/mapper/vmachines-vm /opt/vmachine jfs defaults 0 2

/dev/mapper/rootvg-swap none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0


i have added from web interfaceof proxmox theLVM vmachines, but in this interface, thislvm appear full, but is empty...
...
tarrdown.png

Hi,
you don't have to make a logical volume on the volumegroup and also don't mount anything from his vg.
Make a plain volumegroup and defined this in the webfrontend.
Or you create a logical volume, mount this (like you done before) and defined it as directory.

If you defined the vg in the frontend, the vg is emty. After that you can add disks to VMs and proxmox create logical volumes for you on the volume group.

Udo