Re: [smartos-discuss] zvol image on image server

2018-06-27 Thread Humberto Ramirez
While creating an image is more efficient and should be the way to do it (specially if you plan to deploy it multiple times) you can also do this: Create a folder inside /zones to store the files. 1. Shutdown the VM and snapshot all hard drives zfs snap zones/uuid-disk0 zfs snap

Re: [smartos-discuss] Firefox compilation issue

2018-05-02 Thread Humberto Ramirez
Pardon my ignorance but aren't these packages -given the correct environment- be able to compile without problems? On Tue, May 1, 2018, 12:43 PM Jonathan Perkin wrote: > * On 2018-05-01 at 17:10 BST, karthik wrote: > > > I am trying to compile firefox (www/firefox package)

Re: [smartos-discuss] RFD 121 bhyve brand

2018-01-14 Thread Humberto Ramirez
Hi, the RFD begins with this: For reasons beyond the scope of this document, bhyve is needed by SmartOS The reasoning behind bhyve's inclusion in SmartOS might be obvious for some of you guys but it's not completely clear to me I would have assume that simply put it's technically superior to KVM

Re: [smartos-discuss] Single instance SmartOS w/Docker?

2017-08-26 Thread Humberto Ramirez
This has been discussed before by Jorge Schrauwen and others and it would be a great addition to SmartOS. From the technical point of view is there any particular limitation that prevents the use of docker V2 repositories/images? or is it purely because of the lack of developers and resources? Or

Re: [smartos-discuss] Triton Data Center Question

2017-07-31 Thread Humberto Ramirez
Here you go: https://us-east.manta.joyent.com/Joyent_Dev/public/SmartDataCenter/usb-latest.tgz On Jul 31, 2017 19:58, "Lonnie Cumberland" wrote: > Greetings, > > Please forgive my newness as I am at the beginning of the learning curve > on this exciting journey of

Re: [smartos-discuss] Zone Vulnerabilities Dectected

2017-07-28 Thread Humberto Ramirez
Have you tried to exploit any of this "vulnerabilities" ? On Fri, Jul 28, 2017 at 2:23 AM, Joven Sabanal wrote: > Hi all, > > We are doing vulnerability scan on our Zone virtual machine and we found > vulnerabilities that need to resolve in order to pass the

Re: [smartos-discuss] Induce KVM startup delay

2017-06-29 Thread Humberto Ramirez
gt; >> Have you tried just going to 'msconfig' tool and telling it to boot safe >> mode? Haven't tried this yet but it may work. >> >> There's also the shutdown /o option but I've had no luck getting the >> command to take. >> >> Derek >> >> On Tue, J

Re: [smartos-discuss] Induce KVM startup delay

2017-06-27 Thread Humberto Ramirez
Haven't tried this yet but it may work. > > There's also the shutdown /o option but I've had no luck getting the > command to take. > > Derek > > On Tue, Jun 27, 2017 at 11:10 AM, Humberto Ramirez <harl2...@gmail.com> > wrote: > >> My VMs have static vnc por

Re: [smartos-discuss] Induce KVM startup delay

2017-06-27 Thread Humberto Ramirez
My VMs have static vnc ports assigned at creation on the json file, random vnc ports are not the issue. On Jun 27, 2017 11:45 AM, "Humberto Ramirez" <harl2...@gmail.com> wrote: > Which VNC client do you use? > > I'm trying tight vnc but that trick doesn't work... >

Re: [smartos-discuss] vmadm and overlays

2017-06-07 Thread Humberto Ramirez
Thanks for sharing, I wish you didn't have beg somebody to contribute to the wiki... On Jun 7, 2017 6:11 PM, "Ján Poctavek" wrote: > Just to add credits, I've done it with great help of jurajlutter. > > Thanks > > > On 7. 6. 2017 23:59, Ján Poctavek wrote: > >>

Re: [smartos-discuss] DNS server in zone

2017-05-30 Thread Humberto Ramirez
How does your dnsmasq.conf looks? On May 30, 2017 8:33 AM, "the outsider" wrote: > I try to get DNSMASQ running inside a plain SmartOS zone with 3 nics. > > > > Each nic is connected to a switchport and each switchport has its own VLAN > defined. > > > > There is no

