Running CHUVOL to chang volume UID's - An Example

Here is a transcript of running CHUVOL to change the UID's on the volume. Chuvol is necessary if you every move a disk drive from one workstation to another. Each disk object has an imbedded unique ID (uid) which uses the node ID as part of the information. This must match the workstation on which the disk is attached.

Bold type is user input
Purple type are my comments

NOTE 1: You can not run CHUVOL on a mounted volume or a volume in use. Instead, shut down the workstation and bring up the standalone version.

NOTE 2: ESDI drives are referenced by 'w' but SCSI drives are referenced by 'w6:0' or 'w5:0', etc., where the digit is the SCSI ID.

NOTE 3: Run SALVOL before attempting to run CHUVOL.

NOTE 4: Be patient! Chuvol takes an hour or two.


With machine in service mode:
<return>
> re
> re
MD7C REV 8.00, 1989/08116.17:23:52
> ex chuvol
ex chuvol
low: 01020000 high: 01083A9A start: 010200E6 

Chuvol - Offline(7), revision 10.3.5, June 17, 1991  9:20:42 am

This utility will change the unique identifier of every object on
the physical volume.  It should be run once after the disk has been
attached to the target node and the disk diagnostic has been run
successfully.  The salvol utility should be run and produce no errors
before chuvol is run.  If chuvol is interrupted, (node crash or other
cause), re-execute chuvol.  Do NOT attempt to salvage the volume at
this point since files may be lost.
As with any utility that modifies the disk, all important data should be
backed up before running chuvol.

If you wish to abort enter "Q" to the following prompt.

Select disk: [w=Winch|s=Storage mod|f=Floppy|q=Quit][ctrl#:][unit#] w
w

new node_id? [12AED] <return>  
{The default is usually correct, if not enter your new node ID}


value to be used as "original" node_id? [BB7D] <return>  
{The default is usually the old node ID}


    Preparing file list...

    Chuvoling...  % complete
        20
Reading blocks in large files now, this part may take a while...
Reading blocks in large files now, this part may take a while...
        40
Reading blocks in large files now, this part may take a while...
        60
        80
Reading blocks in large files now, this part may take a while...
Reading blocks in large files now, this part may take a while...
       100


<---   Chuvol complete   --->

Summary:

138578 uids were changed, 4435 uids were found to be correct
39 file blocks had node_id's that did not belong to source or destination

  It is normal for there to be a few such UID's.  i.e. They may refer to a
  diskless host node.  If there are a large number of misplaced UID's, you
  can run chuvol and specify the UID in question as the source UID.

136041 disk reads, 131191 disk writes
Total run took 47 minutes and 33 seconds, of which 1 seconds were spent sorting

Chuvol complete
Anything more to do? n
n

10200E6: 6100
>

send comments to: hunkler@goodnet.com