Skip to main content

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

Project description

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

Project details


Release history Release notifications | RSS feed

This version

1.0

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page