Re: adding USB hard-disk

2009-11-19 Thread Ruben de Groot
On Wed, Nov 18, 2009 at 04:16:32PM +0100, n dhert typed:
 # mount /dev/da0s1 /mnt
 takes a while (drive spins), then
 mount: /dev/da0s1 : Invalid argument
 same result for all slices
 
 Why is this and how to remedy?

try fsck /dev/da0 to see what kind of filesystem's on it (probably ext2/3 since 
you say it comes from suse)

then mount -t ext2fs 

 (I can mount an USB memory stick with
  mount -t msdosfs -o -m=644,-M=755 /dev/da0s1 /mnt)
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: adding USB hard-disk

2009-11-18 Thread Robert
On Wed, 18 Nov 2009 16:16:32 +0100
n dhert ndh...@gmail.com wrote:

 I have an external USB hard disk, wich already has unix dirs and
 files on it.
 When plugging into a OpenSuse10.3, the dirs and files are immediatly
 available under /media/disk-1 as unix dirs and files.
 
 When plugging into a FreeBSD7.2 system:
 on console I do get the messages:
 umass0: Prolific Technology Inc. ATAPI-6 Bridge Controller, class
 0/0,rev. 2.00
 /0.01, addr 2 on uhub4
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: ST330083 1A 4.60 Fixed Direct Access SCSI-0 device
 da0: 40.000MB/s transfers
 da0: 286168MB (586072368 512 byte sectors: 255H 63S/T 36481C)
 
 # camcontrol devlist
 ST330083 1A 4.60   at scbus0 target0 lun 0
 (da0,pass0)
 
 # ls -la /dev | grep da
 crw-r-   1 root  operator0, 113 Nov 18 14:40 da0
 crw-r-   1 root  operator0, 117 Nov 18 14:40 da0s1
 crw-r-   1 root  operator0, 118 Nov 18 14:40 da0s2
 crw-r-   1 root  operator0, 119 Nov 18 14:40 da0s3
 but
 # mount /dev/da0s1 /mnt
 takes a while (drive spins), then
 mount: /dev/da0s1 : Invalid argument
 same result for all slices
 
 Why is this and how to remedy?
 
 (I can mount an USB memory stick with
  mount -t msdosfs -o -m=644,-M=755 /dev/da0s1 /mnt)
How is the drive formatted?

From man mount:

SEE ALSO
 getfacl(1), setfacl(1), nmount(2), acl(3), mac(4), ext2fs(5),
fstab(5), procfs(5), kldload(8), mount_cd9660(8), mount_msdosfs(8),
mount_nfs(8), mount_ntfs(8), mount_nullfs(8), mount_nwfs(8),
mount_portalfs(8), mount_smbfs(8), mount_udf(8), mount_unionfs(8),
umount(8)

HTH

Robert
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org