On Sat, 4 Jun 2011, Erik Nørgaard wrote:

On 4/6/11 10:48 AM, Polytropon wrote:
On Sat, 04 Jun 2011 10:31:18 +0200, Erik Nørgaard<norga...@locolomo.org> wrote:
The first problem is that I have no idea how my disk will be recognized,
now the root partition is on /dev/ad6s1a.

A good approach is to apply a label or use the UFSID of
the partitions (which don't depend on controller position)
instead of the device names.

Thanks, I tried to add labels, and all file systems are labeled, except the root file system, it gives an error

alpha# tunefs -L root /dev/ad6s1a
tunefs: /dev/ad6s1a: failed to write superblock

The filesystem has to be unmounted or mounted ro to set a label.

http://www.wonkity.com/~wblock/docs/html/labels.html
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to