Re: bios disk numbers and device names

2004-12-01 Thread Joan Picanyol
* Michael Grant [EMAIL PROTECTED] [20041201 12:11]: Is there any way to statically assign a device name to a specific disk so that if the BIOS renumbers the disks (for example if I move around a controller) so that the devices always come up with the same name? Yes. On 4.x you specify it on

bios disk numbers and device names

2004-11-29 Thread Michael Grant
Is there any way to statically assign a device name to a specific disk so that if the BIOS renumbers the disks (for example if I move around a controller) so that the devices always come up with the same name? Michael Grant ___ [EMAIL PROTECTED] mailing

Re: bios disk numbers and device names

2004-11-29 Thread Daniel O'Connor
On Mon, 29 Nov 2004 20:40, Michael Grant wrote: Is there any way to statically assign a device name to a specific disk so that if the BIOS renumbers the disks (for example if I move around a controller) so that the devices always come up with the same name? The BIOS naming means nothing to

Re: bios disk numbers and device names

2004-11-29 Thread Michael Grant
On Mon, Nov 29, 2004 at 09:33:25PM +1030, Daniel O'Connor wrote: On Mon, 29 Nov 2004 20:40, Michael Grant wrote: Is there any way to statically assign a device name to a specific disk so that if the BIOS renumbers the disks (for example if I move around a controller) so that the devices

Re: bios disk numbers and device names

2004-11-29 Thread Daniel O'Connor
On Mon, 29 Nov 2004 22:51, Michael Grant wrote: What sort of device in particular? Specifically, ata and scsi. This is a big problem for me. Once I lost a controller and it was a nightmare trying to get the machine to boot after moving the disks to the other controller. Another time I

Re: bios disk numbers and device names

2004-11-29 Thread Andrea Campi
On Mon, Nov 29, 2004 at 07:21:00AM -0500, Michael Grant wrote: Has anyone thought about this problem? Is there some spare space in the label that could be used for a device name that, if set, could be used in place of (or an alias for) a name like da0? GEOM_LABEL is what you're looking for.

Re: bios disk numbers and device names

2004-11-29 Thread Michael Grant
Thanks, that seems like it will work perfectly. Do you know if I can boot a root device on say /dev/ufs/root? tunefs -L root /dev/da0a then in my fstab: /dev/ufs/root / ufs rw 1 1 Also, what is the difference between dong 'glabel lable -v root' and 'tunefs -L

Re: bios disk numbers and device names

2004-11-29 Thread Andrea Campi
On Mon, Nov 29, 2004 at 08:51:38AM -0500, Michael Grant wrote: Thanks, that seems like it will work perfectly. Do you know if I can boot a root device on say /dev/ufs/root? tunefs -L root /dev/da0a then in my fstab: /dev/ufs/root / ufs rw 1 1 Don't know.

Re: bios disk numbers and device names

2004-11-29 Thread Daniel O'Connor
On Mon, 29 Nov 2004 23:09, Andrea Campi wrote: On Mon, Nov 29, 2004 at 07:21:00AM -0500, Michael Grant wrote: Has anyone thought about this problem? Is there some spare space in the label that could be used for a device name that, if set, could be used in place of (or an alias for) a name

Re: bios disk numbers and device names

2004-11-29 Thread Paul Mather
On Mon, 2004-11-29 at 15:06 +0100, Andrea Campi wrote: The manpage explains it all, and that's all I know as well. glabel specifies a transient label, i.e. it's not saved on the disk, so you loose it on reboot or if the disk goes away. Glabel can create both transient and permanent labels: