lvm изменение корневого раздела
Как изменить размер диска?
В системе есть один hdd:
#parted /dev/sda print
Model: ATA QEMU HARDDISK (scsi)
Disk /dev/sda: 16,1GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 256MB 255MB primary ext2 boot
2 257MB 16,1GB 15,8GB extended
5 257MB 10,7GB 10,5GB logical lvm
Одна группа LVM:
# pvs
PV VG Fmt Attr PSize PFree
/dev/sda5 LVGROUP lvm2 a- 9,76g 0
Пытаюсь раcширить раздел LVM:
lvextend -L+5G /dev/LVGROUP/root
Extending logical volume root to 14,29 GiB
Insufficient free space: 1280 extents needed, but only 0 available
говорит некуда т.к. PFree=0...
Пытаюсь раcширить sda5:
# parted /dev/sda resize 5 257MB 16,1GB
WARNING: you are attempting to use parted to operate on (resize) a file system.
parted's file system manipulation code is not as robust as what you'll find in
dedicated, file-system-specific packages like e2fsprogs. We recommend
you use parted only to manipulate partition tables, whenever possible.
Support for performing most operations on most types of file systems
will be removed in an upcoming release.
Error: Could not detect file system.
говорит файловая система неопределенна.
ФС:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/LVGROUP-root
9,2G 5,0G 3,8G 57% /
none 1000M 176K 999M 1% /dev
none 1004M 0 1004M 0% /dev/shm
none 1004M 40K 1004M 1% /var/run
none 1004M 0 1004M 0% /var/lock
none 1004M 0 1004M 0% /lib/init/rw
/dev/sda1 228M 33M 184M 15% /boot
Вот собственно как увеличить размер /dev/sda5 с фс LVM?