[smartos-discuss] 答复: getxattr()/setxattr() on SmartOS platform

2016-06-16 Thread
notion of per-fd credentials. */ So wondering whether Joyent team has a chance to finish this? Tons of thanks in advance. 发件人: 龙白滔 <longbai...@briphant.com> 发送时间: 2016年6月16日 13:28:39 收件人: smartos-discuss@lists.smartos.org 主题: [smartos-discuss] ge

[smartos-discuss] 答复: [smartos-discuss] getxattr()/setxattr() on SmartOS platform

2016-06-16 Thread
martOS platform On 6/15/16 22:28 , 龙白滔 wrote: > 2. are getxattr()/setxaddr() natively supported on SmartOS platform? if not > so, how to achieve similar purpose? While it seems like you've already discovered the answer to your first question, I thought I'd go through and answer this in a bit

[smartos-discuss] getxattr()/setxattr() on SmartOS platform

2016-06-15 Thread
Hello, all, We ran Sheepdog server in lx-branded zone and the execution went to "else" block while "if" one is expected. #define MDNAME "user.md.size" #define MDSIZE sizeof(uint64_t) if (getxattr(path, MDNAME, , MDSIZE) < 0) { if (errno == ENODATA) {

[smartos-discuss] 答复: [smartos-discuss] Convert a Linux VM into LX zone dataset

2016-08-13 Thread
X zone dataset On 08/13/16 05:00 PM, 龙白滔 wrote: Hi, all, We now using KVM to run Linux on SmartOS and are considering moving all such workload into LX zones. Is there a way to convert all KVM Linux VMs into LX zone datasets? Btw, we now run only SmartOS machines not a full Joyent Trition enviornment

[smartos-discuss] Convert a Linux VM into LX zone dataset

2016-08-12 Thread
Hi, all, We now using KVM to run Linux on SmartOS and are considering moving all such workload into LX zones. Is there a way to convert all KVM Linux VMs into LX zone datasets? Btw, we now run only SmartOS machines not a full Joyent Trition enviornment. Many thanks. Baitao from Briphant

[smartos-discuss] 答复: [smartos-discuss] how to allocate VCPUs from a single socket

2016-08-18 Thread
How I can achieve so? Thanks. 发件人: Ian Collins <ian.iansh...@gmail.com> 发送时间: 2016年8月19日 12:01:39 收件人: smartos-discuss@lists.smartos.org 主题: Re: [smartos-discuss] how to allocate VCPUs from a single socket On 19/08/16 3:22 pm, 龙白滔 wrote: Hi, We are

[smartos-discuss] a HA DB deployment using COMSTAR

2016-08-24 Thread
hi, We'd like to move a HA DB deployment to SmartOS. The old deplpyment is: a DB server is deployed on SAN storage, and two application servers connect to the DB server and synchronize access(read & write) to it. We plan to re-deploy in this way on SmartOS: 1. make a raid10 zpool on a

[smartos-discuss] 答复: [smartos-discuss] a HA DB deployment using COMSTAR

2016-08-24 Thread
iscuss] a HA DB deployment using COMSTAR > On Aug 24, 2016, at 8:21 PM, 龙白滔 <longbai...@briphant.com> wrote: > > hi, > > We'd like to move a HA DB deployment to SmartOS. The old deplpyment is: a DB > server is deployed on SAN storage, and two application servers connect to th

[smartos-discuss] the controller information on SmartOS machine

2016-09-04 Thread
hi, We'd like to know which controller (e.g., on-board or separate SATA/SAS controller or HBA card) a disk device (HDD or SSD) is attached on a SmartOS machine. How can we achieve this information? Your information will be appreciated. Baitao from China

[smartos-discuss] SmartOS partitioning can't exceed 2T size

2016-08-30 Thread
Hi, We'd like to partition large-sized (e.g., 4TB or above) HDD disks into 2TB partitions, and read from Oracle Solaris mannual that Solaris (on x86 paltform) can't recognize the disk space beyond 2TB when using partition unless the disk is used as a whole. Wondering whether it is the case?

[smartos-discuss] Can COMSTAR run in a user zone?

2016-08-30 Thread
Hi, We'd like to run a COMSTAR based storage virtualization solution on SmartOS. The problem is that COMSTAR seems available only in GZ. In my understanding, GZ seems the all resourdes of the entire machine and can use all of them. However, we still allocate some VMs (of KVM, native zone, or

[smartos-discuss] using dedicated disk device as KVM VM's additional disks

2016-08-26 Thread
hi, We' d like our KVM VMs to use iSCSI storage directly, say mapping an iSCSI target to a local device and dedicating it to a KVM VM as a secondary disk. How can we achieve so using SmartOS vmadm? Appreciate your kind help. Baitao from China ---

[smartos-discuss] 答复: [smartos-discuss] using dedicated disk device as KVM VM's additional disks

2016-08-26 Thread
t 7:27 AM, 龙白滔 <longbai...@briphant.com<mailto:longbai...@briphant.com>> wrote: hi, We' d like our KVM VMs to use iSCSI storage directly, say mapping an iSCSI target to a local device and dedicating it to a KVM VM as a secondary disk. How can we achieve so using SmartOS vmadm? Ap

[smartos-discuss] 答复: [smartos-discuss] Intel NUC with M2 drive support on SmartOS

2017-08-01 Thread
Hi, SmartOS supports both M.2 SATA and M.2 PCIe drives. I am using a NUC Kit (NUC6CAYH) and a Giga Z97 system with a M.2 SATA and a M.2 PCIe drive respectively. They both work well. Although I am using the latest SmartOS image, I don't think it necessary. Cheers. Baitao Long

[smartos-discuss] can't boot SmartOS on H170/B150/B250 chipset with latest BIOS on Giga motherboard

2017-08-17 Thread
Hi, all I was trying boot SmartOS on GIGA motherboard with Intel H170 chipset. It works out with an older version (of 2015) of BIOS. After I updated the latest BIOS, the system hanged when showing "Joyent and the version of SmartOS". Unfortunately, the BIOS can't be rollback. I tried two

[smartos-discuss] problem in samba sharing mount in LX centos-7

2018-04-07 Thread
hi, folks, I was trying to mount samba sharing directory under LX centos-7 and encounted below problem. [cid:5a33ff52-c7f2-48dc-8d25-051ba2277bf9] I used the latest centos-7 lx dataset whose image uuid is 3dbbdcca-2eab-11e8-b925-23bf77789921 from Joyent (20180323). Then I installed