Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 May 2008 11:42:21 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Colin Brace <cb@lim.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: error mounting USB disk: Invalid argument
Message-ID:  <20080531094221.GA81037@slackbox.xs4all.nl>
In-Reply-To: <79defaf7e7f012e2cd5c6381d84dccb9@localhost>
References:  <25515aa06ecb67b43d2a517bcceed88f@localhost> <20080531072955.GA76694@slackbox.xs4all.nl> <79defaf7e7f012e2cd5c6381d84dccb9@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

--yrj/dFKFPuw6o+aM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, May 31, 2008 at 10:27:50AM +0200, Colin Brace wrote:
>=20
> On Sat, 31 May 2008 09:29:55 +0200, Roland Smith <rsmith@xs4all.nl> wrote:
>=20
> > Can you show us what is shown in the dmesg output when you plug this
> > drive in, which devices are then created and the exact command that you
> > used to mount it?
>=20
> dmesg:
>=20
> [...]
> umass0:  on uhub1
> da0 at umass-sim0 bus 0 target 0 lun 0
> da0:  Fixed Direct Access SCSI-2 device=20
> da0: 1.000MB/s transfers
> da0: 194481MB (398297088 512 byte sectors: 255H 63S/T 24792C)
>=20
> These nodes are created:
>=20
> # ls -1 /dev/da*
> /dev/da0
> /dev/da0s1
> /dev/da0s1c
>=20
> Then:
>=20
> # mount /dev/da0s1c /media/disk6
> mount: /dev/da0s1c : Invalid argument

This is caused by the nmount system call returning EINVAL. Quoting from
mount(2):=20

[EINVAL]     The super block for the file system had a bad magic
     	     number or an out of range block size.

After partitioning and labeling the disk, did you make filesystems on
the partitions with newfs?

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--yrj/dFKFPuw6o+aM
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkhBHX0ACgkQEnfvsMMhpyUeowCePslgh9jnxlKzAHJSP4H1M8z/
T2wAn1suhFkKZcj6C0VpqIcbfrZclog8
=itOI
-----END PGP SIGNATURE-----

--yrj/dFKFPuw6o+aM--



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