Bauer, Bobby (NIH/CIT) [E] wrote:
That's 130 extents, not bytes, from the "Free PE" display below

[r...@lssb1 ~]# vgdisplay
  --- Volume group ---
  VG Name               VolGroup00
  System ID
  Format                lvm2
  Metadata Areas        9
  Metadata Sequence No  31
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                7
  Open LV               7
  Max PV                0
  Cur PV                9
  Act PV                9
  VG Size               61.19 GB
  PE Size               32.00 MB
  Total PE              1958
  Alloc PE / Size       1449 / 45.28 GB
  Free  PE / Size       509 / 15.91 GB
  VG UUID               rXAC1X-b63u-QOOg-O9yJ-3PcD-8KIj-WQWFW9


And more importantly :

lvextend --help
 lvextend: Add space to a logical volume

lvextend
       [-A|--autobackup y|n]
       [--alloc AllocationPolicy]
       [-d|--debug]
       [-h|--help]
       [-i|--stripes Stripes [-I|--stripesize StripeSize]]
       {-l|--extents [+]LogicalExtentsNumber[%{VG|PVS|FREE}] |
        -L|--size [+]LogicalVolumeSize[kKmMgGtTpPeE]}
       [-m|--mirrors Mirrors]
       [-n|--nofsck]
       [-r|--resizefs]
       [-t|--test]
       [--type VolumeType]
       [-v|--verbose]
       [--version]
       LogicalVolume[Path] [ PhysicalVolumePath... ]

Note that "-l' (lower case L)is a number of extents.. '-L' (upper case
L) is a number of bytes (eventually followed by a unit multiplier).

So lvextent -l 130 would seem indeed to indicate a request to add 130
logical extents - or ~4GB+ in this case.. (128 extents would have been 4GB).

--Ivan

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to