Author Topic: RAM disk does not work anymore  (Read 400 times)

Martin Vieregg

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 3
  • Posts: 72
    • View Profile
RAM disk does not work anymore
« on: August 07, 2019, 09:00:43 am »
ArcaOS RAM disk does not work anymore. A hardware problem is possible, I had two other programs which does not run anymore (and I could fix it by re-copying the content of C). Four files are used:

c:\os2ldr.cfg (hidden)
file content:
RAMDISK = HPFS PERSIST *:
RAMDISKNAME = Z

c:\os2\boot\HD4DISK.ADD
c:\os2\boot\MEMDISK.ADD

Then there's a setup program with user interface:
C:\sys\bin\HIDISK.EXE

Any ideas what is also needed ? How can I find out why it fails?

Martin Vieregg

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 3
  • Posts: 72
    • View Profile
Re: RAM disk does not work anymore
« Reply #1 on: August 07, 2019, 09:26:53 am »
I have realized that the RAM disk is working, but there's a wrong drive letter. os2ldr.cfg holds:
RAMDISK = HPFS PERSIST Z:
RAMDISKNAME = Ramdisk Z

Drive Z seems to be occupied. Any ideas? Drive Y works.

David Graser

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 57
  • Posts: 505
    • View Profile
Re: RAM disk does not work anymore
« Reply #2 on: August 07, 2019, 10:31:27 am »
I have realized that the RAM disk is working, but there's a wrong drive letter. os2ldr.cfg holds:
RAMDISK = HPFS PERSIST Z:
RAMDISKNAME = Ramdisk Z

Drive Z seems to be occupied. Any ideas? Drive Y works.

Did you go into System Setup and select RAMDISK and assign it a drive letter?  You set up the RAMDISk with the RAMDISK icon
« Last Edit: August 07, 2019, 10:33:02 am by David Graser »

Doug Bissett

  • Hero Member
  • *****
  • Thank You
  • -Given: 1
  • -Receive: 46
  • Posts: 1231
    • View Profile
Re: RAM disk does not work anymore
« Reply #3 on: August 07, 2019, 04:12:21 pm »
Quote
c:\os2\boot\MEMDISK.ADD

Why do you have this? MEMDISK is a completely different RAMDISK, normally only used for running the installer (and it uses drive Z:).

Quote
Drive Z seems to be occupied. Any ideas? Drive Y works.

Probably because MEMDISK took drive Z:. Z: is not a good drive letter to use for anything, but it should work. Take MEMDISK out of CONFIG.SYS.

Martin Vieregg

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 3
  • Posts: 72
    • View Profile
Re: RAM disk does not work anymore
« Reply #4 on: August 08, 2019, 11:11:08 am »
Now it works again, I did not understand why. MEMDISK is not part of my Config.sys, this was a failure in the post. Of course I selected the drive letter in the setup program.

Dave Yeo

  • Hero Member
  • *****
  • Thank You
  • -Given: 11
  • -Receive: 149
  • Posts: 2115
    • View Profile
Re: RAM disk does not work anymore
« Reply #5 on: August 08, 2019, 04:50:08 pm »
If you have "Preserve contents after warm reboot" ticked and you do a short power off, the ram disk can get broken. Fix is a longer power off.
Here the ramdisk can survive a few seconds of power off, slightly longer and it can be formatted and come back to live, slightly longer and it is unusable, slightly longer again and it comes up empty. Kind of surprised me how long the ram preserves its contents.