On 03/16/11 06:50, Arjun YK wrote:
Hello,
I am looking for a clean way of accessing data in ZFS Volume from Control
Domain.
Just add the ZFS volume as a vdisk to the control domain.
E.g.:
# ldm add-vdsdev /dev/zvol/rdsk/pool/volume zvol@primary-vds0
# ldm add-vdisk vdisk_zvol zvol@primary-vds0 primary
Basically the primary domain export a vdisk to itself.
alex.
I have a setup that allows to quickly deploy guest domains.
The Golden OS Image of guest domain boot disk is on a ZFS Volume. This ZFS
Volume has been Snapshot and Cloned for the quick deployment of guest domains.
The vdisk has slices for root(/), /var and swap. Filesysem on vdisk is UFS
To make the build process more hands off, I am looking for a way to access the
ZFS Volume (new Clone) from Control Domain during the build, and edit
files in UFS as required for giving a new hostname, IP, etc.
Can someone please suggest a method ?
I would prefer this method over the sys-unconfig, as I need to make only very
less changes for a new build. Need to change only the hostname, IP and
the savecore path.
Thanks in advance.
Arjun
_______________________________________________
ldoms-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss
_______________________________________________
ldoms-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss