647 B
647 B
Mount a vhd generated by xen-orchestra to filesystem
Library
import { mount } from 'fuse-vhd'
// return a disposable, see promise-toolbox/Disposable
// unmount automatically when disposable is disposed
// in case of differencing VHD, it mounts the full chain
await mount(handler, diskId, mountPoint)
cli
From the install folder :
cli.mjs <remoteUrl> <vhdPathInRemote> <mountPoint>
After installing the package
xo-fuse-vhd <remoteUrl> <vhdPathInRemote> <mountPoint>
remoteUrl can be found by using cli in @xen-orchestra/fs , for example a local remote will have a url like file:///path/to/remote/root