Niranjan,

Hi,
I want to create ramdisk on a Open Solaris server. I am not very familiar with creating ramdisk and using it. The whole idea is, after creating the ramdisk we are going to use it as comstar traget device for fcoe iops evaluation purpose on a vendor NIC. Any idea on how to create the ramdisk is appreciated.

You could either use ramdiskadm(1M), or create a file in /tmp (or other tmpfs filesystem area) with mkfile(1M) or directly with stmfadm (1M)

# ramdiskadm -a disk_A 200m
/dev/ramdisk/disk_A

# stmfadm create-lu /dev/rramdisk/disk_A
Logical unit created: 600144F00800271A9DF44AF23F3F0001

OR

# mkfile -nv 200m /tmp/file_A
/tmp/file_A 209715200 bytes

# stmfadm create-lu /tmp/file_A
Logical unit created: 600144F00800271A9DF44AF240FB0002

OR

# stmfadm create-lu -s 200m /tmp/file_A
Logical unit created: 600144F00800271A9DF44AF2413E0003

- Jim


Thanks,
Niranjan
--
This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
storage-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/storage-discuss


_______________________________________________
storage-discuss mailing list
storage-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to