Re: [smartos-discuss] Asterisx on native zone?

2017-05-05 Thread Humberto Ramirez
Not what you're looking for, but Mark Slatem has been running FreeSwitch on native zones for a long time, take a look: https://youtu.be/vpGP_d_ED7Y Asterisk should work... On May 4, 2017 9:07 PM, "Rob Seastrom" wrote: > > Haven't seen anyone here ask about

Re: [smartos-discuss] NFS Server inside a Zone

2017-03-24 Thread Humberto Ramirez
What was the reasoning behind leaving NFS out? (considering the roots at Sun etc) On Mar 24, 2017 10:45 AM, "Dan McDonald" wrote: > > > On Mar 24, 2017, at 10:37 AM, Jerry Jelinek > wrote: > > > > illumos as a whole, and any distribution built

Re: [smartos-discuss] disk speeds and ramdisks

2017-02-24 Thread Humberto Ramirez
> Unless you understand each of the tunables and what they impact, do > yourself a favor > and avoid putting them on your system. In some cases, they are documented > in the > Solaris kernel tunables guide, in other cases they are documented only in > source code. > — richard > >

Re: [smartos-discuss] disk speeds and ramdisks

2017-02-24 Thread Humberto Ramirez
e that the ramdisk doesn't participate in those performance > enhancing schemes but still being brought online by ZFS has its overheads; > thus it gets all slowdowns but none of the compensating speed-ups. > > I am not sure if I am going to abandon this path and just be happy with > t

Re: [smartos-discuss] disk speeds and ramdisks

2017-02-23 Thread Humberto Ramirez
Did you re-run the dd tests after tweaking those parameters? On Feb 22, 2017 11:52 AM, "Will Beazley" wrote: Mille Grazie! On 2/21/17 23:12, Artem Penner wrote: Read about this kernel parameters zfs:zfs_dirty_data_max zfs:zfs_txg_timeout zfs:zfs_dirty_data_sync

Re: [smartos-discuss] Reboot GZ

2017-01-31 Thread Humberto Ramirez
I typically use vmadm stop uuid and I get proper shutdowns, am I doing it wrong?? On Jan 31, 2017 1:17 PM, "Tamás Gérczei" wrote: > @Jorge: it does, provided apmd is running... > > tgerczei@router (~) $ grep apm /etc/rc.conf.local > apmd_flags="" # we need

Re: [smartos-discuss] Can not override physical sector disks

2016-09-20 Thread Humberto Ramirez
Is there a definitive approach / guide / manual / wiki as to how to properly work / replace 4k - 512 - 512e disks? This has been asked before, here and in some other lists and obviously continues to be a source of problems and confusion... On Sep 19, 2016 11:54 PM, "Joshua M. Clulow"

Re: [smartos-discuss] "Fast" machine inexplicably slow

2016-08-25 Thread Humberto Ramirez
10, 2016 at 5:36 AM, Ian Collins <ian.iansh...@gmail.com> wrote: > On 08/10/16 02:40 AM, Humberto Ramirez wrote: >>> >>> I think I've earned the dunce's hat for the week. >>> >>> The zone on the new box had a cpu_cap of 100, so it was trying to run as >

Re: [smartos-discuss] USB Fat32 or NTFS Read/Write Support inside zone

2016-08-24 Thread Humberto Ramirez
So I can specify the device ie: /dev/dsk/c0t0d0p0 from inside the zone? On Aug 24, 2016 10:12 AM, "Robert Mustacchi" <r...@joyent.com> wrote: > On 8/4/16 11:36 , Humberto Ramirez wrote: > > Hi, is there a way to accomplish read/write support for fat32 or NTFS usb > &

Re: [smartos-discuss] Export the dataset as docker image or container's filesystem

2016-08-17 Thread Humberto Ramirez
You would do something like: zfs send filesystem@snapshot | tar czvf zfsfile.tar.gz Or you can also use plain gzip: zfs send filesystem@snapshot | gzip > zfsfile.gz On Wed, Aug 17, 2016 at 11:26 PM, 郑圆杰 wrote: > Hi all, > > > We run docker image on lx zone, and

[smartos-discuss] zfs promote on a zone gone wrong...

