On Fri, 8 May 2015 09:34:17 +0200
Christer Solskogen <[email protected]> wrote:
> Is there any way to check, from z/VM, if a lun is in use in any of the
> virtual machines ?
I suppose you are talking about emulated DASD, right? In that case, the
defined EDEV provides you with an rdev that can be queried like other
DASD too.
Just as an example:
q 1002
DASD 1002 ATTACHED TO LINUX065 0240 R/W
Ready; T=0.01/0.01 05:01:07
q edev 1002 details
EDEV 1002 TYPE FBA ATTRIBUTES 2107
VENDOR: IBM PRODUCT: 2107900 REVISION: .107
BLOCKSIZE: 512 NUMBER OF BLOCKS: 20971520
PATHS:
FCP_DEV: FA1D WWPN: 500507630510473A LUN: 4010400F00000000
CONNECTION TYPE: SWITCHED STATUS: ONLINE
FCP_DEV: FC1D WWPN: 50050763051B473A LUN: 4010400F00000000
CONNECTION TYPE: SWITCHED STATUS: ONLINE
Berthold
--
----------------------------------------------------------------------
Berthold Gunreben Build Service Team
http://www.suse.de/ Maxfeldstr. 5
SUSE LINUX GmbH D-90409 Nuernberg, Germany
GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu,
Graham Norton HRB 21284 (AG Nürnberg)
----------------------------------------------------------------------
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/