AIX mkramdisk
Examples
1 To create a new ram disk using a default 512-byte block size, and the size is 500 MBs (1048576 * 512), enter:
mkramdisk 1048576
/dev/rramdisk0
The /dev/rramdisk0 ramdisk is created.
2 To create a new ramdisk with a size of 500 Megabytes, enter:
mkramdisk 500M
/dev/rramdisk0
The /dev/rramdisk0 ramdisk is created. Note that the ramdisk has the same size as example 1 above.
3 To create a new ram disk with a 2-Gigabyte size, enter:
mkramdisk 2G
/dev/rramdisk0
4 To set up a RAM disk that is approximately 20 MB in size and create a JFS file system on that RAM disk, enter the
following commands:
mkramdisk 40000
ls -l /dev | grep ram
mkfs -V jfs /dev/ramdiskx
mkdir /ramdisk0
mount -V jfs -o nointegrity /dev/ramdiskx /ramdiskx
x is the logical RAM disk number.
To set up a RAM disk that is approximately 20 MB in size and create a JFS2 file system on that RAM disk, enter the
following commands:
mkramdisk 40000
ls -l /dev | grep ram
/sbin/helpers/jfs2/mkfs -V jfs2 /dev/ramdiskx
mkdir /ramdiskx
mount -V jfs2 -o log=NULL /dev/ramdiskx /ramdiskx
x
is the logical RAM disk number. Note: For both JFS and JFS2, for using a file system on a RAM disk, the RAM disk must
be pinned.
Files
/usr/sbin/mkramdisk
Contains the mkramdisk command.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/350519/viewspace-1056389/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【AIX】AIX程式監控工具AI
- 【AIX】AIX中級試題AI
- aixAI
- 【AIX】AIX記憶體機制AI記憶體
- 【AIX】AIX 下磁碟 I/O 效能分析AI
- AIX VGDAAI
- AIX NFSAINFS
- aix 雜AI
- AIX命令AI
- aix topasAI
- aix mountAI
- AIX LPARTAI
- 在AIX4.3.3 ; AIX5.1 和 AIX5.2上安裝OpenSSHAI
- 【AIX-PS】AIX系統ps命令詳解AI
- prtconf aix --檢視AIX的結構資訊AI
- Aix之 xmanager 2.0連線AIX伺服器AI伺服器
- 【AIX】AIX 開機自動掛載NFS共享AINFS
- 【IBM-AIX】-aix恢復root密碼IBMAI密碼
- 【AIX】AIX系統下檢視磁碟陣列AI陣列
- 【AIX】topas命令AI
- AIX磁碟管理AI
- aix tune 1AI
- AIX筆記AI筆記
- AIX ODM操作AI
- AIX試題AI
- AIX重啟AI
- AIX 網路卡AI
- aix時區AI
- AIX 網路AI
- AIX VG操作AI
- aix /var 滿AI
- AIX操作命令AI
- AIX vmstat分析AI
- 中國AIX社群AI
- 【AIX】 snap 命令AI
- AIX LV操作AI
- aix做etherchannelAI
- aix打patchAI