| Hi,
You first need to have at least one partition in the rootdg diskgroup,
even if you don't intend to use this rootdg LSM disk. LSM cannot work
without the rootdg diskgroup and rootdg is NOT import/deportable.
# volinstall
# voldisksetup rz0h (or any free partition of at least 1024 sectors.)
Then, you should create the diskgroup that you want to move from
system to system. Let's name it move_dg.
# voldisk -f init rza10
# voldg init move_dg rza10
You now create the volume(s) on your rza10 disk with your preferred
method (bottom-up, volassist...), make an ADVFS domain/fset on that
volume(s).
If you want to deport the directory mounted on that ADVFS domain/fset,
you should :
1) Stop any application having an open file on this filesystem.
2) Umount the filesystem.
3) Stop the volumes. (volume -g move_dg stopall)
4) Deport the diskgroup. (voldg deport move_dg)
5) Place the LSM disk(s) offline (voldisk offline rza10)
Then, on the other system (machine-B), you should also have prepared in
advance a rootdg diskgroup, and created in /etc/fdmns the same
directory and link that your ADVFS domain has created on machine-A,
then
1) Define the LSM disk (voldisk define rza10 type=sliced )
2) Online the LSM disk (voldisk online rza10 )
3) Import the diskgroup (voldg import move_dg)
4) Start/recover the volumes (volrecover -g move_dg -sb )
5) Mount the ADVFS/Fset.
That's it...
But, don't forget to allocate a different SCSI id to the SCSI
controllers on each side of the bus...
And be prepared to CATASTROPHIC failures because nothing prevents the
other system to write (and thus erased) onto your disks... That's why
ASE is needed !!!
Regards, Manu.
|