2016-08-13 Thread Humberto Ramirez
joyent_20151210T194528Z While playing with zones I encounter the following issue: I cloned a zone via zfs clone, I then promoted the resulting file system with 'zfs promote' (no good reasoning behind this decision) After destroying a zone via vmadm destroy, the file system remains and I'm

Re: [smartos-discuss] "Fast" machine inexplicably slow

2016-08-09 Thread Humberto Ramirez
> I think I've earned the dunce's hat for the week. > > The zone on the new box had a cpu_cap of 100, so it was trying to run as a > one core box... Which is what the "wait" states in prstat where telling me > all along. > > Change that to 3200 and it builds in half the time as expected. > > -- >

Re: [smartos-discuss] "Fast" machine inexplicably slow

2016-08-07 Thread Humberto Ramirez
I assume you used the prctl command to change the zone cap, what syntax did you use? does is apply to KVMs as well? thx. On Sun, Aug 7, 2016 at 12:51 AM, Ian Collins wrote: > On 08/ 7/16 04:22 PM, Joshua M. Clulow wrote: >> >> On 6 August 2016 at 21:10, Ian Collins

[smartos-discuss] USB Fat32 or NTFS Read/Write Support inside zone

2016-08-04 Thread Humberto Ramirez
Hi, is there a way to accomplish read/write support for fat32 or NTFS usb devices from a zone or from the GZ? --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed:

[smartos-discuss] Re: Duplicating a SmartOS Zone

2016-07-29 Thread Humberto Ramirez
Tried the following unsuccessfully. Vmadm get uuid > zonecfg Zfs snapshot zones/uuid@snap Zfs send zones/uuid@snap ¦ zfs receive zones/newuuid Modify zonecfg to match new uuid Vmadm create zonecfg I get an error saying newuuid already exists Has anyone been able to clone a zone with a similar

Re: [smartos-discuss] Error when using vmadm

2016-07-28 Thread Humberto Ramirez
Weird, I simply opened a new SSH session and it worked, switching to the previous SSH session I can still replicate the error. joyent_20151210T194528Z On Thu, Jul 28, 2016 at 11:20 AM, Alessio Ciregia <ales...@ftgm.it> wrote: > On 07/28/2016 04:56 PM, Humberto Ramirez wrote: >>

[smartos-discuss] Error when using vmadm

2016-07-28 Thread Humberto Ramirez
Got this when stopping a SmartOS zone, vmadm list returns the same error. vmadm stop 9652418f-a059-eb30-9024-de07910b0fb0 Uncaught Error: EIO, i/o error FROM Function.startup.resolveArgv0 (node.js:811:23) startup (node.js:58:13) node.js:902:3 Abort (core dumped) uname 20151210T194528Z

[smartos-discuss] Duplicating a SmartOS Zone

2016-07-28 Thread Humberto Ramirez
Hi, I'm wondering if there is a way to duplicate a SmartOS Zone, I'm able to duplicate a KVM with out a problem but not having any luck with a zone, Ideally I would like to be able to duplicate a zone and also back it up so I can restore it on a separate host machine. Can this be accomplished

Re: [smartos-discuss] OpenVPN on a zone

2016-07-23 Thread Humberto Ramirez
Josh, Is "allow_ip_spoofing" also required? On Fri, Jul 22, 2016 at 4:40 PM, Joshua M. Clulow <j...@sysmgr.org> wrote: > On 22 July 2016 at 13:35, Humberto Ramirez <harl2...@gmail.com> wrote: >> Hi, I'm trying to setup a zone to run OpenVPN, however I'm having &g

[smartos-discuss] OpenVPN on a zone

