Operating System - Tru64 Unix
1753417 Members
5154 Online
108793 Solutions
New Discussion юеВ

replacing a mirrored lsm boot disk with tru64 5.1

 
Arnulf Gercke
Frequent Advisor

replacing a mirrored lsm boot disk with tru64 5.1

Hello,

on an alpha ds20e dsk0 and dsk1 are mirrored disks.
dsk1 failed.
i used the replacing procedure described in the tru64 5.1b lsm manual.

1. # volplex -g rootdg -o rm dis rootvol-02 swapvol-02 vol-dsk0g-02 vol-dsk0h-02
2. # voldg -g rootdg rmdisk root02 swap02 dsk1f dsk1g-AdvFS dsk1h
3. # voldisk rm dsk1a dsk1b dsk1f dsk1g dsk1h
4. === physical replacement ===
5. # hwmgr scan scsi
6. # hwmgr show scsi => New unused disk dsk7
7. # dsfmgr -e dsk7 dsk1
8. # disklabel -rw dsk1
9. # volrootmir -a dsk1

But:
volrootmir failed, lsm said, dsk1f is not defined.
dsk1f is the private region of dsk1. perhaps it was wrong to delete it.
so, i did a voldisk define dsk1f, and volrootmir was satisfied and mirrored
all partitions from dsk0 to dsk1, except dsk0f. dsk1f remained defined and is offline.

How can i fix this situation?




voldisk list
DEVICE TYPE DISK GROUP STATUS
dsk0a nopriv root01 rootdg online
dsk0b nopriv swap01 rootdg online
dsk0f simple dsk0f rootdg online
dsk0g nopriv dsk0g-AdvFS rootdg online
dsk0h simple dsk0h-AdvFS rootdg online
dsk1a nopriv root02 rootdg online
dsk1b nopriv swap02 rootdg online
dsk1f simple - - offline
dsk1g nopriv dsk1g-AdvFS rootdg online
dsk1h simple dsk1h-AdvFS rootdg online
dsk5 sliced dsk5 rootdg online
dsk6 sliced dsk6 rootdg online
dsk10 sliced dg102 dg1 online
dsk11 sliced dg101 dg1 online
3 REPLIES 3
Dmitry Timoshenko
Frequent Advisor

Re: replacing a mirrored lsm boot disk with tru64 5.1

What about sequence:
# voldisk init dsk1 type=simple
# voldg -k adddisk dsk1f=dsk1f

?
Arnulf Gercke
Frequent Advisor

Re: replacing a mirrored lsm boot disk with tru64 5.1

Very late reply, but some days ago I stuck in the same situation. This time I had the chance to experiment. My solution is:
Before doing the volrootmir -a I pulled out the new disk and rebooted the system. Then everything went fine. I tried it several times: Without reboot no chance!

Thanks & bye
Arnulf Gercke
Frequent Advisor

Re: replacing a mirrored lsm boot disk with tru64 5.1

Thanks and bye