# xlv_make
xlv_make> plex plex1
plex1
xlv_make> ve /dev/dsk/dks0d3s7
plex1.0
xlv_make> end
Object specification completed
xlv_make> exit
Newly created objects will be written to disk.
Is this what you want?(yes) yes
Invoking xlv_assemble
# xlv_mgr
xlv_mgr> attach plex plex1 root_vol.data
xlv_mgr automatically initiates a plex revive operation to copy the contents of the original plex, root_vol.data.0, to the newly added plex.
xlv_mgr> show object root_vol
VOL root_vol (complete)
VE root_vol.data.0.0 [active]
start=0, end=988091, (cat)grp_size=1
/dev/dsk/dks0d2s7 (988092 blks)
VE root_vol.data.1.0 [empty]
start=0, end=988091, (cat)grp_size=1
/dev/dsk/dks0d3s7 (988092 blks)
The newly added plex, root_vol.data.1, is initially in the "empty" state. This is because it is newly created.
xlv_mgr> quit
# ps -ef | grep xlv root 27 1 0 10:49:27 ? 0:00 /sbin/xlv_plexd -m 4 root 35 1 0 10:49:28 ? 0:00 /sbin/xlv_labd root 31 1 0 10:49:27 ? 0:00 xlvd root 407 27 1 11:01:01 ? 0:00 xlv_plexd -v 2 -n root_vol.data -d 50331648 -b 128 -w 0 0 1992629 root 410 397 2 11:01:11 pts/0 0:00 grep xlv
One instance of the xlv_plexd daemon is currently reviving root_vol.data. This daemon exits when the plex has been fully revived.
# ps -ef | grep xlv root 27 1 0 10:49:27 ? 0:00 /sbin/xlv_plexd -m 4 root 35 1 0 10:49:28 ? 0:00 /sbin/xlv_labd root 31 1 0 10:49:27 ? 0:03 xlvd root 459 397 2 11:21:10 pts/0 0:00 grep xlv
The instance of xlv_plexd that was reviving root_vol.data is no longer running; it has completed the plex revive.
# xlv_mgr
xlv_mgr> show object root_vol
VOL root_vol (complete)
VE root_vol.data.0.0 [active]
start=0, end=988091, (cat)grp_size=1
/dev/dsk/dks0d2s7 (988092 blks)
VE root_vol.data.1.0 [active]
start=0, end=988091, (cat)grp_size=1
/dev/dsk/dks0d2s0 (988092 blks)
xlv_mgr> quit
Both plexes are now in the "active" state.