RAM disk is very useful to test the performance of a server, without any impact on disk speed. Run the following commands to setup a Ram Disk, the disk will not be recreated after bootup:
# mkramdisk 16G # ls -l /dev | grep ram # mkfs -V jfs2 /dev/ramdiskx # mkdir /ramdiskx # mount -V jfs2 -o log=NULL /dev/ramdiskx /ramdiskx
To remove the RAM filesystem:
# unmount /ramdiskx # rmramdisk /dev/ramdiskx