error mounting USB disk: Invalid argument

Ian Smith smithi at nimnet.asn.au
Sat May 31 12:54:49 UTC 2008


On Sat, 31 May 2008 13:29:26 +0200 (CEST)
  Wojciech Puchar <wojtek at wojtek.tensor.gdynia.pl> wrote:

 > >> Then:
 > >>
 > >> # mount /dev/da0s1c /media/disk6
 > >> mount: /dev/da0s1c : Invalid argument
 > 
 > mount_msdosfs ?

Maybe.  But then it'd likely be /dev/da0s1 ..

Even if it's UFS, you wouldn't want to mount the 'c' partition.

Perhaps? 'mount /dev/da0s1a /media/disk6' or da0s1d maybe ..

Colin, what does 'fdisk da0' say?  How about 'bsdlabel da0s1' ?

 > > This is caused by the nmount system call returning EINVAL. Quoting from
 > > mount(2):
 > >
 > > [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

cheers, Ian



More information about the freebsd-questions mailing list