This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-users] vbdmount: a script to mount/umount virtual disks

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] vbdmount: a script to mount/umount virtual disks
From: Alain Barthe <ab266061@xxxxxxxxx>
Date: Sun, 8 Feb 2009 16:37:20 +0100
Delivery-date: Sun, 08 Feb 2009 07:38:36 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=foPdKS/O5vAij0z4l15kp+tUusd1dC+C+qktPt2/Efs=; b=itwPpCmn3AeO9AKBPxhHZcKvy22qmJbQjSBIognizAcmUwKUHqJzAxz0J16BQ0d4DZ L+2U+5t+LHmgFRxfaVjJFMVJROQFg9aj8v5+dZrLb9LGthDtfn/gz5KomFfA6+FBIKDj e77lyPGOyK8sVN+zvyXpiwLzbqzjlzUtotVYY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=uU7rzptRzeaHX1o4pvxLQ7OwdfEOVw5PzvVkjwZAaprNMs9PJWFfDRBrzeI47D12Nv fub0T3RMirBUhy55JESuVw9NsbEjpWpn1Wh5YZ7Lon5wkfKlbgUfqhsAan+eOWihh2bd REWtBClY7tROIJJazD9mPuHlJO59t/HfAwe7Y=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello xen users,

I wrote a script to mount/umount virtual disks. It sets up needed parttions and/or LVM,
looks for a fstab inside the virtual disks and then mounts partitions according to it.
It is useful to modify a domU (fix configuration, install packages, ...) while it is off.

It can be found at http://www.albar.fr/downloads/vbdmount.py
The documentation is at http://www.albar.fr/vbdmount_html/index.html

Here is the usage:

        vbdmount.py [-v] [-o mount-opts] { -f config-file | -b block-device }[:path-to-mount] mount-point'
        vbdmount.py [-v] -u mount-point

Mounts one or more virtual block devices, expressed either as a string (flag
-b) or as a domU configuration file (flag -f).

  -h, --help            show this help message and exit
  -o MOUNTOPTS, --mount-options=MOUNTOPTS
                        Options to be passed to the mount command
  -f CONFIGFILE, --domu-config-file=CONFIGFILE
                        A domU configuration file
  -b VBD, --block-device=VBD
                        A virtual block device path (file or LV or raw device)
  -u, --umount          Unmounts the mounted virtual block device
  -v, --verbose         Prints a verbose output

Any feedback will be appreciated, particularly for non standard configuration that does not work.



Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] vbdmount: a script to mount/umount virtual disks, Alain Barthe <=