It´s not possible to use only SAM for mirroring a disk.
I had only success by using the commands in a shell.
1. pvcreate -B -f /dev/rdsk/c2t5d0
2 .vgextend /dev/vg00 /dev/dsk/c2t5d0
3. mkboot /dev/dsk/c2t5d0
4. mkboot -a "hpux -lq" /dev/dsk/c2t5d0
5. mkboot -a "hpux -lq" /dev/dsk/c2t6d0
6. lvlnboot -R
for i in `ls /dev/vg00/lvol*`
do
lvextend -m 1 $i
done
In my tests changing a corrupted hard disk I had problems
with installing the new one in the existing mirroring system. Unfortunately I used vgscan and
it fails with a core dump after HPUX Mirrordisk was installed.
The result was, that /etc/lvmtab is corrupted and a reboot of the system fails. I´m using HP-UX 10.20.
How can I recreate the /etc/lvmtab??
I had only success by using the commands in a shell.
1. pvcreate -B -f /dev/rdsk/c2t5d0
2 .vgextend /dev/vg00 /dev/dsk/c2t5d0
3. mkboot /dev/dsk/c2t5d0
4. mkboot -a "hpux -lq" /dev/dsk/c2t5d0
5. mkboot -a "hpux -lq" /dev/dsk/c2t6d0
6. lvlnboot -R
for i in `ls /dev/vg00/lvol*`
do
lvextend -m 1 $i
done
In my tests changing a corrupted hard disk I had problems
with installing the new one in the existing mirroring system. Unfortunately I used vgscan and
it fails with a core dump after HPUX Mirrordisk was installed.
The result was, that /etc/lvmtab is corrupted and a reboot of the system fails. I´m using HP-UX 10.20.
How can I recreate the /etc/lvmtab??