skip to navigation
skip to content

vbdmount 1.0

A script to mount or unmount virtual block devices from Xen, KVM, Qemu

This script mounts file systems found in a virtual block device. Once mounted,
the file systems are rooted at the mount-point. Then you may chroot in this
directory to do useful things such as installing packages or configuring the
network.

Syntax:

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

path-to-mount only the partition that contains this path is mounted
mount-point path onto the file systems are mounted

Options:

-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