On 7/25/16 3:59 , 史鑫鑫 wrote: > Hi Ian, > > You means delegate a volume to non-global zone? Volume can’t be delegated to > a non-global zone. > I tried delegate a file system to a zone, but we prefer to add a raw device, > but add a whole disk to zone may wast too much disk, so I would like add a > volume to non-global zone.
This isn't quite accurate. When you delegate something, you delegate a dataset. Those datasets can have children. While the initial dataset isn't a zvol, if you want one, you can just use zfs create inside of the zone to make a child dataset that's a volume. Robert > 在 16/7/25 下午6:49,“Ian Collins”<[email protected]> 写入: > >> On 07/25/16 10:45 PM, 史鑫鑫 wrote: >>> Hi dear, >>> >>> I would like to add a zfs volume to a lx branded zone. >>> Firstly, zfs volume exported as a raw or block device; >>> Secondly, my application can write to a disk directly to get a better >>> performance; >>> Thirdly, I have a few disks and I create a pool on these disks. I got >>> many lx branded zone on this machine, I would like to use volume or a >>> slice of disk to store data on each virtual machine. >>> >> >> What is wrong with a delegated dataset? >> >> -- >> Ian. >> > > ------------------------------------------- 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
