Example of Migrating From an Existing Volume to a Solaris Volume Manager RAID-1 Volume
Solaris Live Upgrade enables the creation of a new boot environment on RAID–1 volumes
(mirrors). The current boot environment's file systems can be on any of the
following:
A physical storage device
A Solaris Volume Manager controlled RAID–1 volume
A Veritas VXFS controlled volume
However, the new boot environment's target must be a Solaris Volume Manager RAID-1
volume. For example, the slice that is designated for a copy of the
root (/) file system must be /dev/vx/dsk/rootvol. rootvol is the volume
that contains the root (/) file system.
In this example, the current boot environment contains the root (/) file
system on a volume that is not a Solaris Volume Manager volume. The
new boot environment is created with the root (/) file system on the
Solaris Volume Manager RAID-1 volume c0t2d0s0. The lucreate command migrates the current volume
to the Solaris Volume Manager volume. The name of the new boot environment
is svm_be. The lustatus command reports if the new boot environment is ready
to be activated and be rebooted. The new boot environment is activated to
become the current boot environment.
# lucreate -n svm_be -m /:/dev/md/dsk/d1:mirror,ufs \ -m /:/dev/dsk/c0t2d0s0:attach
# lustatus
# luactivate svm_be
# lustatus
# init 6