Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Sep 2016 16:07:20 +0000
From:      Shawn Bakhtiar <shashaness@hotmail.com>
To:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: Error with auto mount 
Message-ID:  <CY1PR14MB052004A93534FD69F16689D1C4CE0@CY1PR14MB0520.namprd14.prod.outlook.com>
In-Reply-To: <CY1PR14MB052059558763428EE7BA2BC3C4CE0@CY1PR14MB0520.namprd14.prod.outlook.com>
References:  <CY1PR14MB052059558763428EE7BA2BC3C4CE0@CY1PR14MB0520.namprd14.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 de=
fault partition on the Western Digital

It was:

root@correo:/ # gpart show /dev/da1
=3D>         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@correo:/mnt/USBBD # gpart show /dev/da1
=3D>         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@hotmail.com<mailto:=
shashaness@hotmail.com>> wrote:

Good morning,

I followed the instructions here https://www.freebsd.org/doc/handbook/usb-d=
isks.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 d=
o 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 act=
ually don't need to auto mount I need to mount the drive at boot so I simpl=
y want to add it to my fstab, I was just testing the auto mount features fo=
r fun.

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

same with:
root@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=3D0 Number of passes=3D3=
139
ciss0: *** Surface Analysis Pass Information, LDrv=3D0 Number of passes=3D3=
140
ciss0: *** Surface Analysis Pass Information, LDrv=3D0 Number of passes=3D3=
141
ugen0.6: <Western Digital> at usbus0
umass0: <Western Digital My Book 25DA, class 0/0, rev 3.00/30.02, addr 5> o=
n usbus0
umass0:  SCSI over Bulk-Only; quirks =3D 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=3D0x2<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@freebsd.org<mailto:freebsd-stable@freebsd.org> mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CY1PR14MB052004A93534FD69F16689D1C4CE0>