I have Veritas VM 4.1 running on Solaris. I have encapsulated the system boot disk and want to create an exact mirror copy.
My disk layout is
0 /
1 swap
2 <entire disk>
3 <vxvm private>
4 <vxvm public>
5 /var
6 /other
7 <unused>
I am using the technique described in Sun Blueprints: Boot Disk management:
vxdg –g rootdg adddisk rootmirror=cxtxdx
/etc/vx/bin/vxrootmir rootmirror
vxassist mirror swapvol rootmirror
vxassist mirror var rootmirror
vxassist mirror other rootmirror
etc/vx/bin/vxbootsetup rootmirror
The problem is when I check the disk with format is has transposed my /var and /other file systems so that /var is now on slice 6 and /other is on slice 5. So I no longer have an exact copy.
I thought that when you mirror with vxassist it picks the next free slice. But it seems to want to put /var on slice 6.
Admitedly the Blueprint I am using is old, but does anyone have a solution to this problem?
My disk layout is
0 /
1 swap
2 <entire disk>
3 <vxvm private>
4 <vxvm public>
5 /var
6 /other
7 <unused>
I am using the technique described in Sun Blueprints: Boot Disk management:
vxdg –g rootdg adddisk rootmirror=cxtxdx
/etc/vx/bin/vxrootmir rootmirror
vxassist mirror swapvol rootmirror
vxassist mirror var rootmirror
vxassist mirror other rootmirror
etc/vx/bin/vxbootsetup rootmirror
The problem is when I check the disk with format is has transposed my /var and /other file systems so that /var is now on slice 6 and /other is on slice 5. So I no longer have an exact copy.
I thought that when you mirror with vxassist it picks the next free slice. But it seems to want to put /var on slice 6.
Admitedly the Blueprint I am using is old, but does anyone have a solution to this problem?