|
|
HP-UX Reference > Rramdisc(7)HP-UX 11i Version 2: December 2007 Update |
|
NAMEramdisc — RAM disk device driver DESCRIPTIONThe ramdisc driver supports numerous RAM disk devices that are created by the system either during the boot process or during normal system operation. One RAM disk volume is created during the boot process. Up to 15 RAM disk volumes can be created during normal system operation. RAM disk volumes created during normal system operation can be swappable or nonswappable volumes. Nonswappable RAM disk volumes reserve the kernel space memory of the system during their creation. The size of kernel space memory reserved is the same as the size of the RAM disk volume created. This reserved memory can only be used by read and write operations on the RAM disk volume. The reserved memory is freed when the nonswappable RAM disk volume is deallocated. Nonswappable RAM disk volumes can be created using ramutil (see ramutil(1M)). Swappable RAM disk volumes reserve the user space memory of the system during their creation. The size of user space memory reserved is the same as the size of the RAM disk volume created. The reserved user space memory is swappable when there is memory contention on the system. Swappable RAM disk volumes can be created using ramutil (see ramutil(1M)). Minor Number FormatMinor number format for a RAM disk volume is:
DEVICE SPECIAL FILESThe following device special files are associated with RAM disk volumes:
Each RAM disk volume can be accessed either as a block device or as a raw device. When a RAM disk volume is accessed as a block device, the normal buffering mechanism is used when reading from and writing to the device without regard to physical disk records. Accessing the RAM disk volume as a raw device enables direct transmission between the disk and the read or write buffer. A single read or write call usually results in a single I/O operation, meaning that raw I/O is more efficient when many bytes are transmitted. ERRORSramdisc returns the following errors:
WARNINGSHP-UX 11i v2 (11.23) Ramdisc version 1 has not been certified for use with HP's Logical Volume Manager (LVM) in mirrored configurations. HP does not support such configurations since there is a possibility of data loss from a redundancy failure of a physical disk or disk interface component. Other LVM mirrored configuration failure modes may exist that may further impact data integrity. Note: RAM disk data is not persistent across system reboots. HP disclaims all warranties, express or implied, including but not limited to the implied warranties of merchantability, fitness for a particular purpose, and noninfringement, if you use HP-UX 11i v2 (11.23) Ramdisc version 1 with LVM mirrored configurations, and you assume all responsibility for any problems resulting from such usage in these configurations. Third party products exist that provide RAM-disk based LVM mirrored configurations with additional support software; these products are delivered on configurations tested and validated by the product vendor. The use of such products is permitted on 11i v2 (11.23); the third party product vendors are responsible for supporting these products. |
|