1
Storage / Re: Sharing drive between OS/2 and linux -JFS
« on: November 28, 2025, 12:17:32 pm »I can't manage to mount a OS/2 created JFS partition on my Debian 12. No matter what I tried it does not work.Code: [Select]root@zazu:/dev# mount -t jfs /dev/sdc1 /media/500GB/In dmesg I see nothing what would help -
mount: /media/500GB: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.Code: [Select]root@zazu:/srv# dmesg | grep -i sdc
[ 3.817598] sd 3:0:0:0: [sdc] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 3.817600] sd 3:0:0:0: [sdc] 4096-byte physical blocks
[ 3.817612] sd 3:0:0:0: [sdc] Write Protect is off
[ 3.817615] sd 3:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[ 3.817632] sd 3:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.817650] sd 3:0:0:0: [sdc] Preferred minimum I/O size 4096 bytes
[ 3.840623] sdc: sdc1
[ 3.840683] sd 3:0:0:0: [sdc] Attached SCSI disk
[ 361.915751] sdc: sdc1
[ 362.183053] sdc: sdc1
[ 686.496790] sdc: sdc1
[12970.328576] sdc: sdc1
Superblock seems to be okay -Code: [Select]root@zazu:/dev# jfs_tune -l /dev/sdc1
jfs_tune version 1.1.15, 04-Mar-2011
JFS filesystem superblock:
JFS magic number: 'JFS1'
JFS version: 1
JFS state: clean
JFS flags: JFS_OS2 JFS_COMMIT JFS_GROUPCOMMIT JFS_INLINELOG
Aggregate block size: 4096 bytes
Aggregate size: 976672248 blocks
Physical block size: 512 bytes
Allocation group size: 1048576 aggregate blocks
Log device number: 0xb
Filesystem creation: Thu Nov 27 16:56:38 2025
Volume label: 'JFS_BACKUP'
I tried different disks. Numerous attempts to create a JFS partition with MiniLVM and try to mount it in Linux. But can't get it to work.
fdisk complains that it does not start on sector boundary. But how can that be? I think OS/2 - ArcaOS can create partitions on sector boundaries only.Code: [Select]root@zazu:/dev# fdisk -l
Disk /dev/sdc: 465,76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: WDC WD5000AZLX-6
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: 0xdf5ee166
Device Boot Start End Sectors Size Id Type
/dev/sdc1 * 63 976768064 976768002 465,8G 7 HPFS/NTFS/exFAT
Partition 1 does not start on physical sector boundary.
Any attempts to create the partition on Linux an see it on ArcaOS fails also. Help appreciated.
Just a guess:
The error message says that the partition does not start on a physical sector boundary. Which is correct as the physical sector is 4096 bytes in size.
Given that the minimum I/O size is also 4096 bytes in size, I would think that your drive does not allow to be accessed by 512 byte sectors. Or you might need to jumper it (if possible) to allow addressing by 512 byte sectors.