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

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



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)

Regards,
                    Peter Daum


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