Subject: Re: partition bookkeeping
To: Ignatios Souvatzis <is@jocelyn.rhein.de>
From: Oleg Polyanski <luke@eed.miee.ru>
List: tech-kern
Date: 09/23/1999 00:47:43
>>>>> "IS" == Ignatios Souvatzis writes:
>> makes our life easier. Right now we have floating > >> disk naming
>> scheme - disk detected first will get number `0' even if it > >> has, for
>> example, SCSI ID 5 so when I add another disk with SCSI ID > >> number 2
>> (for example, I would like to add large /opt file system) it > >> becomes
>> first (i.e. sd0), not the former `first' disk. You cannot mount > >>
>> root fs without editing your `/etc/fstab'. It's weird. Disk naming > >>
>> scheme must depend on device physical properties (SCSI ID, master/slave >
>> >> or something like that).
>>
>> You're always supposed to wire down your devices, once you get the system
>> up and running. :-) i.e. add
>>
>> sd0 at scsibus0 target 5 lun 0
>>
>> etc. to your kernel config file.
>>
>> I'll admit I don't, but I take my chances with unit numbers moving
>> around.
IS> I, as a rule, jumper the system disks (all the non-external disks) to
IS> the low scsi id's, so that they don't jump if I change the external
IS> configurations. :-)
Too many magic, IMO. In both cases. I vote for good device naming
scheme that will prevent from annoying mistakes.