Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-20-2008, 12:46 PM   #1
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 469

Rep: Reputation: 31
Question Xen DomU, what's mapped to where and how much free space?

I'm looking for a good way to monitor space on all my xen DomU's. I found a command virt-df but it only tells me space and how the DomU sees the drive. I need to see mount points to know what's what.


Filesystem                             Size       Used  Available Type
fireflyold:sda1                   752.1 GiB  665.0 GiB   87.2 GiB Linux ext2/3
fireflyold:sda3                   152.0 MiB   39.1 MiB  112.9 MiB Linux ext2/3
CentOS5:xvda1                     152.0 MiB   23.1 MiB  128.9 MiB Linux ext2/3
CentOS5:xvda3                       9.5 GiB    2.8 GiB    6.7 GiB Linux ext2/3
CentOS5:xvda2                       0 bytes                       Linux swap
F9-services:xvda1                 121.6 MiB   23.9 MiB   97.7 MiB Linux ext2/3
F9-services:xvda3                   9.5 GiB    2.1 GiB    7.4 GiB Linux ext2/3
OEL_5.1:xvda1                     152.0 MiB   23.6 MiB  128.4 MiB Linux ext2/3
OEL_5.1:xvda2                      19.0 GiB   10.1 GiB    8.9 GiB Linux ext2/3
OEL_5.1:xvda3                       0 bytes                       Linux swap
OEL_5.1:sda4                        8.5 GiB    7.3 GiB    1.2 GiB Linux ext2/3
OEL_5.1:sdc1                       76.0 GiB   67.6 GiB    8.4 GiB Linux ext2/3
F9-sound:xvda1                    121.6 MiB   24.0 MiB   97.6 MiB Linux ext2/3
F9-sound:xvda3                      9.5 GiB    2.0 GiB    7.5 GiB Linux ext2/3
F9-sound:xvdd1                    161.5 GiB  139.5 GiB   22.0 GiB Linux ext2/3
This is great for telling me available space but whats OEL_5.1:sdc1 mounted to on dom0? Is it /dev/mapper/nfsStorage-Cobbler or /dev/mapper/nfsStorage-DigitalPhotos?

I know I can ultimately get the information by reading the config files:


[root@firefly-dom0 ~]# grep xvda3 /var/lib/xend/domains/*/* 
/var/lib/xend/domains/174b6882-230c-bdfd-ec19-b25bf8191dc8/config.sxp:         (dev xvda3:disk)
/var/lib/xend/domains/c5804c59-c283-6747-66b8-48fb6e15920b/config.sxp:            (dev xvda3:disk)
/var/lib/xend/domains/c5804c59-c283-6747-66b8-48fb6e15920c/config.sxp:            (dev xvda3:disk)
/var/lib/xend/domains/c70b2713-aa47-469e-4ee3-2fe59b8e064f/config.sxp:            (dev xvda3:disk)
Just wondering if there was already an all-in-one command I could use without writing some elaborate script.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Clone/duplicate a Xen VM / domU? jantman SUSE / openSUSE 6 01-13-2010 03:07 AM
Xen CentOS domU / guest on OpenSuSE? jantman Linux - Software 2 01-11-2010 11:01 AM
Install Fedora as DomU of Xen treotan Ubuntu 1 02-08-2008 02:57 PM
Xen domU and Lvm flamy Linux - General 3 11-25-2006 11:16 AM
SuSE 10.1 / Xen / no network connection in DOMU zeichensatz SUSE / openSUSE 0 07-26-2006 09:27 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration