OS/2, eCS & ArcaOS - Technical > Storage

Sharing drive between OS/2 and linux

(1/2) > >>

Ben Hjelt:
Small external drive formatted as JFS on ArcaOS (not with mkfs.jfs -O on linux, did not work) ends up no named in linux and cannot even be mounted manually:

--- Code: --- wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.
--- End code ---

A filesystem check shows no errors:

--- Code: ---fsck.jfs version 1.1.15, 04-Mar-2011
processing started: 12/14/2021 21:25:25
The current device is:  /dev/sdb1
Block size in bytes:  4096
Filesystem size in blocks:  7679996
**Phase 1 - Check Blocks, Files/Directories, and  Directory Entries
**Phase 2 - Count links
**Phase 3 - Duplicate Block Rescan and Directory Connectedness
**Phase 4 - Report Problems
**Phase 5 - Check Connectivity
**Phase 6 - Perform Approved Corrections
**Phase 7 - Verify File/Directory Allocation Maps
**Phase 8 - Verify Disk Allocation Maps
 30719984 kilobytes total disk space.
        0 kilobytes in 1 directories.
        0 kilobytes in 0 user files.
        0 kilobytes in extended attributes
    37792 kilobytes reserved for system use.
 30682192 kilobytes are available for use.
File system checked READ ONLY.
Filesystem is clean.

--- End code ---

 ??? I would rather not format the drive as FAT32, is network sharing my only real option then?

Sean Casey:
I mount my OS/2 HPFS file systems read/write on Linux. 

Ben Hjelt:
HPFS has that 2GB file size limit, no?

ivan:
A lot depends on how you expect to share that drive.  are OS/2 and Linux running on the same computer or separate computers?  If separate computers are they running at the same time and if so how do you connect the drive to both computers?

Also what type od data are you sharing?  I have 2 OS/2 computers, 2 ArcaOS computers and 4 Linux computers that can all share everything on 2 NAS boxes which allows backup as well as file sharing.

You need to define what you want to do, once you know that how to do it will be obvious.  Give us details of your setup and we should be able to give you advice.

Dave Yeo:

--- Quote from: Ben Hjelt on December 14, 2021, 08:39:16 pm ---Small external drive formatted as JFS on ArcaOS (not with mkfs.jfs -O on linux, did not work) ends up no named in linux and cannot even be mounted manually:

--- Code: --- wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.
--- End code ---

A filesystem check shows no errors:

--- Code: ---fsck.jfs version 1.1.15, 04-Mar-2011
processing started: 12/14/2021 21:25:25
The current device is:  /dev/sdb1
Block size in bytes:  4096
Filesystem size in blocks:  7679996
**Phase 1 - Check Blocks, Files/Directories, and  Directory Entries
**Phase 2 - Count links
**Phase 3 - Duplicate Block Rescan and Directory Connectedness
**Phase 4 - Report Problems
**Phase 5 - Check Connectivity
**Phase 6 - Perform Approved Corrections
**Phase 7 - Verify File/Directory Allocation Maps
**Phase 8 - Verify Disk Allocation Maps
 30719984 kilobytes total disk space.
        0 kilobytes in 1 directories.
        0 kilobytes in 0 user files.
        0 kilobytes in extended attributes
    37792 kilobytes reserved for system use.
 30682192 kilobytes are available for use.
File system checked READ ONLY.
Filesystem is clean.

--- End code ---

 ??? I would rather not format the drive as FAT32, is network sharing my only real option then?

--- End quote ---

You never said which Linux distribution you're using. At least the fact that fsck.jfs succeeded shows that you have the JFS module installed, I believe. A lot of distributions don't include it or the HPFS module. Debian based ones still do it seems and others can install it.
One thing with OS/2 formatted JFS partitions is that they have no permissions, so unless you do a chown and chmod to make you the owner, they will only mount as root.
Here with Mint, depending on which desktop I'm using (need to reboot to remember, have the stock one and a simpler one installed), clicking on my USB drive in Computer will fail with a permission error or brings up 2 sudo popups that allow me to mount it as root.
I'd guess that you are mounting it with the wrong filesystem based on your errors, especially with fsck.jfs working. Unluckily I forget the mount incarnation needed to do it manually.
Mint also correctly mounts OS/2 JFS with the case insensitive flag.

Navigation

[0] Message Index

[#] Next page

Go to full version