Mount FFS disk from Fedora Workstation
I have an Acer desktop (details below) with an SSD for the OS, data and programs and a SATA disk (WDC WD10EZEX-21W) for movies, backup etc. I ran OpenBSD snapshots on it, but installed Fedora Workstation 44 (Linux localhost-live.home 7.0.4-200.fc44.x86_64 #1 SMP PREEMPT_DYNAMIC x86_64 GNU/Linux) on the SSD. Still in OpenBSD I copied all the stuff I needed from the SSD to the SATA disk. Now I'm trying to mount the disk under Fedora. I made a mount point (/mnt/ffs), ran
sudo modprobe ufs
(which was successful)
and
sudo sfdisk -l
Disk /dev/sda: 119.24 GiB, 128035676160 bytes, 250069680 sectors
Disk model: HFS128G39TND-N21
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 1E7167E1-FB76-42C6-A315-A30CDC51E87D
Device Start End Sectors Size Type
/dev/sda1 2048 1230847 1228800 600M EFI System
/dev/sda2 1230848 5425151 4194304 2G Linux extended boot
/dev/sda3 5425152 250068991 244643840 116.7G Linux filesystem
Disk /dev/sdb: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10EZEX-21W
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type
/dev/sdb4 * 64 1953520064 1953520001 931.5G a6 OpenBSD
then I ran:
sudo mount -t ufs -o ufstype=44bsd,ro /dev/sdb4 /mnt/ffs
and got:
mount: /mnt/ffs: wrong fs type, bad option, bad superblock on /dev/sdb4, missing codepage or helper program, or other error. dmesg(1) may have more information after failed mount system call.
Output of sudo dmesg|rg ufs\|sdb
[ 0.691069] sd 2:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[ 0.691073] sd 2:0:0:0: [sdb] 4096-byte physical blocks
[ 0.691094] sd 2:0:0:0: [sdb] Write Protect is off
[ 0.691096] sd 2:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 0.691107] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 0.691126] sd 2:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes
[ 0.724453] sdb: sdb4
sdb4: <openbsd: sdb5 >
[ 0.724837] sd 2:0:0:0: [sdb] Attached SCSI disk
[ 9104.581483] ufs: ufs_fill_super(): fragment size 8192 is too large
System info:
Acer product: Aspire X3-780
Mobo: Acer model: Aspire X3-780(KBL) Firmware: UEFI
vendor: American Megatrends v: R02-A3 date: 05/26/2017
CPU:
Info: quad core model: Intel Core i5-7400 bits: 64 type: MCP arch: Kaby Lake rev: 9 cache:
L1: 256 KiB L2: 1024 KiB L3: 6 MiB
Is this enough info to be helpful? I can of course post a full dmesg and other details. Needless to say any pointers are warmly welcome, thanks in advance.
[[ cross posted to r/Fedora ]]