Re: adding USB hard-disk



On Wed, 18 Nov 2009 16:16:32 +0100
n dhert <ndhert@xxxxxxxxx> 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 operator 0, 113 Nov 18 14:40 da0
crw-r----- 1 root operator 0, 117 Nov 18 14:40 da0s1
crw-r----- 1 root operator 0, 118 Nov 18 14:40 da0s2
crw-r----- 1 root operator 0, 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@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • adding USB hard-disk
    ... I have an external USB hard disk, wich already has unix dirs and files on ... When plugging into a OpenSuse10.3, the dirs and files are immediatly ... # mount /dev/da0s1 /mnt ...
    (freebsd-questions)
  • Re: Mount USB drive problems on server
    ... However, plugging it into my desktop, server-install ... You can then mount this conventionally using for instance ... device uses fat32 file system) ... A better way involves using the pmount utility, ...
    (Ubuntu)
  • Re: Digital Cam
    ... >> What about the most obvious, simply plugging it in? ... > Depending on how he's set up his machine, it may not be immediately obvious ... he many need to mount the drive first. ...
    (comp.os.linux.misc)
  • Re: Question concerning Hal, autofs, USB hard disks and ext2 fs
    ... > But before you try that, try plugging in the drive, changing to the ... > mount point, and running, as root: ... Thanks a lot for opening my eyes. ...
    (Fedora)
  • Auto-mutating fstab (plugging USB device)
    ... I've just tried plugging a USB drive into my RedHat 7 machine, ... which I could then -- as root -- mount after inserting a disc. ... I assume there's some template somehere that dictates what the fstab ...
    (comp.os.linux.misc)