From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d7ca57a818c70b4a X-Google-Attributes: gidfee84,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: KZPBA /AS4000 / DU4.0b HELP Date: 1998/03/17 Message-ID: <6en238$b0k@nntpd2.cxo.dec.com>#1/1 X-Deja-AN: 335060980 References: <01bd5019$6513e8d0$7982accf@avenue> Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Distribution: world Organization: Digital Equipment Corporation Newsgroups: comp.unix.osf.osf1 In article <01bd5019$6513e8d0$7982accf@avenue>, "alex s. voultepsis" writes: > >Problem: after moving the KZPBA to different hose and slot, the OS can no >longer see KZPBA. (we are compelled to move KZPBAs for customer >requirements) I'm not sure if your problem is A or B below. It could be both... Problem A. If you change the order of the adapters as Digital UNIX searches for them, you change the bus number. If you change the bus number you change the device name. Changing device names for UFS on simple devices, or under AdvFS is easy. Changing them for LSM is, in my limited experience, hard. Problem B. The kernel searches for controllers in specific locations according to the configuration file. If you move adapters around, then the kernel built using the original configuration won't know to look for the adapters in their new locations. To fix you either have to edit the configuration and adjust the locations or let doconfig build a new configuration file. This should be described in the system management documentation somewhere, but the short version is: a. Shutdown and boot "genvmunix": >>>boot -fl s -fi "genvmunix" dkwhatever b. Check and mount the file systems. If many of the file systems are on the moved device you might simply want to limit your check and mount to root, /usr and /var. If you use lazy page/swap reservation, you'll want to add the page/swap space. If /etc/fstab has been edited to handle the now missing device, simply use "bcheckrc". You may still have to run swapon by hand. c. Run doconfig. I've had good luck just running doconfig directly, but it may be necessary to copy /genvmunix to /vmunix (after saving the current kernel). When the new kernel is built, copy it to the root and reboot. It should find the moved adapters and all the device behind them. Problem A as it relates to Problem B. The order of adapter is all that matters in device naming. My experience has been that the built-in KZPAA equivalent of the AS4000 family is found first, followed by the KZPDA used for the system disk shelf. This is probably related to hose and slot order. If you can reorganize the KZPBAs correctly you may be able to preserve the order in which the boot code finds the controllers and thus the SCSI bus numbering doesn't change. Or if the controllers move around a little, but are still in the same relative order, simply recable the controllers to have them remain in the same relative order. If all else fails and you want to avoid having to rename drives, you can edit the configuration to explicily associate a given scsi# bus with a specific despite the order the kernel wants to use. This is an obvious maintenance problem, but may save some work of moving things around. > >-- >Alex S. Voultepsis > -- Alan Rollow alan@nabeth.cxo.dec.com