by nonrandomstring · 4y ago · 0 comments
One of the nice surprises was spinning up a couple of VMs using bhyve instead of qemu or vbox. Worked first time.
Only one gripe - apparently really crap ext3/4 filesystem support. I still haven't managed to mount some important disks despite playing around with fusefs and all that. I'll crack it with time though.
# Load the kernel module
kldload ext2fs
# mount
mount -t ext2fs -o ro /dev/<device/partition> <mountpoint>
# Exmaples:
mount -t ext2fs -o ro /dev/ad1s1 /mnt/
# Or on a different partition scheme (p vs s):
mount -t ext2fs -o ro /dev/ada0p1 /mnt/
https://forums.freebsd.org/threads/howto-mount-ext4-without-...
Sarcastic correction: almost decent support for really crap ext3/4 filesystem
(As compared to either of UFS2 or ZFS)
Fun fact: ~12 years ago I was able to recover 80%+ of data from some failing ext3 drives just by mounting from FreeBSD with ext2fs kld and opportunistic copying — whereas any version of Linux I tried would crash immediately after [ro] mounting.