[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

resize2fs in Crypted LVM



Guten Abend, 

ich wollte gerade das letzte bischen freien Platz nutzen und mein /tmp
vergrößern, weil es immer wieder voll läuft. 

# vgdisplay 
  --- Volume group
--- VG Name
laptop System
---snip---
  Total PE              76249
  Alloc PE / Size       76176 / 297.56 GiB
  Free  PE / Size       73 / 292.00 MiB

Das schien auch soweit zu klappen:
# lvextend --size +292M /dev/mapper/laptop-tmp 
  Extending logical volume tmp to 672.00 MiB
  Logical volume tmp successfully resized

Aber:
# resize2fs -p /dev/mapper/laptop-root 672M
resize2fs 1.42.5 (29-Jul-2012)
The containing partition (or device) is only 339968 (1k) blocks.
You requested a new size of 688128 blocks.

Obwohl lvdisplay sagt:
 --- Logical volume ---
  LV Path                /dev/laptop/tmp
  LV Name                tmp
  VG Name                laptop
  LV UUID                rnqrFa-Z5hQ-9461-aqSs-41vf-HK0o-CUIKPg
  LV Write Access        read/write
  LV Creation host, time , 
  LV Status              available
  # open                 1
  LV Size                672.00 MiB
  Current LE             168
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:5


Ein Rundungsfehler ist es leider nicht: 

# resize2fs /dev/mapper/laptop-root 
resize2fs 1.42.5 (29-Jul-2012)
The filesystem is already 339968 blocks long.  Nothing to do!

Was mache ich hier falsch?
Gerne auch Denkhilfen in Form von sinnvollen Suchbegriffen...

Ulrich

P.S. Debian wheezy tagesaktuell


Reply to: