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

Re: [Xen-users] which disks/block device does Xen use at the moment?



Nico Kadel-Garcia schrieb:
Tomasz Chmielewski wrote:
I'm sending it again, as the message sent on 16.11.2007 didn't get to the list.

Is there a way to guess which block devices / disk does Xen use at the moment?
I use Xen with iSCSI.
I connect to 50 iSCSI targets or more on each Xen server - and I get "virtual disks" ranging from /dev/sda to /dev/sdbl etc. - it's a lot.
Sometimes, I want to log out a given iSCSI connection (parameters 
changed on a target etc.) - but before I actually do it, I would like 
to know if that iSCSI drive is not used by Xen.
In other word - is there a way to check if Xen uses block device 
/dev/sda, /dev/sdu or /dev/sdbb etc.?

Well, what does "mount" say from the DomU
mount from domU would always say its "local" disk, that is, /dev/sda1 or 
such. And good luck if domU is Windows.

and what does "xm list [DOMAIN] --long" say on the Dom0?
That's it, certainly I can grep through that output, thanks!


Would be great if Xen registered some "holders" in /sys/block for a device it uses - like LVM or RAID does in /sys/block/<device>/holders/

--
Tomasz Chmielewski
http://wpkg.org

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.