우분투 디스크 크기는 52.4 GB이지만 디스크는 여전히 11G를 표시합니다. 아래에 대한 제안 사항이 있습니까? root @ mubuntu ~ ~ fdisk -l ------------ 디스크/dev/sda : 52.4GB, 52428800000 바이트 헤드 255 개, 63 섹터/트랙, 6374 실린더, 총 102400000 섹터 단위 = 1 * 512 = 512 바이트 섹터 크기의 섹터 (논리/물리) : 512 바이트/512 바이트 I/O의 크기 (최소/최적) : 512 바이트/512 바이트 디스크 식별자 : 0x000ac38c우분투 디스크 크기 증가 문제 (vitualbox 이미지)
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 499711 248832 83 Linux
/dev/sda2 499712 501757 1023 8e Linux LVM
/dev/sda3 501758 23486463 11492353 5 Extended
/dev/sda5 501760 23486463 11492352 8e Linux LVM
[email protected]:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/mubuntu--vg-root 11G 9.5G 161M 99%/
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 991M 4.0K 991M 1% /dev
tmpfs 201M 1.1M 200M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 1001M 0 1001M 0% /run/shm
none 100M 0 100M 0% /run/user
/dev/sda1 236M 66M 158M 30% /boot
-> 아래가 좋지 않습니까?
[email protected]:~# pvscan
PV /dev/sda5 VG mubuntu-vg lvm2 [10.96 GiB/0 free]
Total: 1 [10.96 GiB]/in use: 1 [10.96 GiB]/in no VG: 0 [0 ]
[email protected]:~# pvdisplay
--- Physical volume ---
PV Name /dev/sda5
VG Name mubuntu-vg
PV Size 10.96 GiB/not usable 2.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 2805
Free PE 0
Allocated PE 2805
PV UUID upfW6u-dHEc-0ub9-0FAJ-hmFW-10lK-po2nwS
[email protected]:~# vgdisplay
--- Volume group ---
VG Name mubuntu-vg
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 10.96 GiB
PE Size 4.00 MiB
Total PE 2805
Alloc PE/Size 2805/10.96 GiB
Free PE/Size 0/0
VG UUID v9h4EA-xJbR-vEff-qsEk-AvHE-apfK-1j4YI2
[email protected]:~# lvdisplay
--- Logical volume ---
LV Path /dev/mubuntu-vg/root
LV Name root
VG Name mubuntu-vg
LV UUID Os34MI-SJz0-DTPa-2104-xof8-F4Wm-sy0XfM
LV Write Access read/write
LV Creation host, time mubuntu, 2014-08-30 15:51:45 -0500
LV Status available
# open 1
LV Size 10.46 GiB
Current LE 2677
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:0
--- Logical volume ---
LV Path /dev/mubuntu-vg/swap_1
LV Name swap_1
VG Name mubuntu-vg
LV UUID FmnrhR-7i3c-jMaK-dmqr-OMA3-S3jv-oetzdS
LV Write Access read/write
LV Creation host, time mubuntu, 2014-08-30 15:51:46 -0500
LV Status available
# open 2
LV Size 512.00 MiB
Current LE 128
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:1
하드 디스크의 동적 할당을 완료해야합니다. – Sar009
예 동적 할당이 수행되었습니다. – sunnyrainbow