Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2007 23:16:07 +0200
From:      Denis Fortin <fortin@acm.org>
To:        freebsd-questions@freebsd.org
Subject:   Assignment of device names to external USB drives
Message-ID:  <464F6917.9080301@acm.org>

Next in thread | Raw E-Mail | Index | Archive | Help
Greetings,

I am trying to set up a backup server, using a combination of internal 
and external (USB) disk drives.

How can I manage the mapping of USB disk drives to device names?  i.e. 
USB drives get assigned device names like da0, da1, da2... when they are 
detected.  But if one of the drives fails or is not powered up, all 
other ones will get bumped down one in the list next time I reboot.

The problem is that if I automatically "mount /dev/da0a 
/archive/volume1", "mount /dev/da1a /archive/volume2", etc. I run the 
risk of having the wrong disk being mounted on a mount point !?!

Is there an obvious solution that I'm missing, or a canonical workaround 
to this problem?

Thanks

Denis F.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?464F6917.9080301>