Hello,

I've run into a little problem with device numbering. My boot device is
a SATA RAID5 array, which normally shows up at /dev/da0. Now I've
connected an external USB HD, which showed up at /dev/da1. So far so good.

The next time I booted, I was surprised to see the USB disk now having
/dev/da0, and the RAID array having /dev/da1. The machine dropped me
into single user mode because /etc/fstab was now wrong.

Now, it's clearly not a good thing to have one's boot device name change
depending on whether an USB HD is connected or not. I figured I could
use glabel(8) to set a label, and then use that. Setting the label for
both RAID array and USB disk worked. For the RAID array, dmesg does say:

  GEOM_LABEL: Label for provider da0 is label/raid5.

However, the label doesn't show up in /dev/label, there's only the label
for the USB disk.

Any idea how I can solve this? Connecting the USB disk after booting is
not an option, since this system's supposed to be headless, and I'd like
to be able to remote reboot it.

Cheers
Benjamin

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to