Can I mount a USB ext4 drive?

Status
Not open for further replies.

hendry

Explorer
Joined
May 24, 2018
Messages
98
Code:
Jun  9 13:05:41 freenas ugen0.4: <Seagate Backup+ Hub> at usbus0
Jun  9 13:05:41 freenas uhub7 on uhub5
Jun  9 13:05:41 freenas uhub7: <Seagate Backup+ Hub, class 9/0, rev 2.10/48.85, addr 4> on usbus0
Jun  9 13:05:41 freenas uhub7: MTT enabled
Jun  9 13:05:42 freenas uhub7: 3 ports with 3 removable, self powered
Jun  9 13:05:46 freenas ugen0.5: <Seagate Backup+ Hub BK> at usbus0
Jun  9 13:05:46 freenas umass1 on uhub7
Jun  9 13:05:46 freenas umass1: <Seagate Backup+ Hub BK, class 0/0, rev 2.10/1.00, addr 5> on usbus0
Jun  9 13:05:46 freenas umass1:  SCSI over Bulk-Only; quirks = 0xc101
Jun  9 13:05:46 freenas umass1:8:1: Attached to scbus8
Jun  9 13:05:46 freenas da1 at umass-sim1 bus 1 scbus8 target 0 lun 0
Jun  9 13:05:46 freenas da1: <Seagate Backup+ Hub BK D781> Fixed Direct Access SPC-4 SCSI device
Jun  9 13:05:46 freenas da1: Serial Number NA8TJLVR
Jun  9 13:05:46 freenas da1: 40.000MB/s transfers
Jun  9 13:05:46 freenas da1: 3815447MB (7814037167 512 byte sectors)
Jun  9 13:05:46 freenas da1: quirks=0x2<NO_6_BYTE>
Jun  9 13:07:58 freenas WARNING: mount of da1p1 denied due to unsupported optional features:
Jun  9 13:07:58 freenas 64bit
Jun  9 13:10:03 freenas fuse-freebsd: version 0.4.4, FUSE ABI 7.8
Jun  9 13:11:11 freenas WARNING: mount of da1p1 denied due to unsupported optional features:
Jun  9 13:11:11 freenas 64bit


I was running `sudo mount -t ext2fs /dev/da1p1 /mnt/seagate`. Does this mean ext4 is unsupported? Any workarounds?
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080

hendry

Explorer
Joined
May 24, 2018
Messages
98
I formatted the drive as ext4 when it was previously attached to my Raspberry PI. Yes, there is data on it.

I could copy it over from the Rpi, but it's pretty slow to do it that way.

So it would seem FreeBSD doesn't support Ext4 or am I missing a trick?
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
So it would seem FreeBSD doesn't support Ext4 or am I missing a trick?
We are not using plain BSD. This is FreeNAS. It is an appliance built on BSD, but it is significantly customized.
ZFS is the file system of choice. What is the purpose of importing this disk?
 

anmnz

Patron
Joined
Feb 17, 2018
Messages
286
I haven't tried any of this myself but:

The end of that log excerpt says:
mount of da1p1 denied due to unsupported optional features:
64bit

and the ext2fs page on the FreeBSD wiki says (see first item in "Known Issues" section):
Linux distributions are now activating the 64 bit feature even when partitions are smaller than 16T.
[ ... ]
The driver in FreeBSD 12 has support for the feature but we don't expect to merge it to previous FreeBSD versions.

which suggests to me you will be able to mount this disk in FreeNAS in the not-too-distant future, but not yet.

(Obligatory FreeNAS forums caveat: I assume you just want to mount this disk temporarily so you can do a one-time import of the data into a properly set up ZFS pool, and I am definitely not endorsing any other use case! :))
 
Status
Not open for further replies.
Top