Добрый день столкнулся со следующей проблемой. На виртуальной машине debian под управлением VMware увеличил раздел на 2ГБ
fdisk -l
Disk /dev/sda: 12 GiB, 12884901888 bytes, 25165824 sectors
Disk model: Virtual disk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x796f62d4
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 499711 497664 243M 83 Linux
/dev/sda2 501758 20969471 20467714 9,8G 5 Extended
/dev/sda3 499712 501757 2046 1023K 8e Linux LVM
/dev/sda5 501760 20969471 20467712 9,8G 8e Linux LVM
Partition table entries are not in disk order.
Disk /dev/mapper/vg-root: 7,8 GiB, 8329887744 bytes, 16269312 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/vg-swap_1: 2 GiB, 2147483648 bytes, 4194304 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
df -h
Файловая система Размер Использовано Дост Использовано% Cмонтировано в
udev 970M 0 970M 0% /dev
tmpfs 198M 8,0M 190M 5% /run
/dev/mapper/vg-root 7,6G 4,5G 2,7G 63% /
tmpfs 986M 8,0K 986M 1% /dev/shm
tmpfs 5,0M 0 5,0M 0% /run/lock
tmpfs 986M 0 986M 0% /sys/fs/cgroup
/dev/sda1 236M 49M 175M 22% /boot
tmpfs 198M 0 198M 0% /run/user/1000
pvdisplay
--- Physical volume ---
PV Name /dev/sda5
VG Name vg
PV Size <9,76 GiB / not usable 0
Allocatable yes (but full)
PE Size 4,00 MiB
Total PE 2498
Free PE 0
Allocated PE 2498
PV UUID yxsSmD-em7R-yImG-WI9g-OAd3-0pbi-T15pwI
создаю новый раздел через fdisk /dev/sda n, p, 3, t, 3, 8e
Created a new partition 3 of type 'Linux' and of size 1023 KiB.
Disk /dev/sda: 12 GiB, 12884901888 bytes, 25165824 sectors
Disk model: Virtual disk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x796f62d4
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 499711 497664 243M 83 Linux
/dev/sda2 501758 20969471 20467714 9,8G 5 Extended
/dev/sda3 499712 501757 2046 1023K 8e Linux LVM
/dev/sda5 501760 20969471 20467712 9,8G 8e Linux LVM
Partition table entries are not in disk order.
Disk /dev/mapper/vg-root: 7,8 GiB, 8329887744 bytes, 16269312 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/vg-swap_1: 2 GiB, 2147483648 bytes, 4194304 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Почему добавляется всего 1мб, как заставить систему увидеть добавленные 2гб?