Other Accessing external usb hdd ext4

Hi there,
I'm having trouble mounting an ext4 external usb hd to my FREEBSD system (part of Freenas). 12.2
The mount -t ext4 /dev/xxx /mnt/extusb
returns operation not permitted.
This should be relatively simple, the system recognizes the drive as da1.
so under /dev it has /devda1 and /dev/da1s1 (figured might be a partition).
I tried both with no luck.
 
Hi there,
I'm having trouble mounting an ext4 external usb hd to my FREEBSD system (part of Freenas). 12.2
The mount -t ext4 /dev/xxx /mnt/extusb
returns operation not permitted.
This should be relatively simple, the system recognizes the drive as da1.
so under /dev it has /devda1 and /dev/da1s1 (figured might be a partition).
I tried both with no luck.
freebsd disk.png
 
You don't need fusefs-lkl, ext4 is supported by ext2fs(5) nowadays.

However you need to load the corresponding kernel module: # kldload ext2fs
I tried this but unfortunately it still returns the same error. I loaded the module twice which is why you see the "already loaded" message.

1631133633598.png
 
Strange. It shows slice 1 (s1) on the second usb disk (da1), but no partition in it. I'd expect to see da1s1a as a partition that contains a file system. This may not be supported by ext2fs, using mount -v may give more info.
If you need that usb disk for both FreeNAS and FreeBSD you may have to re-partition it in a way that both systems can handle.
 
For FreeBSD it's mount -t ext2fs not mount -t ext4 for ext2, ext3, or ext4. Journalling and encryption however are not supported, and extended attributes are iffy. Refer to ext2fs(5). I don't know about FreeNAS.
 
Back
Top