|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Help! Drive order changes!
From: Sean Hafeez (sahafeez
zaphodb.org)
Date: Mon Feb 07 2005 - 12:54:38 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Feb 7, 2005, at 9:44 AM, Stefan Kell wrote:
> Ah, I see, sorry.
>
> There is no device /dev/wd4a, /dev/wd4b,... in a default installation.
> The
> highest is /dev/wd3... So you cannot mount your wd4e because of a
> missing
> device.
Sorry. No. This was a working system with 6 disk before I changed the
MB. My system has wd0* - wd6* in /dev. (Thanks to the list for that
answer about a year ago.)
>
> You have to use the command mknod for this. But I think it is better to
> use the skript MAKEDEV which is located in /dev. This script will
> create
> all necessary devices, you probably have to change the line for wd*.
>
> Regards
>
> Stefan Kell
>
> On Mon, 7 Feb 2005, Sean Hafeez wrote:
>
>>
>>> Hi,
>>>
>>> OpenBSD simply scans the PCI-bus for devices in order. You see this
>>> in
>>> the lines:
>>>
>>>> pciide0 at pci0 dev 8 function 0 "CMD Technology PCI0680" rev 0x02
>>>> fxp0 at pci0 dev 10 function 0 "Intel 82557" rev 0x08: irq 5,
>>>> address
>>>> fxp1 at pci0 dev 11 function 0 "Intel 82557" rev 0x08: irq 10,
>>>> address
>>>> pciide1 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06:
>>>> ATA133,
>>>
>>> so your motherboard controller comes after the pcicard, that's all.
>>> With
>>> proper root device and /etc/fstab everything should be working. I
>>> would
>>> not try to compile a kernel because it is only necessary to change
>>> /etc/fstab, boot with option -a, select the new root device and use
>>> config to store the changed configuration into a new kernel-image.
>>>
>>
>> As I said, that DOES NOT WORK.
>>
>> change fstab so that wd0 is replaced with wd4 on all lines.
>>
>> boot with -a
>>
>> I am given a list of the drives as seen. Choose wd4.
>>
>> Some error like when it is trying to mount (out of my head so not 100%
>> correct):
>>
>> (No such file or dir) cannot stat wd4e /usr
>>
>> I drop to a shell and I am unable to mount anything from wd4. df -h
>> show that / is still mounted at root_device and not /
>>
>>
>> Now the old fstab had:
>>
>> /dev/wd0a / ffs rw,softdep 1 1
>> /dev/wd0f /home ffs rw,nodev,nosuid,softdep 1 2
>> /dev/wd0e /tmp ffs rw,nodev,nosuid,async 1 2
>> /dev/wd0d /usr ffs rw,nodev,softdep 1 2
>>
>> I change this to replace wd4 for everything, reboot boot with the -a
>> and pick wd4
>>
>> No Love.
>>
>> BTW, I dropped a Gentoo Linux CD in the drive and booted it. It also
>> see the device order as OBSD, however it respects the original boot
>> order and does not reorder the drives. I would consider this to be the
>> correct behavior. What does everyone else think?
>>
>>
>>
>
Regards,
Sean Hafeez
"Cum catapultae proscriptae erunt tum soli proscripti catapultas
habebunt."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]