| LDOM - Creating file/zfs based virtual disk |
|
|
| Written by geekyS | ||
| Monday, 29 December 2008 11:47 | ||
|
1)Create a disk image file as per your required virtual disk size in the primary domain.
2) Create a virtual disk service and virtual disk.
3) Guest domain should be rebooted so that changes will be reflected in the configuration
4) You need to run devfsadm to create the special devices(block and raw) for the new virtual disk
You can now create a new file system on the device and use it as a regular disk device. It can be used as the OS installation virtual disk. The same procedure can be used to export ZFS volume as virtual disk. You have to mention the zfs volume path in place of file image path as follows,
|
||
| Last Updated on Monday, 29 December 2008 12:00 |

