Date: Sat, 04 Jun 2011 11:12:28 +0200 From: =?ISO-8859-1?Q?Erik_N=F8rgaard?= <norgaard@locolomo.org> To: Polytropon <freebsd@edvax.de> Cc: "questions@FreeBSD.org Questions" <questions@freebsd.org> Subject: Re: Where's my disk? Message-ID: <4DE9F6FC.7060705@locolomo.org> In-Reply-To: <20110604104812.dfbf2888.freebsd@edvax.de> References: <4DE9ED56.9020504@locolomo.org> <20110604104812.dfbf2888.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4/6/11 10:48 AM, Polytropon wrote: > On Sat, 04 Jun 2011 10:31:18 +0200, Erik Nørgaard<norgaard@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? Thanks, Erik
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DE9F6FC.7060705>