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 <https://www.listbox.com/member/archive/184463/=now> <https://www.listbox.com/member/archive/rss/184463/26368559-ba231e1c> | Modify <https://www.listbox.com/member/?&;> Your Subscription [Powered by Listbox] <http://www.listbox.com>





-------------------------------------------
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