Where's my disk?
norgaard at locolomo.org
Sat Jun 4 09:12:30 UTC 2011
On 4/6/11 10:48 AM, Polytropon wrote:
> On Sat, 04 Jun 2011 10:31:18 +0200, Erik Nørgaard<norgaard at 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
Can I use the fsid in fstab?
alpha# mount -v
/dev/ad6s1a on / (ufs, local, fsid c18a2f44f29adbc0)
devfs on /dev (devfs, local, multilabel, fsid 00ff000606000000)
/dev/ufs/local on /usr/local (ufs, local, fsid c58a2f44da5dfaa7)
/dev/ufs/var on /var (ufs, local, fsid c98a2f44462bb250)
/dev/ufs/tmp on /tmp (ufs, local, fsid d38a2f44b88ac8e5)
/dev/ufs/home on /home (ufs, local, fsid d58a2f449675649f)
/dev/ufs/share on /home/share (ufs, local, fsid e28a2f4464800a20)
devfs on /var/named/dev (devfs, local, multilabel, fsid 01ff000606000000)
As for the screen I've usually done without, I know my system well, but
if the disk moves, I'm lost. For the keyboard, maybe a PS2 to USB adapter?
More information about the freebsd-questions