RE: [smartos-discuss] How to mount different zfs volumn to the same lx branded zone

2016-03-15 Thread Jorge Schrauwen
Hey Josh, I just remembered this https://github.com/joyent/smartos-live/issues/510 So only add_filesystems is implemented. Regards Jorge On 2016-03-14 17:22, Josh Wilsdon wrote: >> I used vmadm, it works fine for adding but updating/remove is a bit flaky. > > Hi Jorge, > > Could you

RE: [smartos-discuss] How to mount different zfs volumn to the same lx branded zone

2016-03-14 Thread Jorge Schrauwen
Only the _filesystem variants. If memory serves me right: adding them on creation -> OK Some of add_filesystems, remove_filesystems or update_filesystems was broken... I think it was update and remove. I just stopped trying that all together and recreaste the entire zone of I need to do a

RE: [smartos-discuss] How to mount different zfs volumn to the same lx branded zone

2016-03-14 Thread Jorge Schrauwen
s] 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 t

Re: [smartos-discuss] How to mount different zfs volumn to the same lx branded zone

2016-03-14 Thread 王靖
255.255.255.0", "gateway": "10.20.2.1", "primary": "1" } ] } On Mar 14, 2016, at 8:42 PM, Fred Liu <fred_...@issi.com<mailto:fred_...@issi.com>> wrote: From: Jorge Schrauwen [mailto:sjorge...@blackdot.be] Sent: 星期六, 三月 12,

RE: [smartos-discuss] How to mount different zfs volumn to the same lx branded zone

2016-03-14 Thread Fred Liu
From: Fred Liu [mailto:fred_...@issi.com] Sent: 星期六, 三月 12, 2016 17:50 To: smartos-discuss@lists.smartos.org; smartos-discuss@lists.smartos.org Subject: Re: [smartos-discuss] How to mount different zfs volumn to the same lx branded zone It seems hardware pass-through is not applicable

Re: [smartos-discuss] How to mount different zfs volumn to the same lx branded zone

2016-03-12 Thread Ian Collins
On 03/12/16 22:49, Fred Liu wrote: It seems hardware pass-through is not applicable in SmartOS from what I know. But there are some indirect methods(NFS/iSCSI) you can try for there is almost no network overhead in LX. What problem are you trying to solve? Have you tried just using one

Re: [smartos-discuss] How to mount different zfs volumn to the same lx branded zone

2016-03-12 Thread Jorge Schrauwen
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' ] Regards Jorge On 2016-03-12 12:08, 王靖 wrote: > Thanks for your reply. > > Do you mean that I can solve this issue without using

Re: [smartos-discuss] How to mount different zfs volumn to the same lx branded zone

2016-03-12 Thread 王靖
Thanks for your reply. Do you mean that I can solve this issue without using NFS/iSCSI/SMB? In my case, there are one physical machine, 4 SSD, 1 SATA. I group SATA into a pool naming sata_zpool and also group SSD to a pool naming zones. #zpool create sata_zpool c2t3d0 #zfs create -V 50G

Re: [smartos-discuss] How to mount different zfs volumn to the same lx branded zone

2016-03-12 Thread Jorge Schrauwen
If you just want the storage and not the zfs management layer... You can look in 'man vmadm' under the filesystems property. I use it and it works great to expose my bulk data to multiple zones. On 2016-03-12 10:49, Fred Liu wrote: > It seems hardware pass-through is not applicable in SmartOS

Re: [smartos-discuss] How to mount different zfs volumn to the same lx branded zone

2016-03-12 Thread Ian Collins
On 03/12/16 21:49, 王靖 wrote: Thanks for your reply. I try to install NOSQL database aerospike in a > lx branded zone. It seems that aerospike can put data in SSD and > SATA, so I want to have a lx branded zone that have SSD and SATA, in > this way I can store most of the data on SATA while use

Re: [smartos-discuss] How to mount different zfs volumn to the same lx branded zone

2016-03-12 Thread 王靖
Thanks for your reply. I try to install NOSQL database aerospike in a lx branded zone. It seems that aerospike can put data in SSD and SATA, so I want to have a lx branded zone that have SSD and SATA, in this way I can store most of the data on SATA while use SSD as a cache. Jing On Mar 12,

Re: [smartos-discuss] How to mount different zfs volumn to the same lx branded zone

2016-03-12 Thread Ian Collins
On 03/12/16 20:15, 王靖 wrote: Dear all, My physical machine has one SSD and several SATA. Then I > wan to create a lx branded zone and put some specified data in SSD > and the other data in SATA. I created ssd_pool and sata_pool by these > commands > > zpool create ssd_pool c2t3d0 zfs create