Problem
I want to create a ramdisk(HW) or ramdisks on my system where the sum total of all the ramdisks will exceed 152Mb in size.
The ramdisk(ADM) documentation indicates that I can create a single ramdisk of up to 512Mb in size.
I have used mknod(ADM) to create the ramdisk as follows:
mknod /dev/ram512 b 31 248where /dev/ram512 is a block device, 31 is the major number of the ram device driver, and the minor number 248 represents a permanent 512Mb ramdisk.
I then use mkfs(ADM) to create a 1Mbyte filesystem on the device using this command:
mkfs /dev/ram512 2048This results in the error message:mkfs: /dev/ram512: cannot open: Not enough space (error 12)
Cause
There is an internal limitation in the SCO OpenServer Release 5.0.0 kernel that will prevent more than 152Mb being allocated for use with the ramdisk(ADM) driver.
Furthermore, this memory must be available in one contiguous fragment for the ramdisk driver to function correctly.
Solution
The 152Mb memory and contiguous memory limitations have been removed in the SCO Large System Supplement Release 1.0.0.
See also
TA105137, "What is the Large Server Supplement Version 1.0.1 and how can I obtain it?"