vmadm
below is my steps
1、SmartOS already has pool zones(ssd), and I insert the SATA hard disk

zpool create sata_pool c2t3d0

2、test.son

{
  "brand": "lx",
  "image_uuid": "aae64e42-c88d-11e5-a49d-87f422b1820b",
  "alias": "test",
  "kernel_version": "3.10.0",
  "hostname": "test",
  "max_physical_memory": 1024,
  "resolvers": [
    "114.114.114.114",
    "8.8.8.8"
  ],
  "quota": "10",
  "filesystems": [
    {
      "type": "lofs",
      "source":"/sata_pool",
      "target":"/test"
    }
  ],
  "nics": [
    {
      "nic_tag": "admin",
      "ip": "10.20.2.49",
      "netmask": "255.255.255.0",
      "gateway": "10.20.2.1",
      "primary": "1"
    }
  ]
}


On Mar 14, 2016, at 8:42 PM, Fred Liu 
<[email protected]<mailto:[email protected]>> wrote:



From: Jorge Schrauwen [mailto:[email protected]]
Sent: 星期六, 三月 12, 2016 19:37
To: [email protected]<mailto:[email protected]>
Cc: 王靖
Subject: Re: [smartos-discuss] How to mount different zfs volumn to the same lx 
branded zone


Yes, it will work as long as the zone is on the same server as the data.

type needs to be set to 'lofs', you probably also want 'options' set to [ 
'nodevice' ]



[Fred]: Did you update these by vmadm or zonecfg?  In  my tests, it works in 
zonecfg not vmadm.



Thanks.



Fred

smartos-discuss | Archives<https://www.listbox.com/member/archive/184463/=now> 
[https://www.listbox.com/images/feed-icon-10x10.jpg3e17dd9.jpg?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2ZlZWQtaWNvbi0xMHgxMC5qcGc]
 <https://www.listbox.com/member/archive/rss/184463/27989153-41c8820b>  | 
Modify<https://www.listbox.com/member/?&;> Your Subscription       
[https://www.listbox.com/images/listbox-logo-small.png3e17dd9.png?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2xpc3Rib3gtbG9nby1zbWFsbC5wbmc]
 <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