Problem
There is no menu option within the Virtual Disk Manager for
creating a mirror or stripe for my non-root filesystems. Is
there a way to do this manually? Solution
It is a straightforward procedure, but you must first back up your entire system, and verify the integrity of the backups. For more information on system backup and verification, see other articles in this database.
When the backups are done, make sure the system is in multiuser mode, unmount the filesystem(s) you want to convert to virtual disks, start Virtual Disk Manager, and do the following:
Disk ==> New ==> Vdisk type "Simple" ==> Allocate Piece
The Allocate Piece screen will present you with a list of available physical disk partitions configured on the system. Choose the disk that contains the filesystem you want to convert to a virtual disk (that is, /dev/dsk/0s1 for a filesystem on your primary (bootable) disk, /dev/dsk/1s1 for a filesystem on a secondary disk, and so on.).
When you select the disk, a table will appear that shows the
disk mapping, including the names and sizes of existing
filesystems. You must be very careful at this point to select
the correct filesystem.*** Make your selection carefully ***If, for instance, you are trying to convert /u but the /root filesystem is highlighted, your root filesystem will be overwritten and your system will become unusable.
When you have double-checked that the correct filesystem is
highlighted, click "OK" and then "Create". The existing filesystem
will be converted to a Simple virtual disk, your data will be
overwritten, and you will be prompted to create a filesystem.Once the filesystem is in place, you can then create your mirror
or stripe using VDM. See other articles in this database for
more information on configuring disk arrays in the Virtual Disk
Manager. You can then mount the new filesystem and restore your
data from backups.