OS2World OLD-STATIC-BACKUP Forum

OS/2 - Technical => Storage => Topic started by: dljone9 on 2009.10.25, 23:34:16

Title: OS/2 - Linux and JFS
Post by: dljone9 on 2009.10.25, 23:34:16
just wanted to know what experiences folks have had, with trying to access JFS partitions created
by OS/2 - with Linux...

my employer has a very large number of OS/2 machines, we will be upgrading hardware and it seems
like OS/2 will not be making the transition (we have looked at ecomstation, but it does not seem to
be a path my employer sees as realistic, support-wise).

when i test our existing systems out with "live" Linux CD's (ubuntu, knoppix) they see the HPFS
formatted drives just fine. trying to mount JFS drives though, does not seem as simple. they
appear to be mounted alright, but when trying to access the drive...you get a "bad super block"
error, using the methods described here:

http://bytes.com/topic/unix/insights/820158-how-mount-partitions-under-linux-unix

anyone have any feedback, or experiences they would like to share?? many thanks!

Title: Re: OS/2 - Linux and JFS
Post by: zizban on 2009.10.25, 23:43:18
Linux has JFS support. Hmmm.
Title: Re: OS/2 - Linux and JFS
Post by: Saijin_Naib on 2009.10.26, 02:02:57
OS/2 JFS and Linux JFS use a different partition type. This is documented somewhere within DFSEE's docs. Have a read at them. I think DFSEE can convert between the two.
Title: Re: OS/2 - Linux and JFS
Post by: RobertM on 2009.10.26, 05:24:03
Quote from: dljone9 on 2009.10.25, 23:34:16
my employer has a very large number of OS/2 machines, we will be upgrading hardware and it seems
like OS/2 will not be making the transition (we have looked at ecomstation, but it does not seem to
be a path my employer sees as realistic, support-wise).ike to share?? many thanks!

That's a shame. I know I'd move there to work on their support team. I wonder how many other such companies still have large OS/2 installs...

If you are at liberty to mention the company or the role of the machines, I am sure everyone else would be interested. If you cannot, then of course, please don't. Don't want you to get into any trouble with work.

Best,
Robert
Title: Re: OS/2 - Linux and JFS
Post by: dljone9 on 2009.10.26, 06:16:59
thanks for the feedback guys, will have a look at DFSEE and perhaps that'll be what we need
to get the job done. i can say the machines are file & application servers, not sure i would be
within guidelines to detail much more than that about our situation. it's not a huge install base,
but several hundred machines are involved - so it's not an insignificant task. much obliged!
Title: Re: OS/2 - Linux and JFS
Post by: RobertM on 2009.10.26, 06:20:42
Alternatively, you can, as a last resort, FTP the data off the OS/2 boxes, then back on to the Linux boxes. Not the neatest solution, but one that is guaranteed to work if no better solution presents itself.

Best,
Rob
Title: Re: OS/2 - Linux and JFS
Post by: dljone9 on 2009.10.26, 06:30:19
for sure, much obliged for that - we have developed a REXX script to do just that and it may be
how we wind up doing it. how we are set up now is, the JFS partitions on these servers are on
secondary drives - so we had hoped to just slide those drives in the new boxes and get on with
life. but if we have to go down this path, it is a workable solution. again, thank you!
Title: Re: OS/2 - Linux and JFS
Post by: Criguada on 2009.11.05, 02:06:00
Probably it's too late to jump in, but I have never had real problems accessing JFS volumes from Linux (any distro).
Linux can see and work with JFS volumes created by OS/2. Only annoyance is that I still have not found a way to make them readable from anything but root.

Hope this helps
Bye
Cris
Title: Re: OS/2 - Linux and JFS
Post by: dljone9 on 2009.11.10, 11:43:42
much obliged for the feedback - we have been successful using SUSE to get on the JFS
partitions now...as you say, only as root. we'll just script a process and get the job done
that way...many thanks to all who have responded!
Title: Re: OS/2 - Linux and JFS
Post by: Radek on 2009.11.10, 14:46:08
Cris, have you tried to put umask = 0 in fstab? I have met a similar problem with a FAT32 partition intended for communicating between eCS and Debian. The partition is mounting as root/root so that I had only read access to it from Debian. A good for nothing communication partition  :-\ Allowing rwx access to anybody in fstab has solved the problem.

I haven't experiented with eCS JFS partitions on my machine, they contain valid data  :)
Title: Re
Post by: MEGAN33sF on 2009.12.28, 10:32:18
If you are really interested in data connecting to this post, you would go here <a href="http://www.4writers.net">freelance writer </a> and I can tell you, you get all pleasure!
Title: Re: OS/2 - Linux and JFS
Post by: chennecke on 2009.12.28, 12:51:04
It is possible to access the data with another user. Without changes, the filesystem does not contain any user rights information. So you need to apply proper owner and rights info with suitable chown / chmod commands to the drive, e.g.:

chown -R username:username /mnt/jfsdrive
find /mnt/jfsdrive/ -ftype d -exec chmod 755 {} \;
find /mnt/jfsdrive/ -ftype f -exec chmod 644 {} \;

Linux will update the user rights info without damaging the data. The tedious thing about it is that everytime OS/2 has written a new file to the file system, you will need to update its access rights.