Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Feb 2005 13:22:12 -0600
From:      Scot Hetzel <swhetzel@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: Strange disk problems make the system lock up
Message-ID:  <790a9fff05021711226f40fdfe@mail.gmail.com>
In-Reply-To: <20050216233125.010075fb.gstewart@bonivet.net>
References:  <42134454.7030306@mcdonald.no> <790a9fff05021607456ec0406d@mail.gmail.com> <20050216175920.4f60007c.gstewart@bonivet.net> <4213B3FD.6060400@mcdonald.no> <20050216233125.010075fb.gstewart@bonivet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 16 Feb 2005 23:31:25 +0100, Godwin Stewart <gstewart@bonivet.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Wed, 16 Feb 2005 21:58:37 +0100, Charles Erik McDonald
> <charles-erik@mcdonald.no> wrote:
> 
> > bastion(root):#mount -t ufs /dev/ad3s1 /mnt/wd2500pb/
> > mount: /dev/ad3s1 on /mnt/wd2500pb: incorrect super block
> > bastion(root):#mount -t ufs /dev/ad3s1c /mnt/wd2500pb/
> > mount: /dev/ad3s1c on /mnt/wd2500pb: incorrect super block
> > bastion(root):#mount -t ufs /dev/ad3 /mnt/wd2500pb/
> > bastion(root):#
> 
> Well, I don't know anything near enough about UFS to be able to speculate
> on why a valid disklabel is found while the entire physical disk is mounted.
> What I would say is that the system freezing when trying to umount the
> filesystems could have something to do with this oddity.
> 
> However, one thing I'd do ASAP is back up the data (I know 300+ GB is a lot
> of data) and boot into single user mode so that the 2 disks aren't mounted.
> I'd then newfs ad{2,3}s1c and modify my fstab to reflect the fact that I'm
> now using filesystems here rather than just ad{2,3}, boot normally and
> restore the data.
> 
The problem is that he only has the "c" partition, which is reserved
to specifying the entire disk.  He needs to use disklabel to create a
partion using one of a,b,d-h.

see "man disklabel"

Scot



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff05021711226f40fdfe>