User Tools

Site Tools


aix:create_ram_disk

Create a RAM disk on AIX

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
aix/create_ram_disk.txt · Last modified: 2021/01/01 21:21 (external edit)