ich plage mich seit einigen Stunden mit folgendem Problem:
- 1x VMware Ubuntu 9.04 Server
- 1x LVM mit 5GB (4.5GB /dev/sda1 => /, 0.5GB /dev/sda5 => Swap)
Jetzt habe ich die VMware Disk auf 12GB hoch geschraubt und mit pvresize das LVM Volume ebenfalls auf 12GB gebracht.
Jedoch meldet pvdisplay 1726 freie PEs, jedoch kann ich mit lvresize das Volume nicht vergrößern geschweige denn danach mit resize2fs das Dateisystem anpassen.
Code: Select all
root@server1:/home/tds# pvdisplay
File descriptor 4 left open
--- Physical volume ---
PV Name /dev/sda1
VG Name ubuntu
PV Size 11,49 GB / not usable 2,14 MB
Allocatable NO
PE Size (KByte) 4096
Total PE 2941
Free PE 1726
Allocated PE 1215
PV UUID P0uprP-I2XP-lXVR-fhIo-rRyM-G7DW-WQ5zPI
root@server1:/home/tds# lvresize -l +1726 /dev/mapper/ubuntu-root /dev/sda1
File descriptor 4 left open
Physical volume /dev/sda1 not allocatable
No specified PVs have space available
root@server1:/home/tds#
Alternativ wäre ich dankbar für eine Lösung wo ich die ext2 Partition aus LVM wieder in eine korrekte ext2 ohne LVM konvertieren kann. Grml und Knoppix habe ich parat.