Other usb port external hdd not being allowed to be accessed.

4TB WD external easy store hdd USB PORT not allowing me to access it.
Code:
ugen0.10: <Western Digital easystore 25FA> at usbus0
umass0 on uhub4
umass0: <Western Digital easystore 25FA, class 0/0, rev 3.00/10.13, addr 12> on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0xc001
umass0:2:0: Attached to scbus2
da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
da0: <WD easystore 25FA 1013> Fixed Direct Access SPC-4 SCSI device
da0: Serial Number 57583231443337393034344A
da0: 400.000MB/s transfers
da0: 3815415MB (7813969920 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>
ses0 at umass-sim0 bus 0 scbus2 target 0 lun 1
ses0: <WD SES Device 1013> Fixed Enclosure Services SPC-4 SCSI device
ses0: Serial Number 57583231443337393034344A
ses0: 400.000MB/s transfers
ses0: SES Device
trying to click on it in a file manager and I get this message.
Code:
Error opening directory “/media/da0p1”:
Operation not permitted
https://www.freebsd.org/doc/handbook/usb-disks.html
Code:
GNU nano 4.4 /etc/devfs.rules                   
[localrules=5]
add path 'da[0-9]*'
mode 0666 group operator
add path 'ad[0-9]*' mode 0666 group operator
add path 'acd*' mode 0666 group operator
add path 'cd*' mode 0666 group operator
add path 'mmcsd[0-9]*' mode 0666 group operator
add path 'pass*' mode 0666 group operator
add path 'xpt*' mode 0666 group operator
add path 'ugen*' mode 0666 group operator
add path 'usbctl' mode 0666 group operator
add path 'usb*' mode 0666 group operator
add path 'lpt*' mode 0666 group operator
add path 'ulpt*' mode 0666 group operator
add path 'unlpt*' mode 0666 group operator
add path 'fd*' mode 0666 group operator
add path 'uscan*' mode 0666 group operator
add path 'video*' mode 0666 group operator
add path 'dvb/*' mode 0666 group operator
the [0-9] I seen in that link, added that and still no go. that rules is just what I found on the net in how to set this up.
rc.conf
Code:
devfs_system_ruleset="localrules"
I got a 2TB plugged in and it works fine, 4TB is ext4 and 2TB is ntfs
the 4TB is the one not working on FreeBSD. 3.0 USB Ports,
my luck, FreeBSD has a limitation on disk size at around 3.1TB ?? :-/
 
Are you using some kind of automounting? There are some caveats with ext4: ext2fs(5).

Try examining it as root on the command line. gpart show da0, file /dev/da0p1 and mount -t ext2fs /dev/da0p1 /mnt
 
Are you using some kind of automounting? There are some caveats with ext4: ext2fs(5).

Try examining it as root on the command line. gpart show da0, file /dev/da0p1 and mount -t ext2fs /dev/da0p1 /mnt
yeah, automount ...
Code:
$ sudo kldload ext2fs kldload: can't load ext2fs: module already loaded or in kernel

Code:
$ gpart show da0
=>        34  7813969853  da0  GPT  (3.6T)
          34        2014       - free -  (1.0M)
        2048  7813965824    1  linux-data  (3.6T)
  7813967872        2015       - free -  (1.0M)
Code:
$  file /dev/da0p1
/dev/da0p1: character special (2/169)
Code:
mount -t ext2fs /dev/da0p1 /mnt

userx@FreeBSD12.1.org:~
$ ls /mnt
Extraction (2015) [1080p] [YTS.AG]
Green Book (2018) [WEBRip] [1080p] [YTS.AM]
Kill Me Again (1989) [1080p] [YTS.AG]
MOVIES
Nightkill (1980) [BluRay] [720p] [YTS.AM]
TV
The French Connection (1971) [BluRay] [1080p] [YTS.AM]
The Mask (1961) [1080p] [YTS.AG]
Twixt (2011) [1080p] [YTS.AG]
Wild Card (2015) [1080p]
buttons3.xpm
lost+found
movies
scripts
two-cd-movies

on board it auto mounts just fine in media
 
I think everything other than FreeBSD native fs is quirky. I lost that ntfs mount ni /stores I think you helped me fix, and the 4TB now mounts via usb port. this took place on a reboot. it stopped and I had to go in and edit fstab comment out /stores mount, exit, boot, 4tb shows up fine, and no more hdd mount to ntfs on /stores...

sharing between windows ntfs, linux, and freebsd is looking to be a hard ship with FreeBSD, even though ext4 mounts fine in fstab. so far.

I think the dir /stores got deleted somehow? I had to recreate it. let me go deal with that now.
 
sharing between windows ntfs, linux, and freebsd is looking to be a hard ship with FreeBSD
It's problematic sharing (local) files with all three, I certainly agree with that. In this respect it's much easier and reliable to share files between them using a NAS or some other kind of network based storage (Samba, NFS).
 
It's problematic sharing (local) files with all three, I certainly agree with that. In this respect it's much easier and reliable to share files between them using a NAS or some other kind of network based storage (Samba, NFS).
the thing is they are all one a laptop. I'm not going to set up another laptop with a cross over and plug it into the cat3 connection between the two.

it is a little sad that BSD has been around for before or close after Linux/GNU and it is not having close to the same support of programmers to make things work between more than one OS and everything else it got a do. It's like FreeBSD got left in the dust.

well, for whatever reason After I re-created /stores, uncommented the mount in fstab, rebooted with the 4TB plugged in, it all now works. and I even plugged in the 2TB ext4 and it took too.

Quirky ....
marking souled until further notice.
 
the thing is they are all one a laptop.
That's often the problem, you only have one machine.

My first home "server" was a hand-me-down old PC (a Pentium 90 if I remember correctly). Installed FreeBSD on it and made some shares with Samba. Over the years it's been replaced by other hand-me-downs, rebuilt, expanded, switched out parts and whatnot. It's now a Core i3 with 16GB and has 10TB of storage I share on my home network. Some time ago I added another "frankensteined" server to my network that was built from a bunch of surplus parts and some minor bits bought on eBay.

There's a saying in Dutch that says, 'Wie appelen vaart die appelen eet'. Which roughly translates to 'he who transports apples will eat apples'. If you work in a certain line of industry you can reap the benefits from it. Working in IT for the past 25 years or so allowed me to get my hands on a lot of old equipment cheaply (a lot of it was free). Written off for a company but still quite useful for hobby projects at home.
 
Back
Top