Author Topic: How to mount OS/2 JFS/LVM volume on Linux?  (Read 1057 times)

Andi B.

  • Hero Member
  • *****
  • Posts: 911
  • Karma: +16/-2
    • View Profile
How to mount OS/2 JFS/LVM volume on Linux?
« on: April 04, 2025, 10:07:58 am »
I wanna access my OS/2 volumes from Linux/Debian12. But can't 'click' and automount like in any GUI file manager. For my FAT32 and NTFS partitions I see the label in Linux and clicking on them opens the volume/filesystem. But not with my JFS volums. Any help?

I've already installed jfsutil and libguestfs-jfs.

Remy

  • Hero Member
  • *****
  • Posts: 878
  • Karma: +14/-1
    • View Profile
Re: How to mount OS/2 JFS/LVM volume on Linux?
« Reply #1 on: April 04, 2025, 01:53:39 pm »
Hi Andi!

Get the id of your partition ( e.g. /dev/sdi1)
open a command window and then:
->  sudo mkdir /media/jfsos2    (or other name to define your mount point)
->  sudo mount -t jfs /dev/sdi1 /media/jfsos2
->  If it fails, may be alignment isn't ok under linuw (I have miss aligned partition for one of all despite all where created under OS/2  ARcaOs LVM

note: To trim in case of an SSD.
Once the partition is mounted:
->  sudo fstrim -v /media/os2jfs

Hope this is helpfull     

Andi B.

  • Hero Member
  • *****
  • Posts: 911
  • Karma: +16/-2
    • View Profile
Re: How to mount OS/2 JFS/LVM volume on Linux?
« Reply #2 on: April 04, 2025, 02:51:34 pm »
Ok, thanks. Now I get further. I found one JFS partition/volume mounted at /media/a/e97c5ffe.......  But user 'a' can not cd into this directory. Only root. Maybe I can temporary change chmod for this dir. But for all the NTFS/FAT32 volumes there is some automatic 'mount with access rights for all users. See -
Code: [Select]
root@zazu:/media/a# dir
insgesamt 236
drwxr-x---+  13 root root   4096  4. Apr 14:24 .
drwxr-xr-x   10 root root   4096  4. Apr 09:48 ..
drwxr-xr-x    1 root root    136 31. Okt 16:45 853df5b3-56d2-4746-8d2c-c02054bcaa4d
drwxr-xr-x    3 root root     18 31. Okt 16:51 bfb7a5a8-a380-4538-ade7-7e7081318bf2
drwx------    2 root root   4096 13. Okt 12:01 e97c5ffe-0000-0000-0000-000000001c0e
drwx------   12 root root   4096  7. Mär 19:39 e97c97fd-0000-0000-0000-00000000200e
drwx------  378 root root  28672  7. Mär 19:39 e97c97fd-0000-0000-0000-00000000200e1
drwx------    8 root root   4096  7. Mär 19:39 e97c97fd-0000-0000-0000-00000000200e2
drwxrwxrwx    1 a    a      4096 24. Mär 14:06 Toshiba8TB_NTSF
drwxrwxrwx    1 a    a     20480 30. Mär 21:14 Win7_C_Boot
drwxrwxrwx    1 a    a    131072 30. Mär 21:17 WinApps
drwxr-xr-x   77 a    a     32768  1. Jan 1970  WinDataF32
drwxrwxrwx    1 a    a      4096 24. Mär 15:45 WinVirtual
root@zazu:/media/a#

Also most of my JFS partitions can not be mounted. Bit hard to find which one is which OS/2 volume cause currently I've more than 20 volumes here.
Also for the NTFS and FAT volumes the labels are found and mounted with these. Not some long number....

Remy

  • Hero Member
  • *****
  • Posts: 878
  • Karma: +14/-1
    • View Profile
Re: How to mount OS/2 JFS/LVM volume on Linux?
« Reply #3 on: April 04, 2025, 04:36:36 pm »
To find which partition, checking the partition size can be helpfull