View previous topic :: View next topic |
Author |
Message |
markusk21 Apprentice
Joined: 07 Oct 2004 Posts: 216 Location: Hannover
|
Posted: Thu Jul 27, 2006 10:06 pm Post subject: [gelöst]lvexted-Insufficient suitable contiguous allocatabl |
|
|
N'Abend.
Ich möchte meine /home-Partition vergrößern.
Code: | $ lvdisplay
--- Logical volume ---
LV Name /dev/vg0/speicher
VG Name vg0
LV UUID 0iiIDR-7Pn3-IXOa-Cka3-aiV6-hQO0-Ey4oLR
LV Write Access read/write
LV Status available
# open 0
LV Size 47,69 GB
Current LE 12208
Segments 2
Allocation inherit
Read ahead sectors 0
Block device 254:0
--- Logical volume ---
LV Name /dev/vg0/home
VG Name vg0
LV UUID 0lYb3W-aJux-yXT3-w511-pzJS-zL04-pWROkJ
LV Write Access read/write
LV Status available
# open 1
LV Size 28,61 GB
Current LE 7325
Segments 1
Allocation contiguous
Read ahead sectors 0
Block device 254:1
--- Logical volume ---
LV Name /dev/vg0/backups
VG Name vg0
LV UUID Awv4jf-T97l-nga4-pcFb-9yJC-S3mx-nIMxWF
LV Write Access read/write
LV Status available
# open 0
LV Size 14,31 GB
Current LE 3664
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 254:2
|
Code: | $ vgdisplay /dev/vg0
--- Volume group ---
VG Name vg0
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 21
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 4
Open LV 3
Max PV 0
Cur PV 2
Act PV 2
VG Size 290,15 GB
PE Size 4,00 MB
Total PE 74278
Alloc PE / Size 43085 / 168,30 GB
Free PE / Size 31193 / 121,85 GB
VG UUID QH030Y-3jdA-t0Ei-et7C-RCdP-BNxk-xH0AjQ
|
Ich dachte Free PE bedeutet, dass noch Platz ungenutzt ist. Also:
Code: | lvextend -L+1000M /dev/vg0/home
Extending logical volume home to 29,59 GB
Insufficient suitable contiguous allocatable extents for logical volume home: 250 more required |
oder:
Code: | lvextend -L+900M /dev/vg0/home
Extending logical volume home to 29,49 GB
Insufficient suitable contiguous allocatable extents for logical volume home: 225 more required |
oder:
Code: | lvextend -L+500M /dev/vg0/home
Extending logical volume home to 29,10 GB
Insufficient suitable contiguous allocatable extents for logical volume home: 125 more required |
Was heißt das nun?
1) Habe ich 121GB Platz verschwendet, weil ich am Anfang mit den Volumes rumgespielt habe?
2) Kann ich da irgendwie "aufräumen"?
3) Was ist ein "Extend"?
3) Was bedeutet " Allocation inherit" genau, dass die VG wahllos belegt wird?
Oder interpretiere ich da voller Hoffnung mehr Speicher rein als da ist?
Gruß
Markus |
|
Back to top |
|
|
markusk21 Apprentice
Joined: 07 Oct 2004 Posts: 216 Location: Hannover
|
Posted: Thu Jul 27, 2006 10:21 pm Post subject: |
|
|
Äh,
OK, die wichtigsten Fragen habe ich grad rausgefunden:
Wenn home auf continous steht braucht das LV auch zusammenhängenden Platz. Also kurz geändert:
Code: | lvchange -C n /dev/vg0/home
Logical volume "home" changed |
und dann läuft es:
Code: | lvextend -L+900M /dev/vg0/home
Extending logical volume home to 29,49 GB
Logical volume home successfully resized |
Danke fürs lesen...
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|