[linux-lvm] Re: pvresize after extending RAID array

Peter Daum gator_ml at yahoo.de
Tue Jun 19 17:46:01 UTC 2007

Alasdair G Kergon wrote:
> Exactly which version of LVM2 was this (e.g. output of 'lvm version')?
# lvm version
  LVM version:     2.02.07 (2006-07-17)
  Library version: 1.02.08 (2006-07-17)
  Driver version:  4.5.0

>> # cat /sys/block/sdb/size
>> 12695042048
> Use the 'blockdev' command - that gets the sizes the same way that lvm2
> does.

Hopefully not the same way as "blockdev --getsz" does it
(which silently fails on that disk; "blockdev --getsize64 /dev/sdb" reports
the correct size in bytes)

                    Peter Daum

More information about the linux-lvm mailing list