create the new volume
cl1::vserver*> volume create -vserver vs2 -volume root_ls1 -aggregate aggr_data -size 30m -type DP
create the relationship
cl1::*> snapmirror create -source-path cl1://vs2/root_ls -destination-path cl1://vs2/root_ls1 -type LS -tries 8 -schedule 5min
initialize the relationship
cl1::*> snapmirror initialize-ls-set -source-path cl1://vs2/root_ls
update
cl1::*> snapmirror update-ls-set -source-path cl1://vs2/root_ls -destination-path cl1://vs2/root_ls1
promote the LS-volume
cl1::*> snapmirror promote -destination-path cl1://vs2/root_ls1
Warning: Promote will delete the read-write volume cl1://vs2/root_ls and
replace it with cl1://vs2/root_ls1.
Do you want to continue? {y|n}: