• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

HELP: Having problems formatting JFS drive

Started by RobertM, 2008.01.03, 20:38:29

Previous topic - Next topic

RobertM

Hey all,

I'm having problems formatting a drive. Partitioning went fine on the drive. Created LVM Volume, assigned all free space (200GB IDE) to a JFS partition. Tried formatting - both quick and long (which took 4 days) and got the same results (as follows):




Enter up to 11 characters for the volume label
or press ENTER for no volume label. Data02 [ENTER]

100% of the disk has been formatted.


Format completed successfully.

195342336 kilobytes total disk space.
SYS0528: The specified disk did not finish formatting.


The machine in question is a genuine Intel board, P4 2.4GHz, standard 200GB IDE drive (properly recognized in the BIOS). The only interesting thing I noticed was that the drive formatting (during long format) seemed to have hung for a while (intermittent disk activity) at the 89% mark - and on reboot of the machine I got a JFS error as follows:

JFS0068: CHKDSK Superblock is corrupt and cannot be repaired because both primary and secondary copies are corrupt. CHKDSK CANNOT CONTINUE.


Thanks for any suggestions...

-Robert


|
|
Kirk's 5 Year Mission Continues at:
Star Trek New Voyages
|
|


El Vato

Quote from: RobertM on 2008.01.03, 20:38:29
Hey all,

I'm having problems formatting a drive. Partitioning went fine on the drive. Created LVM Volume, assigned all free space (200GB IDE) to a JFS partition. Tried formatting - both quick and long (which took 4 days) and got the same results (as follows):
[...blank space..]

Enter up to 11 characters for the volume label
or press ENTER for no volume label. Data02 [ENTER]

100% of the disk has been formatted.


Format completed successfully.

195342336 kilobytes total disk space.
SYS0528: The specified disk did not finish formatting.


Have you rechecked your hard drive for proper jumpering and/or connections ???

If the above procedure passes, then, you may have a problem with LVM not assigning the correct type to the volume.  The last time I got an similar error message is when I played around with freeJFS.IFS and subsequently attempted to reuse the initially LVM assigned compatibility created partition (that freeJFS actually formats indiscriminate of the partition volume type)  to LVM type (unknown 35 type under Linux).

Accordingly, when I swapped the combo freeJFS.ifs/ujfs.dll for the commercial (IBM supported) JFS.IFS/ujfs.dll equvalent, I got the error that you describe.

I think that you can deduce that if you were using the modified JFS code by third parties (i.e. not the IBM supported release), it may point to a bug in the implementation.  Why ???  Third party JFS hackers may have modified the original code by adding freeJFS additions to the the IBM derived JFS supported code.

Of course, if to achieve the feat of bootable JFS partitions third party developers only modified the OS2BOOT file, then the  above may not apply.

Suggestion: try the last LVM/JFS release by IBM, i.e., the one unaltered by third party hackers.

Regards.

RobertM

Well, here's the odd thing that just happened... I checked the "SYS0528" error - which says "reboot the machine and try again" (paraphrased). I had rebooted already right before formatting the first two times (short and long format - but not inbetween). So, I rebooted again, tried the short format and it went through ok.

I'm wondering if there is a problem with the disk (since it "paused" at the 89% mark) - seems that may be indicative of some bad sectors. Since the long format completed (and THEN reported it didn't), maybe it marked the sectors bad, and on reboot was thus able to format. Either way, somehow (ie: I followed the instructions in the error message ;) ) it is now up and running. I'm going to run IBM DFT on the disk and see what it says about the media... and if that fails, let it stand as it is...

If that passes, then I'll probably try the new JFS driver and see how that works. Putting a lot of data on the drive I don't want to lose, and won't have the next (ie: backup) server up for a couple weeks.

Thanks for the tips - I may still end up needing them if this drive passes the media test.

-Robert


|
|
Kirk's 5 Year Mission Continues at:
Star Trek New Voyages
|
|


kim

Curious what if you divided up the drive into two 100gb partitions; would the problem still occur? I noticed that some people, depending on how old the bios, have problem with formating partition bigger than 125-135gb in OS2. Reaching out here, but worth a try - oh and please do use quick format when trying for faster test results :-)

El Vato

Quote from: kimhav on 2008.01.04, 11:04:21
Curious what if you divided up the drive into two 100gb partitions; would the problem still occur?

One of the features of the OS/2 is that it should not constrain the user to accommodate herself/himself to the operating system.  It is an enterprise class system.  That is the underlying (and perhaps unspoken) assumption by many of us who continue using the OS.  Take as an specific example the filter driver Up to 2 Terabytes hard disks support for OS/2 v1.0.2 made available on Hobbes by Stepan Kazakov.

An advantage of assigning the whole 200Gb disk to an LVM unit is that it is also able to be mounted by Linux ("out of the box" with Debian and SuSE).  If the drive were partitioned into 100Gb chunks and subsequently those were collected into a single LVM unit, then Linux can not access the LVM drive.  Additionally, for recovery operations, it is easier to recover from a single partition mapped to a single LVM unit.  It is usually the case that when an attempt to recover data from an LVM collection of hard disks and/or partitions, the current JFS recovery utilities will salvage trunked data files.

For those of us who need flexibility in accessing data the whole disk assigned to LVM is the preferred option.
[...]

kim

Quote from: El Vato on 2008.01.04, 22:04:45One of the features of the OS/2 is that it should not constrain the user to accommodate herself/himself to the operating system.  It is an enterprise class system.  That is the underlying (and perhaps unspoken) assumption by many of us who continue using the OS.  Take as an specific example the filter driver Up to 2 Terabytes hard disks support for OS/2 v1.0.2 made available on Hobbes by Stepan Kazakov.

So what you're saying is that this filter driver will solve BIOS issues then (without saying that is the issue for RobertM) for not supporting large drives?

El Vato

#6
Quote from: kimhav on 2008.01.05, 12:53:00
Quote from: El Vato on 2008.01.04, 22:04:45
[...] filter driver Up to 2 Terabytes hard disks support for OS/2 v1.0.2 made available on Hobbes by Stepan Kazakov.

So what you're saying is that this filter driver will solve BIOS issues then (without saying that is the issue for RobertM) for not supporting large drives?

What I am saying is that I consider --as a given-- the technical level of the user asking the question --no conflict, no interest ... ;)