Strona 1 z 1

Zmiana wielkości partycji LVM.

: 06 stycznia 2008, 11:02
autor: vasterlax
Witam!

Zainstalowałem u siebie Debiana na całym HDD z szyfrowanym LVM. Chciałbym zmniejszyć tę partycję o jakieś 50GB (mam dysk 160GB).

Jak to zrobić?
Czy jest to w ogóle możliwe?


"fdisk -l" pokazuje:
debian:/home/vasterlax# 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 31 248976 83 Linux
/dev/sda2 32 19457 156039345 5 Extended
/dev/sda5 32 19457 156039313+ 83 Linux

Disk /dev/dm-0: 159.7 GB, 159783204352 bytes
255 heads, 63 sectors/track, 19425 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 157.0 GB, 157001187328 bytes
255 heads, 63 sectors/track, 19087 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/dm-2: 2780 MB, 2780823552 bytes
255 heads, 63 sectors/track, 338 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-2 doesn't contain a valid partition table
Pozdrawiam i z góry dziękuję za pomoc! ;-)