Hi Will,

Thanks for your help. I can mount the tmpfs step by step.


But here is a very strange problem, the iops of the tmpfs is very very low, 
even worse than the HDD.


Have you ever evaluated the performance of the Tmpfs?


Looks so wired.


Original Message
Sender:Will [email protected]
Recipient:[email protected]
Date:Tuesday, Oct 20, 2015 11:34
Subject:Re: [smartos-discuss] How to create ramdisk in the zone


You can at a minimum create in the GZ and export it to the zone.
 You should be able to do it thus:

 ramdiskadm -a workdisk1 8180m
 zpool create ramworkdisk /dev/ramdisk/workdisk1
 zfs create ramworkdisk/tmpfs 
 zfs set mountpoint=/tmpfs ramworkdisk/tmpfs 
 zfs set mountpoint=/zones/*******-d1ec-4035-b19f-aa77cb41c74a/root/tmpfs 
ramworkdisk/tmpfs 

 I just grabbed this out of my history so there may be gap or two.

 Yes, I likely should have called it '/tmpfs'.

 Apologies for any omissions or other mistakes.

 Thank You,
 Will



On 10/19/15 10:05 PM, Haochen Zhang wrote:

Hi All,


I’d like to create a ramdisk in the zone, but ramdiskadm cmd report missing 
‘/dev/ramdiskctl’.


So is there any way to create a ramdisk in the zone or it is currently not 
supported.


smartos-discuss | Archives | Modify Your Subscription


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to