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 [thread overview]
Message-ID: <6en238$b0k@nntpd2.cxo.dec.com> (raw)
In-Reply-To: 01bd5019$6513e8d0$7982accf@avenue
In article <01bd5019$6513e8d0$7982accf@avenue>, "alex s. voultepsis" <Alex.Voultepsis@avenuetech.com> 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
prev parent reply other threads:[~1998-03-17 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-03-15 5:00 KZPBA /AS4000 / DU4.0b HELP alex s. voultepsis
1998-03-17 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox