How to Recover a System Using a Solaris Volume Manager Configuration

Boot your system from the Solaris OS installation DVD or CD media. Perform this procedure from the root prompt of the Solaris miniroot.

Mount as read only the underlying disk containing the Solaris Volume Manager configuration.

# mount -o ro /dev/dsk/c0t0d0s0 /a

Copy the md.conf file into /kernel/drv directory.

# cp /a/kernel/drv/md.conf /kernel/drv/md.conf

Unmount the file system from the miniroot.

# umount /a

Update the Solaris Volume Manager driver to load the configuration. Ignore any warning messages printed by the update_drv command.

# update_drv -f md

Configure the system volumes.

# metainit -r

If you have RAID-1 volumes in the Solaris Volume Manager configuration, resynchronize them.

# metasync mirror-name

Solaris Volume Manager volumes should be accessible using the mount command.

# mount /dev/md/dsk/volume-name /a

Leave a Comment