2016-07-22 Thread Humberto Ramirez
Hi, I'm trying to setup a zone to run OpenVPN, however I'm having difficulties with the easy-rsa script (can't locate it on pkgsrc package), is anybody currently using this type of setup in production? any guide available? Thanks. --- smartos-discuss

[smartos-discuss] Monitoring resources CPU, Memory and IO

2016-07-13 Thread Humberto Ramirez
Hi, is there a recommended procedure/tools to monitor status, performance and resource consumption on a SmartOS host? (KVMs and Zones) IE: How to list the most active IO VM Actual memory consumption per VM CPU Load etc. Ideally I would like to drill down the stack and find specific services or

Re: [smartos-discuss] windows server / sybase ads

2016-07-01 Thread Humberto Ramirez
Ideally it should sit on a SmartOS zone but... I understand he wants to run the database on top of NTFS...(Vendor requirement) however Sybase ADS its also available for linux. On Jul 1, 2016 2:56 PM, "Joerg Sonnenberger" <jo...@bec.de> wrote: > On Fri, Jul 01, 2016 at 11:15:2

Re: [smartos-discuss] windows server / sybase ads

2016-07-01 Thread Humberto Ramirez
the pool the database is on. once that is > done i suspect any performance differences between virtual and bare metal > will be small enough to ignore. > > Sent from my iPhone > > > On Jul 1, 2016, at 8:15 AM, Humberto Ramirez <harl2...@gmail.com> wrote: > > > >

Re: [smartos-discuss] Congrats to Joyent

2016-06-16 Thread Humberto Ramirez
been extensive talks regarding the future of the ecosystem. I"M SURE!!! On Thu, Jun 16, 2016 at 5:24 PM, Humberto Ramirez <humberto.rami...@usa.net> wrote: > I would be really surprised to see the same thing happening to Brian > in such a short period of time... I clearly remem

[smartos-discuss] Comparison of Virtualization Performance: VMWare and KVM

2016-03-30 Thread Humberto Ramirez
Is anybody familiar with any recent perfomance comparison of KVM vs VMWare ESX? Or perhaps someone who had been running ESX and migrated to SmartOS on the same hardware? I found an old a paper from 2012 on which ESX outperformed KVM by 30% and sometimes for as much as 45%, of course 4 years is an

[smartos-discuss] Passing a SmartOS RAM Disk to a KVM

2016-03-10 Thread Humberto Ramirez
I would like to create a temporary RAMDisk with ramdiskadm for use inside a KVM, (Temporary disk intensive task). Am I crazy?? Any drawbacks? Is there really no performance gains as I read on a Oct-2015 post? I can create a RamDisk inside a KVM and get a 30X improvement over disk, Is it wrong to

[smartos-discuss] Delegated ZFS dataset access from the Gobal Zone

2016-03-03 Thread Humberto Ramirez
Hi, Is it possible to access a delegated ZFS Dataset from the Global Zone without having to detach change mount points etc? Thx. --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed:

Re: [smartos-discuss] Chrome or Chromium in an LX zone?

2016-03-01 Thread Humberto Ramirez
"IIRC, Chrome uses namespaces and seccomp-bpf for its sandboxing functionality on Linux. Neither of those systems are implemented yet on LX." Patrick, is there plans to implement those systems? Or are they already under development? On Mon, Feb 29, 2016 at 3:12 PM, Patrick Mooney

Re: [smartos-discuss] Chrome or Chromium in an LX zone?

2016-02-28 Thread Humberto Ramirez
Jorge: Is this some how related with the socket syscall implementation? I was under the impression LX was mature enough not even a comparability list was necessary since almost everything worked. Is there specific type of calls still not working / not worth fixing? On Feb 28, 2016 3:49 AM,

Re: [smartos-discuss] Fastest link between 2 VMs

2016-01-26 Thread Humberto Ramirez
"Practically, the limits of link speed for a VNIC are based on the underlying device or the kernel data path, so it can saturate a 10 Gbit/s device. On the flip side, due to how the hardware virtualization is currently implemented, it is unlikely that you will see speeds much higher than 1

Re: [smartos-discuss] Fastest link between 2 VMs

2016-01-25 Thread Humberto Ramirez
What would you say is the improvement over a standard vnic? Does it approach a 10G link speed? Thanks. On Jan 25, 2016 2:19 AM, "Robert Mustacchi" wrote: > On 1/24/16 23:17 , Jorge Schrauwen wrote: > > Make sure to use the hidden? (undocumented) ETHERSTUB="stub0 stub1 ..." > >

[smartos-discuss] Fastest link between 2 VMs

2016-01-24 Thread Humberto Ramirez
So I have a database on a LX Zone that's serving several KVMs on the same SamrtOS host, connection between them is of course Virtual NICs, is that the fastest I can connect VMs? I was wondering if a virtual 10G link exist or do I have to create virtual nic teaming or maybe some virtual FC?? Am I