Error with auto mount

Shawn Bakhtiar shashaness at hotmail.com
Thu Sep 29 16:07:28 UTC 2016


Never mind...

Answered my own question

Needed to follow the instructions here to delete existing partition off the drive and re-creat a new partition

https://www.freebsd.org/doc/en/books/handbook/disks-adding.html

It looks like FreeBSD either does not support or does not understand the default partition on the Western Digital

It was:

root at correo:/ # gpart show /dev/da1
=>         34  15628052413  da1  GPT  (7.3T)
           34         2014       - free -  (1.0M)
         2048  15628048384    1  ms-basic-data  (7.3T)
  15628050432         2015       - free -  (1.0M)

Changed it to:
root at correo:/mnt/USBBD # gpart show /dev/da1
=>         34  15628052413  da1  GPT  (7.3T)
           34         2014       - free -  (1.0M)
         2048  15628048384    1  freebsd-ufs  (7.3T)
  15628050432         2015       - free -  (1.0M)


added it to my fstab:
# Device        Mountpoint      FStype  Options Dump    Pass#
/dev/da0p2      /               ufs     rw      1       1
/dev/da0p3      none            swap    sw      0       0
/dev/da1p1      /mnt/USBBD      ufs     rw      2       2

And was able to mount by issuing command:
mount /mnt/USBBD



On Sep 29, 2016, at 8:39 AM, Shawn Bakhtiar <shashaness at hotmail.com<mailto:shashaness at hotmail.com>> wrote:

Good morning,

I followed the instructions here https://www.freebsd.org/doc/handbook/usb-disks.html to mount a Western Digital 8TB USB drive, which (using auto mount) created the mount point /media/da1p1 but when cd into the directory and do an 'ls' it takes a long time returning total 0, and when I try something like 'touch t' I get and an 'Input/output error'. dmesg output below. I actually don't need to auto mount I need to mount the drive at boot so I simply want to add it to my fstab, I was just testing the auto mount features for fun.

When I try to do it manually i get:
root at correo:/ # mount -t msdosfs /dev/da1p1 /media/USBBackupDrive
mount_msdosfs: /dev/da1p1: Invalid argument

same with:
root at correo:/ # mount /dev/da1p1 /media/USBBackupDrive
mount: /dev/da1p1: Invalid argument

Any help would be greatly appreciated,
Shawn


dmesg output:
ciss0: *** Surface Analysis Pass Information, LDrv=0 Number of passes=3139
ciss0: *** Surface Analysis Pass Information, LDrv=0 Number of passes=3140
ciss0: *** Surface Analysis Pass Information, LDrv=0 Number of passes=3141
ugen0.6: <Western Digital> at usbus0
umass0: <Western Digital My Book 25DA, class 0/0, rev 3.00/30.02, addr 5> on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x8000
umass0:2:0:-1: Attached to scbus2
da1 at umass-sim0 bus 0 scbus2 target 0 lun 0
da1: <WD My Book 25DA 3002> Fixed Direct Access SPC-4 SCSI device
da1: Serial Number 564B4A4D44554758
da1: 400.000MB/s transfers
da1: 7630885MB (15628052480 512 byte sectors: 255H 63S/T 972801C)
da1: quirks=0x2<NO_6_BYTE>
ses0 at umass-sim0 bus 0 scbus2 target 0 lun 1
ses0: <WD SES Device 3002> Fixed Enclosure Services SPC-4 SCSI device
ses0: Serial Number 564B4A4D44554758
ses0: 400.000MB/s transfers
ses0: SCSI-3 ENC Device
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5
WARNING: autofs_trigger_one: request for /media/da1p1/ completed with error 5

_______________________________________________
freebsd-stable at freebsd.org<mailto:freebsd-stable at freebsd.org> mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"



More information about the freebsd-stable mailing list