From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653647621655.tru64-unix-managers.marc@archive.invalid> From: "Suchomski, Gottfried" Date: Thu, 03 May 2001 13:26:52 +0000 To: tru64-unix-managers Subject: SUMMARY: corrected command to reassign device-file X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653647621655 Forgive me, but I forgot to write down the last argument (0) to the command to delete the device-entry. The correct commands are: #dsfngr -Z rm_cluster_hwid 48 0 #dsfmgr -Z rm_local_hwid 48 0 I've corrected these lines already in the attached procedure. Regards, Gotfried > Hi Fellow-Admins, > > thanks very much to all of you , > especially to > Dr. Tom Blinn, Whitney Lotta,Davis Allan > and Phil Baldwin > for providing help so quickly. > > It was mostly advised to use #dsfmgr -e dsk7 dsk2 respectively #dsfmgr -m > dsk7 dsk2. > But in my case the system refused to accept this command, telling me that > the (replaced) > dsk2 is busy, although this drive wasn't there anymore and being replaced > by a new > disk, that now shows up under dsk7. > > Phil Baldwins hint finally solved the problem. Basically, it was necessary > to delete > the old disk device-entry in the device database first. After doing that, > the dsfmgr -m > command worked as expected. > > Here the complete procedure: > > Assumption: dsk2 failed and was replaced by a new disk in the same > physical > storagewoks-slot. > > 1.) Note the HWID of the failed drive. > > 2.) Take out the defektive disk and replace it with the new one. > > 3.) find the new disk: #hwmgr scan scsi > #hwmgr show scsi > > The new installed disk (in my case) now shows up as dsk7, and the old > removed > Disk shows devicefile null and no valid path. > > 4.) Check new disk entry in device database > grep "dsk 7" /etc/dfsc.dat (Note HWID) > > 5.) Check old entry from the disk being removed > grep "dsk 2" /etc/dfsc.dat (Note HWID) HWID must be the same as in > step 1 > > 6.) Check that the old disk is now unknown to the system: > #hwmgr -show comp -id 48 <--HWID entry from removed disk2 > > 7.)If there is NO OUTPUT continue with step 8, otherwise call Sys.Support. > > 8) Delete old disk-entry from both, local-and cluster devicedatabase. ============================ corrected command-lines: > #dsfmgr -Z rm_cluster_hwid 48 0 < I forgot to write down the last 0 > #dsfmgr -Z rm_local_hwid 48 0 < " " " " " > " 0 ============================ > 9.) hwmgr scan scsi > > 10.)assign name dsk2 to dsk7: > > #dsfmgr -V -m dsk7 dsk2 > > That's it. > > Here my original question: > > > Hi Sys-Gurus, > > > > I have a problem with an replaced disk under UNIX V.5.1. > > I had to replace dsk2 with a replacement in the same physical > > slot.(Both ,the original - and the replacement disk support WWID). > > > > After installing the new drive the new disk showed up under another > > HWID and device-file. The old disk entry was still there, but with > > an invalid PATH. > > > > I think my mistakes begun when I deleted the old (original) disk-entry. > > With respect to the HWID, the remaining disks were not in order > > anymore. This was not a real problem, as all the other disks were > > new and have never been used.So, to restored the HWID-Order, I swapped > > the disk-entries (dsfmgr -e) until the order was restored. > > > > The only problem now is the newly installed disk. It shows up as > > dsk7 , but it is supposed to be dsk2. > > > > The special file for dsk2 is not there anymore (dsfmgr -s). > > > > Is there a way to modify the dsk7 to dsk2 ? > > > > Any help is welcome. > > Thanks in advance. > > > > Regards , > > Gottfried > > > > >