Question & Answer
Question
How do I create a ramdisk filesystem
Answer
• Create a RAM disk for instance of 1GB:
# mkramdisk 1G
/dev/rramdisk0
• Create a JFS2 file system on this RAM disk
# mkfs -V jfs2 /dev/ramdisk0
mkfs: destroy /dev/ramdisk0 (y)? y
File system created successfully.
1048340 kilobytes total disk space.
Device /dev/ramdisk0:
Standard empty file system
Size: 2096680 512-byte (DEVBLKSIZE) blocks• Create mount point
• Create the mount point:
# mkdir /ramdisk
• Mount RAM file system
# mount -V jfs2 -o log=NULL /dev/ramdisk0 /ramdisk
Thank you very much for taking the time to read through this guide.
I hope it has been not only helpful but an easy read. If you feel you have found any inconsistencies,
Please don’t hesitate to email me at ahdmashr@eg.ibm.com
Ahmed Mashhour
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
isg3T1024672