Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2019 11:22:51 +0100
From:      Martin Simmons <martin@lispworks.com>
To:        "Mikhail T." <mi+t@aldan.algebra.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Cannot mount an older disk
Message-ID:  <201910101022.x9AAMpUL030739@higson.cam.lispworks.com>
In-Reply-To: <12475952-c412-60a8-6ff7-7ebcd5c84ed8@aldan.algebra.com> (mi%2Bt@aldan.algebra.com)
References:  <12475952-c412-60a8-6ff7-7ebcd5c84ed8@aldan.algebra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> On Tue, 8 Oct 2019 21:35:07 -0400, Mikhail T said:
> 
> Hello!
> 
> Going through older hard drives, I found one that still seems to work 
> and was curious, what's on it. The OS -- 12.1-STABLE -- sees it find. 
> The disklabel seems sane (except for the number of partitions):
> 
>     # /dev/ada1:
>     8 partitions:
>     #          size     offset    fstype   [fsize bsize bps/cpg]
>        b:   12582912          0      swap
>        c: 1465149168          0    unused        0     0 # "raw" part,
>     don't edit
>        d: 1452566256   12582912    4.2BSD     8192 65536 52352
> 
> and there are ada1, ada1b, and ada1d entries under /dev. So far so good. 
> Unfortunately, both mount and fsck tell me the same blatant lie, that 
> the device does not exist:
> 
>     # fsck -y /dev/ada1d
>     Can't open /dev/ada1d: No such file or directory
> 
>     # mount /dev/ada1d /mnt
>     mount: /dev/ada1d: No such file or directory
> 
> Any suggestions? Thank you! Yours,

You could see if file and dumpfs print anything useful:

dd if=/dev/ada1d | file -

dumpfs /dev/ada1d | head -n 100

Also check the syslog when doing mount.

__Martin



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