Subject: Re: External Seagate drive mount problems ( 3.x / i386 )
To: netbsd-help <netbsd-help@netbsd.org>
From: David Lord <netbsd@lordynet.org>
List: netbsd-help
Date: 03/24/2007 14:55:44
On 24 Mar 2007, at 8:41, Mark Thomas wrote:

> I'm trying to mount this external drive but I'm having no success. As
> you can see from dmesg ( below ) the drive is correctly recognized.
> I get the same response from 3.1 as well. What does "Invalid argument"
> mean?
> 
> thanks
> 
> # mount -t msdos /dev/sd0e /mnt
> mount_msdos: /dev/sd0e on /mnt: Invalid argument

Does /dev/sd0e already have an msdos filesystem present?
You might need to format it first.

> 
> -- dmesg output after reboot
> NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:04:02 UTC 2005
> ...
> umass0 at uhub3 port 3 configuration 1 interface 0
> umass0: Jabil Circuit Seagate External Drive, rev 2.00/3.00, addr 2
> umass0: using SCSI over Bulk-Only
> scsibus0 at umass0: 2 targets, 1 lun per target
> sd0 at scsibus0 target 0 lun 0: <Seagate, External Drive, > disk fixed
> sd0: 149 GB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
> 
> # disklabel /dev/sd0
> # /dev/sd0d:
> type: SCSI
> disk: mydisk
> label: fictitious
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 16
> sectors/cylinder: 1008
> cylinders: 16383
> total sectors: 312581808
> rpm: 3600
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0           # microseconds
> track-to-track seek: 0  # microseconds
> drivedata: 0
> 
> 5 partitions:
> #        size    offset     fstype [fsize bsize cpg/sgs]
>   d: 312581808         0     unused      0     0        # (Cyl.      0 - 310100)
>   e: 312576642        63      MSDOS                     # (Cyl.
> 0*- 310095*)
> disklabel: boot block size 0
> disklabel: super block size 0
> 
> -- 
> ()  ascii ribbon campaign - against html e-mail
> /\  www.asciiribbon.org   - against proprietary attachments