On Oct 9, 2012, at 7:32 PM, Thang Pham wrote:

> Hello List,
> 
> Is there a way to find out the size of a native SCSI device attached via
> FCP channel?  I do not see lszfcp or lsscsi having an option that lets you
> see the size of the disk you have attached to a VM.
> 

I always liked "sfdisk -s <block_device>".  Just returns the size as one 
number, easy to parse in a script.

> Thanks,
> Thang Pham
> 
> ----------------------------------------------------------------------
> 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
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/

----------------------------------------------------------------------
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
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to