[00:01:45] *** mamash has joined #smartos
[00:04:06] *** mamash has left #smartos
[00:09:01] *** ryancnelson has joined #smartos
[00:09:34] *** jesser has joined #smartos
[00:10:55] <wesolows> I don't understand the point of virtualisation on a system that can only address 8GB of memory. By the time you've left some space for the kernel, a minimal userland for the HV, and the ARC, you've got enough left for, what, 1 VM and a couple of zones? The microserver approach suffers from tremendous diseconomies of scale.
[00:11:37] *** elijah-mbp has quit IRC
[00:12:01] *** darjeeling has quit IRC
[00:15:39] *** notmatt has joined #smartos
[00:16:57] *** elijah-mbp has joined #smartos
[00:19:32] <rmustacc> wesolows: I'd assume that the 8 GB is for that specific product not the chip itself.
[00:19:48] <rmustacc> Though once you start piling up the DRAM you lose the power savings that you likely are trying to get from atom.
[00:22:09] <gkyildirim> I think it might be suitable server appliance for branch offices which you would need a print and file service at least. A cheap box with 2x1TB disk and a low cost SSD might be a perfect remote office server.
[00:22:26] <gkyildirim> Aldo if it would have no mechanical parts this would be a solid server appliance.
[00:25:43] *** dysinger has quit IRC
[00:26:38] *** ira has quit IRC
[00:28:34] *** deirdres has joined #smartos
[00:29:32] *** mikl has joined #smartos
[00:30:09] *** ins0mnia has quit IRC
[00:30:56] *** deirdres_ has joined #smartos
[00:34:14] *** deirdres has quit IRC
[00:34:15] *** deirdres_ is now known as deirdres
[00:35:23] *** socketwiz has joined #smartos
[00:39:16] <jesser> i just moved a whole lot of old ruby 1.8.6 / mysql apps from a now 'legacy' joyent accelerator / smart machine onto a clean smartos zone largely by copying /opt/local and i suppose i should not be surprised that everything just worked, but i was pleasantly surprised. … though rabbitmq isn't happy for some reason.
[00:39:23] <mikl> what image to install if you just want a simple SmartOS zone? sdc:sdc:base64:1.8.1?
[00:39:47] <jesser> base64 indeed
[00:40:01] <jperkin> mikl: sure.
[00:40:14] <mikl> right :)
[00:40:48] <mikl> naming is a bit confusing, there are also some named "smartos", but they haven't ben updated since may
[00:41:02] <mikl> but I suppose they've just changed their naming convension?
[00:41:03] <jperkin> jesser: /opt/local is mostly self-contained, but you may also want to copy over /var/db/pkgin and also re-import any SMF manifests
[00:41:20] <jperkin> mikl: we changed from smartos to base as 'smartos' was an overloaded term
[00:41:36] <mikl> jperkin: well, that makes sense :)
[00:42:14] *** rancor has quit IRC
[00:43:00] <jesser> jperkin: i re-imported SMF manifests that I care about, yes. … source smart machine is pre pkgin however
[00:43:08] <jesse_> jperkin, the list needs 'deprecated by: base64' -field=)
[00:43:24] <jesse_> (and by default, don't list deprecated images at all)
[00:44:35] <jperkin> yeh..
[00:44:38] <jesse_> and maybe even hide older versions of an image, too
[00:47:24] <jesse_> anyway, ideas are cheap, finding resources to implement them is the hard part=)
[00:47:48] <jperkin> zzz time for me, &
[00:51:24] *** gkyildirim has quit IRC
[00:53:10] *** Vod has joined #smartos
[00:56:00] *** jim80net has quit IRC
[01:00:01] *** notmatt has quit IRC
[01:00:11] *** dubban has quit IRC
[01:03:35] *** potatosalad has quit IRC
[01:08:24] *** robinsmidsrod has quit IRC
[01:09:09] *** hifoo_ has quit IRC
[01:09:55] <jeffpc> richlowe: ^
[01:10:04] *** robins has joined #smartos
[01:10:05] <jeffpc> rmustacc: ^
[01:10:29] <jeffpc> i_ddi_load_drvconf and ndi_devi_config_driver are the slow ones
[01:13:16] *** AlainODea has joined #smartos
[01:13:22] <xenol> Hi, I am running smartos64 zone and I am trying to import SMF manifest. svccfg import suceeds, however I do not see the imported manifest in svcs output. I suppose this has to deal with /lib/svc being readonly. What is the proper way of using custom SMF manifests in sparse zones?
[01:14:18] <rmustacc> xenol: It doesn't matter where the manfiest and methods live unless you want manifest import to pick it up.
[01:14:42] <rmustacc> xenol: If you need manifest import to pick it up then using the traditional pre-EMI location is best, mainly /var/svc
[01:18:17] <xenol> rmustacc: I added the manifest to /var/svc/manifest/site, however is not picked up
[01:19:32] <rmustacc> Nothing is going to pick it up by default.
[01:19:38] <rmustacc> svvcfg import is really all you care about.
[01:19:46] <rmustacc> And did you tell it to create the default instance of the service?
[01:19:50] <rmustacc> If you wrote the manifest by hand.
[01:20:00] <xenol> *facepalm*
[01:20:33] *** jim80net has joined #smartos
[01:22:44] <rmustacc> xenol: Was that your problem?
[01:22:59] <xenol> rmustacc: sadly, yes
[01:24:00] *** dysinger has joined #smartos
[01:28:14] <rmustacc> mkil: man vmadm(1)
[01:28:39] <rmustacc> mikl: You want to look at nics.*.ip
[01:29:33] *** joshie has quit IRC
[01:29:48] *** joshie has joined #smartos
[01:31:12] <rmustacc> mikl: That do what you want?
[01:31:28] *** darjeeling has joined #smartos
[01:31:32] <mikl> rmustacc: yeah, I think so, will have to wait for the VM to build :)
[01:37:54] *** hifoo_ has joined #smartos
[01:38:35] *** deirdres has quit IRC
[01:38:54] *** deirdres has joined #smartos
[01:40:41] *** darjeeling has quit IRC
[01:50:50] *** potatosalad has joined #smartos
[01:52:51] *** dysinger has quit IRC
[01:53:17] *** deirdres_ has joined #smartos
[01:57:02] *** deirdres has quit IRC
[01:57:02] *** deirdres_ is now known as deirdres
[02:03:48] *** Saskaloon has joined #smartos
[02:06:15] <mikl> I get this error when trying to start my newly created base64/smartos zone: /usr/lib/brand/joyent/statechange[72]: local: not found [No such file or directory]
[02:06:28] <mikl> does this make sense to anyone?
[02:27:40] *** potatosalad has quit IRC
[02:32:33] *** wramthun2 has quit IRC
[02:32:45] *** wramthun2 has joined #smartos
[02:33:56] *** potatosalad has joined #smartos
[02:35:14] *** notmatt has joined #smartos
[02:38:39] *** deirdres has quit IRC
[02:39:35] <jesser> what's the story with no syslogd on joyent's ubuntu 12.04 template?
[02:42:05] *** Vod has quit IRC
[02:44:24] *** dap has quit IRC
[03:08:34] *** darjeeling has joined #smartos
[03:40:13] *** dysinger has joined #smartos
[03:42:54] *** dysinger_ has joined #smartos
[03:46:54] *** dysinger has quit IRC
[03:46:55] *** dysinger_ is now known as dysinger
[03:51:57] *** ryancnelson has quit IRC
[03:57:14] *** dysinger has quit IRC
[04:11:23] *** potatosalad has quit IRC
[04:17:03] *** potatosalad has joined #smartos
[04:18:00] *** avrntsv has joined #smartos
[04:22:54] *** avrntsv has quit IRC
[04:23:49] *** darjeeling has quit IRC
[04:23:57] *** dap has joined #smartos
[04:26:33] *** e^ipi has quit IRC
[04:27:51] *** e^ipi_laptop has joined #smartos
[04:44:53] *** socketwiz has quit IRC
[04:57:29] *** ryancnelson has joined #smartos
[04:58:30] *** ryancnelson has quit IRC
[04:59:56] <richlowe> jeffpc: wasn't the attempt to figure out where underneath there it was hanging out?
[05:05:25] *** darjeeling has joined #smartos
[05:09:26] <AlainODea> Is there a reason why SmartOS doesn't have the Equifax in its default cacerts?
[05:09:42] <richlowe> my assumption is still that e^ipi missed a flag day
[05:09:49] <richlowe> e^ipi_laptop: if you're around?
[05:12:01] <richlowe> AlainODea: perhaps file a bug against smartos-live saying they're, presumably, not present at all anymore
[05:12:05] <richlowe> AlainODea: and mention that illumos removed them
[05:16:02] *** tylerflint has joined #smartos
[05:16:56] <tylerflint> hi everyone, new to smartos
[05:19:03] <tylerflint> for a project I'm working on I'm trying to compare virtualization technologies
[05:20:24] <tylerflint> I'm extremely fascinated with solaris zones and specifically the enhancements to smartos by joyent in regards to the kvm zone
[05:20:47] *** darjeeli_ has joined #smartos
[05:21:50] <tylerflint> I've been trying to understand the vcpus setting
[05:22:47] <tylerflint> can anybody point me to a place where I can find more information about vcpus?
[05:23:44] *** darjeeling has quit IRC
[05:27:55] *** avrntsv has joined #smartos
[05:41:20] <rmustacc> tylerflint: I don't know if there's a great document to point you to for that, but I can probably answer most questions.
[05:41:36] <rmustacc> richlowe: The flag day wouldn't help you in a zone.
[05:41:46] <rmustacc> AlainODea: That's a good question, I'm not sure why it isn't ther.e
[05:41:49] <rmustacc> *there
[05:42:01] <richlowe> rmustacc: Oh, true!
[05:42:21] <rmustacc> richlowe: Though I'm almost certain that nothing was done about the flag day.
[05:42:35] <richlowe> I didn't see anything, but I've not been attentive lately
[05:42:51] <richlowe> I'm not actually convinced it's so important, in a smartos GZ, now my brain works
[05:42:54] <rmustacc> tylerflint: When you have a kvm zone you're running in a hardware virtualized container. As part of emulating the hardware you have to emulate some number of cpus. These cpus are referred to as virtual cpus.
[05:43:11] <tylerflint> rmustacc: ah
[05:43:27] <rmustacc> tylerflint: Those virtual cpus are the number of cores that kvm guests see and have a one to one mapping to threads inside the host qemu process.
[05:43:44] <rmustacc> tylerflint: It's pretty similar to the number of cpus you select when you use something like Xen or VMware.
[05:44:02] <tylerflint> rmustacc: perfect! that's exactly what I was wondering
[05:44:05] <rmustacc> But the number only applies to KVM and hardware virtualized instances.
[05:44:20] <tylerflint> yeah that makes sense
[05:44:22] <rmustacc> If you're doing an OS-virtualizion container, a more traditional zone, then it's a meaningless number.
[05:44:44] <richlowe> rmustacc: On the list of "needlessly different". Why is sendfile not in libc?
[05:45:54] <richlowe> I guess, really, I'm hoping I'm not the only one with a list of places we suck that probably don't deserve bugs yet.
[05:46:12] <rmustacc> richlowe: No clue. Probably for the same reason that something like socket wasn't historically.
[05:46:32] <richlowe> I can't find when libsendfile appeared, but I'd be amazed if anyone even _slightly_ recently repeated that mistake :\
[05:47:09] <richlowe> oh, yes I can: looks like 2000/2001
[05:50:27] <rmustacc> Bumping up against stuff in sendfile now?
[05:50:47] <richlowe> honestly? Only just noticed it wasn't in libc.
[05:51:22] <rmustacc> Gotcha, yeah.
[05:51:37] <rmustacc> sendfile isn't as useful on us either, iirc, because you can't go socket->socket
[06:03:17] *** potatosalad has quit IRC
[06:13:16] *** tylerflint has quit IRC
[06:35:04] *** chriss- has joined #smartos
[06:35:35] *** viridari has quit IRC
[06:39:23] *** sachinsharma has joined #smartos
[06:40:19] *** dysinger has joined #smartos
[06:45:44] *** notmatt has quit IRC
[06:47:31] *** daniel_wu has quit IRC
[06:58:01] *** dap has quit IRC
[07:21:21] *** Guest62621 has joined #smartos
[07:21:34] *** wesolows has quit IRC
[07:22:39] <Guest62621> how to modify the postfix server itself information like server program etc?
[07:22:45] *** wesolows has joined #smartos
[07:25:02] <Guest62621> i saw something on iphone device when configuring mail account
[07:26:24] <Guest62621> how to modiy the postfix server's information itself?
[07:27:56] <rmustacc> Guest62621: You'll want to read the postfix documentation on how to modify it.
[07:28:58] <Guest62621> the info such as xxx-'s mail
[07:29:39] <rmustacc> I'm not sure what you're referring to, sorry.
[07:34:48] <Guest62621> i'm daniel_wu ,i can't use the '/nick' command to change my name because i was banned on the chanal
[07:34:53] <Guest62621> channel
[08:05:57] <jesser> I have an ubuntu 12.04 vm (from joyent template) which hangs when i reboot it. pegs a CPU core, VNC can't connect...
[08:06:23] *** jamesd has quit IRC
[08:06:50] <jesser> last time a qemu or kvm timeout killed it and it proceeded, hoping it will do this again, has been 8 minutes so are.
[08:06:53] <jesser> far.
[08:08:46] *** sachinsharma has quit IRC
[08:10:10] <jesser> any recommendations on how best to reset the vm?
[08:10:52] <jesser> kill the qemu process?
[08:13:48] *** Guest62621 has quit IRC
[08:22:56] *** darjeeli_ has quit IRC
[08:26:08] <arekinath> vmadm stop -F should kill it for you
[08:26:09] <Zigara> jesser: vmadm stop uuid -F
[08:26:26] <Zigara> damn, I was too slow
[08:38:16] <MerlinDMC> hmm ... can i force tar to add a file with new path + name? ... add foo/bar as barfoo?
[08:41:05] *** alucardX has joined #smartos
[08:41:17] <alucardX> hi
[08:48:09] *** Garlith has quit IRC
[09:10:53] *** D-Boy has joined #smartos
[09:13:49] *** bens1 has joined #smartos
[09:18:39] *** leecallen has quit IRC
[09:18:50] *** sachinsharma has joined #smartos
[09:18:51] *** leecallen has joined #smartos
[09:22:17] *** D-Boy has left #smartos
[09:22:58] *** texarcana has quit IRC
[09:23:18] *** robins is now known as robinsmidsrod
[09:24:12] *** texarcana has joined #smartos
[09:29:18] *** mamash has joined #smartos
[09:37:40] <konobi> dysinger: why the wish?
[09:43:56] *** dubban has joined #smartos
[10:05:12] *** KermitTheFragger has joined #smartos
[10:09:55] *** leecallen35 has joined #smartos
[10:09:55] *** leecallen has quit IRC
[10:46:00] *** ins0mnia has joined #smartos
[10:50:04] *** benbangert has quit IRC
[10:55:41] <KermitTheFragger> does anyone know about any gotcha's I should be aware of? (besides vmadm not working entirly correctly with it, but I can live with that)
[10:57:40] *** benbangert has joined #smartos
[11:00:30] *** tru_tru has quit IRC
[11:01:24] *** tru_tru has joined #smartos
[11:08:51] *** darjeeling has joined #smartos
[11:18:06] *** ins0mnia has quit IRC
[11:24:09] *** bens1 has quit IRC
[11:24:22] *** bens1 has joined #smartos
[11:27:29] *** ins0mnia has joined #smartos
[11:48:21] *** des2 has quit IRC
[11:51:48] *** ClausA has quit IRC
[11:54:58] *** des2 has joined #smartos
[11:56:09] *** ClausA has joined #smartos
[11:57:15] *** mamash has quit IRC
[12:13:13] *** jesser_ has joined #smartos
[12:16:58] *** jesser has quit IRC
[12:18:44] *** jesser_ has quit IRC
[12:20:04] *** jesser has joined #smartos
[12:42:03] *** ira has joined #smartos
[12:49:35] *** socketwiz has joined #smartos
[12:56:17] *** bens1 has quit IRC
[13:05:30] *** alucardX has quit IRC
[13:08:19] *** alucardX has joined #smartos
[13:08:52] <alucardX> re
[13:12:48] *** kschiess has joined #smartos
[13:49:00] *** avrntsv has quit IRC
[13:50:54] *** jesser has quit IRC
[13:51:47] *** bens1 has joined #smartos
[13:55:32] *** kschiess has quit IRC
[13:55:43] *** avrntsv has joined #smartos
[13:57:45] *** kschiess has joined #smartos
[14:00:28] *** socketwiz has quit IRC
[14:03:57] *** xmerlin__ has joined #smartos
[14:30:42] *** ins0mnia has quit IRC
[14:36:48] *** avrntsv has quit IRC
[14:41:25] *** sachinsharma has quit IRC
[14:57:17] *** alcir has joined #smartos
[14:57:20] <alcir> uff
[14:57:23] <alcir> I have a pc
[14:57:48] <alcir> I want to try smartos but the startup from the cd hangs
[14:57:55] <alcir> using -v
[14:58:13] <alcir> I can see that it arrives to uhci3 is /pci@0,0 etc.
[14:58:15] <alcir> :-(
[14:58:37] <jperkin> disable usb3, that's a common cause of boot hangs
[14:58:44] <alcir> uh
[14:58:50] <alcir> from bios?
[14:58:52] <jperkin> yes
[14:59:03] <arekinath> another common cause of bootup hangs is dodgy usb sticks, that's a good second point of call
[14:59:33] <arekinath> (try pxe or a cd/dvd to rule that one out if you don't have another usb stick handy)
[15:00:34] <Alasdairrr> Don't forget to sacrifice a goat
[15:00:44] <alcir> I am using cd...
[15:00:55] <ira> usb sticks are the devil.
[15:01:05] <Alasdairrr> SmartOS prefers pygmy goats, from what I can remember
[15:01:08] <ira> cd should be better.
[15:01:59] <ira> Alasdairrr: I tried fainting ones… no wonder it's been giving me @#@%$#@ recently ;)
[15:02:15] <Alasdairrr> :-D
[15:02:54] <alcir> so
[15:03:01] <alcir> I cannot disable usb3 from bios
[15:03:31] <alcir> there is a way to pass options to kernel? -B disable-DRIVER=true
[15:03:34] <alcir> ...
[15:03:44] *** ahaydock has joined #smartos
[15:07:06] <konobi> disable-uhci
[15:08:02] <alcir> uh?
[15:12:33] *** jim80net has joined #smartos
[15:15:53] <alcir> no way
[15:16:28] <alcir> uhci and echi are now not mentioned
[15:16:36] <alcir> but it hangs
[15:16:38] <alcir> :-(
[15:18:55] *** jdefelice has quit IRC
[15:19:52] *** jdefelice has joined #smartos
[15:21:20] *** jamesd has joined #smartos
[15:38:47] *** jim80net_ has joined #smartos
[15:40:20] *** jim80net_ has quit IRC
[15:40:40] *** jim80net_ has joined #smartos
[15:40:52] *** jim80net has quit IRC
[15:40:53] *** jim80net_ is now known as jim80net
[15:42:01] <konobi> may be an acpi issue
[15:45:21] *** ins0mnia has joined #smartos
[15:54:04] <alcir> and
[15:54:22] <alcir> using usb pen drive I get ,bss=0x0
[15:55:20] <jperkin> you need to wait, loading from usb is often very slow
[15:59:31] <alcir> konobi, how to disable it?
[15:59:51] *** defa has joined #smartos
[16:07:16] <kschiess> I've got two machines here that contain both an E5504 Intel Xeon - on one of the machines only two CPU cores are detected. What on earth could be the reason?
[16:07:30] <konobi> alcir: it's something folks have been attempting to debug, but none of the kernel devs have hardware that exhibits the behaviour
[16:07:42] <konobi> kschiess: bios?
[16:08:16] <kschiess> I've compared the relevant settings, but to no avail. Have you got a more specific hunch?
[16:10:51] *** avrntsv has joined #smartos
[16:13:54] *** defa has quit IRC
[16:28:54] *** ins0mnia has quit IRC
[16:29:08] *** rancor has joined #smartos
[16:35:13] *** alcir has quit IRC
[16:40:29] *** tylerflint has joined #smartos
[16:52:32] *** potatosalad has joined #smartos
[16:59:19] *** rancor has quit IRC
[17:01:00] *** rancor has joined #smartos
[17:03:08] *** rancor has quit IRC
[17:06:09] *** alucardX has quit IRC
[17:08:32] *** ryancnelson has joined #smartos
[17:09:06] <mikl> what can you do with a "failed" zone? I vmadm start/stop/restart/whatever all complain I can't do them to a failed zone...
[17:09:58] <ryancnelson> what state is it in?
[17:10:04] <ryancnelson> zoneadm list -vc
[17:11:15] <Licenser> I've a odd situation here: any reason that dtrace -n '' does not recognize a proble but if I run the same code from a libdtrace app it works fine
[17:14:20] *** ryancnelson has left #smartos
[17:15:37] *** xmerlin__ has quit IRC
[17:17:00] *** blu is now known as Ymx1
[17:18:46] <mikl> it's in "installed" state
[17:19:01] *** rancor has joined #smartos
[17:20:55] <Alasdairrr> you can destroy it
[17:20:56] <Alasdairrr> then re-create it
[17:24:12] *** tylerflint has left #smartos
[17:27:44] *** dap has joined #smartos
[17:29:39] *** kevinykchan has joined #smartos
[17:32:29] *** avrntsv has quit IRC
[17:33:09] *** ins0mnia has joined #smartos
[17:43:24] <leecallen35> How can I access my SATA CD/DVD drive... and, ideally, make it available to a VM?
[17:43:40] <leecallen35> cfgadm says: sata0/4::dsk/c1t4d0 cd/dvd connected configured ok
[17:44:16] <nahamu> is ripping an image file and passing that through to the VM a reasonable option?
[17:44:32] <leecallen35> not ideal but acceptable
[17:46:45] <nahamu> I don't think it would be easy to give a VM direct access to the physical drive.
[17:46:56] <Alasdairrr> If a zone is over it's memory cap, is there a way to see how much it is "virtual-swapping" in this new-world-order?
[17:47:00] <leecallen35> this isnt install media. The VM is already created. I need for my VM to be able to access various media on the CD/DVD.
[17:48:11] <leecallen35> how do I rip a DVD in smartos? I havent figured out how to access the hardware - the CD/DVD drive
[17:48:17] *** cncfanatics has joined #smartos
[17:48:34] *** dubban has quit IRC
[17:48:42] <nahamu> I think you'll want to read from /dev/dsk/c1t4d0, but I haven't messed with that sort of thing in a while...
[17:49:05] <leecallen35> I will try that
[17:49:16] <nahamu> Alasdairrr: I don't know the answer, but do you mean from inside the zone or from the GZ?
[17:51:13] *** dysinger has quit IRC
[17:51:50] <nahamu> (inside the zone, if it's recent, is the sm-meminfo command...)
[17:53:10] <leecallen35> nahamu: "dd if=/dev/dsk/c1t4d0 ... " does not work, it says, 0+0 records in/out
[17:54:30] <nahamu> you might have to add a p0 or something...
[17:54:48] * nahamu goes to see if he can find a note about that
[17:55:30] <Alasdairrr> Thanks nahamu, don't think it's that recent
[17:55:45] <leecallen35> I added the p0 and it seems to be working now. Thanks...
[17:56:28] <leecallen35> I typically spend about a day searching for these answers online before coming here, but I keep striking out. I appreciate your patience (and others) with these basic questions.
[17:56:50] <nahamu> leecallen35: glad that worked.
[17:57:06] *** sachinsharma has joined #smartos
[18:00:39] *** ins0mnia has quit IRC
[18:08:27] *** deirdres has joined #smartos
[18:11:47] *** dysinger has joined #smartos
[18:14:23] *** notmatt has joined #smartos
[18:24:50] *** dysinger has quit IRC
[18:26:02] *** ins0mnia has joined #smartos
[18:29:59] *** sachinsharma has quit IRC
[18:32:59] *** montyz0 has joined #smartos
[18:40:04] *** tonyarkles has joined #smartos
[18:41:27] *** mamash has joined #smartos
[18:46:48] *** rancor has quit IRC
[18:48:11] *** rancor has joined #smartos
[18:53:56] *** ryancnelson has joined #smartos
[19:02:25] *** notmatt has quit IRC
[19:02:43] *** notmatt has joined #smartos
[19:05:07] *** dap has quit IRC
[19:08:02] *** knweiss has joined #smartos
[19:10:25] *** e^ipi has joined #smartos
[19:18:20] *** kschiess has quit IRC
[19:21:18] <leecallen35> nahamu: do you think that's the best I can do -- rip media and make the image available to the VM? cuz I would really prefer the VM had direct access to the media
[19:22:58] <nahamu> leecallen35: in theory you might be able to pass the cd drive through to the VM zone. You might have to use zoneadm to do that so it wouldn't be supported by the SmartOS developers, though.
[19:23:20] <leecallen35> I will try to learn up on that
[19:23:32] <nahamu> if you can get it passed through to the zone, you could add some extra options to QEMU to have it connect that to the VM.
[19:27:12] <leecallen35> Okay, thanks. I will see if I can figure that out.
[19:27:17] <nahamu> but the more I think about it, the harder it sounds.
[19:27:27] <nahamu> good luck! if you figure it out, definitely let me know how you did it.
[19:27:29] <leecallen35> Oh
[19:27:51] <leecallen35> meanwhile I have this (rip and share) as a fallback plan. the p0 part was the secret sauce.
[19:30:15] <ryancnelson> the trick i use when fishing around for "where's the filesystem on this device" is:
[19:30:18] <ryancnelson> for i in /dev/dsk/* ; do echo $i ----- ; fstyp $i 2>&1 | grep -v cannot ; done
[19:30:41] <ryancnelson> … and look for the "pcfs" , or "hsfs" thing …. or whatever filesystem you're trying to find
[19:32:44] *** jim80net has quit IRC
[19:34:44] *** KermitTheFragger has quit IRC
[19:37:38] <leecallen35> ryancnelson: thats a pretty devious bit of script
[19:37:57] <ryancnelson> it's ugly, and could probably be better
[19:38:19] <ryancnelson> just basically, look at all the disk devices i have, and run fstyp on 'em
[19:38:36] *** killfill has quit IRC
[19:38:44] <ryancnelson> fstyp is a solarisy hidden gem
[19:38:53] *** dysinger has joined #smartos
[19:39:30] *** killfill has joined #smartos
[19:41:02] <richlowe> but don't look at the code
[19:41:20] <ryancnelson> :-D
[19:41:53] <nahamu> that's vaguely how I might go about getting /dev/dsk/c1t4d0* to show up in the zone
[19:43:32] <nahamu> then you could modify qemu_extra_opts to add something along the lines of "-drive file=/dev/dsk/c1t4d0,media=cdrom" or something like that.
[19:43:45] <nahamu> might need the p0 in there
[19:44:00] *** jim80net has joined #smartos
[19:44:05] <ryancnelson> yuck. please don't start trying to attach physical devices in your zones/vms … that'll probably never ever be supported. it's not cloudy.
[19:44:05] <leecallen35> okay, good. this looks harder than I ever imagined but... maybe do-able. THANK YOU.
[19:44:28] *** killfill has quit IRC
[19:44:31] <ryancnelson> i mean, it's your computer, but don't ask for that to be taken upstream
[19:44:52] <nahamu> leecallen35: yes, just to echo what ryancnelson said, you're on your own with this. it's not a supported way of using SmartOS
[19:44:55] <leecallen35> oh. well I will stay away from that then. long term support is going to be very important to us...
[19:45:17] <leecallen35> and thats more important than making it easy for the user to read CDs.
[19:45:21] <konobi> there's an example or two where i think it'd make sense
[19:45:29] <ryancnelson> if you've got access to physical devices, someone in the zone can panic the global
[19:45:36] *** killfill has joined #smartos
[19:45:43] <konobi> (ssl hw accelerators for the most part)
[19:46:11] <nahamu> konobi: I'm still sad that kssl can't be used in a NGZ
[19:48:27] <nahamu> my users can attach USB devices to their spice enabled VMs over the spice protocol, but the spice stuff isn't supported by Joyent either...
[19:48:39] <nahamu> (yet... my hopes spring eternal...)
[19:48:43] *** dysinger has quit IRC
[19:49:06] <leecallen35> yes that would be the other common requirement: VM users to access USB devices
[19:49:32] <nahamu> with a USB optical drive those 2 requirements collapse down to 1...
[19:49:41] <leecallen35> not in cloud data centers, of course, but in in-house virtualized servers
[19:49:45] <nahamu> how are your users connected to the VMs?
[19:50:20] <leecallen35> two uses cases: 1) VM is winserver, users connect via RDP (you and I talked about that before, it needs to be RDP, not spice)..
[19:50:39] <nahamu> that's ringing a bell... you had to get sound working, right?
[19:50:42] <leecallen35> 2) users are PCs just treating the smartos as an AD and NAS
[19:50:47] <leecallen35> right
[19:51:16] <nahamu> doesn't RDP allow redirecting a drive?
[19:51:16] *** killfill has quit IRC
[19:51:46] <leecallen35> hey thats a very good idea... I think it does
[19:51:54] *** killfill has joined #smartos
[19:52:32] <leecallen35> I never thought of it working in that direction before. I will test it.
[19:53:22] <nahamu> I've redirected a CUPS printer using the linux rdesktop client when connecting to a Windows server (turns out it's annoying as hell, but it mostly works...).
[19:53:59] <leecallen35> I will have a testbed up & running in a few minutes
[19:59:14] *** dap has joined #smartos
[20:06:26] *** dap has quit IRC
[20:07:47] *** tonyarkles has quit IRC
[20:14:11] <konobi> nahamu: aes extensions are though
[20:16:56] *** killfill has quit IRC
[20:18:18] *** killfill has joined #smartos
[20:29:54] <leecallen35> nahamu: yes RDP makes the CD available. thanks!
[20:30:05] <leecallen35> (headed out the door)
[20:40:19] *** mamash has left #smartos
[20:40:31] *** mamash has joined #smartos
[20:47:11] *** hafthorr has joined #smartos
[20:47:32] *** killfill has quit IRC
[20:47:53] *** killfill has joined #smartos
[20:51:09] *** mamash has left #smartos
[20:51:22] *** mamash has joined #smartos
[20:59:35] *** killfill has quit IRC
[20:59:44] *** killfill has joined #smartos
[21:01:38] <jeffpc> richlowe: I tried using flamegraphs, but it just didn't render anything useful (most likely due to user error)
[21:01:56] <jeffpc> richlowe: I'm slowly (evenings) digging down to where exactly it's hanging
[21:02:05] <jeffpc> I'm just keeping you guys in the loop
[21:02:41] *** ryancnelson has left #smartos
[21:02:42] <jeffpc> the two functions I mentioned earlier were news to me, but it's possible that you were a step or two ahead of me
[21:05:56] <chriss-> so imgadm still doesnt work through proxy?
[21:08:12] *** rancor has quit IRC
[21:13:10] <konobi> chriss-: as far as i'm aware... no
[21:13:22] *** rancor has joined #smartos
[21:14:05] <chriss-> boy would that be nice...
[21:17:54] <chriss-> looks like it uses client.get rather than curl there
[21:18:11] <chriss-> httpClient() rather
[21:18:15] <chriss-> however you want to say it
[21:18:18] <chriss-> !curl
[21:18:29] <konobi> huh... tried `http_proxy='...' imgadm ...` ?
[21:18:34] <chriss-> yup
[21:19:00] <chriss-> just found another irc log of someone doing the same thing i did
[21:19:04] <chriss-> with the same results
[21:19:28] <konobi> it uses curl for the import, but http lib for refreshing the cache
[21:19:34] <chriss-> yeah
[21:19:48] <chriss-> get the cache by hand then it pukes on something else
[21:19:53] <chriss-> imgadm avail works
[21:20:03] <chriss-> but then imgadm import blows up
[21:20:09] <richlowe> jeffpc: ah, ok.
[21:20:11] <konobi> there's always tsocks
[21:20:21] <richlowe> jeffpc: I'm not paying much attention to IRC, so I wondered if I'd missed a whole bunch or something.
[21:40:34] *** deirdres has quit IRC
[21:41:24] *** montyz0 has quit IRC
[21:57:06] *** cncfanatics has quit IRC
[22:06:55] *** rancor has quit IRC
[22:09:26] *** rancor has joined #smartos
[22:10:01] *** leecallen has joined #smartos
[22:10:01] *** leecallen35 has quit IRC
[22:20:26] *** killfill has quit IRC
[22:20:39] *** killfill has joined #smartos
[22:23:25] *** ryancnelson has joined #smartos
[22:23:36] *** ryancnelson has left #smartos
[22:34:24] *** newlix has quit IRC
[22:38:28] *** killfill has quit IRC
[22:39:04] *** killfill has joined #smartos
[22:41:52] *** ira_ has joined #smartos
[22:48:07] *** dubban has joined #smartos
[22:49:45] *** quasi has joined #smartos
[22:50:23] *** ira has quit IRC
[22:50:23] *** ira_ is now known as ira
[22:51:15] *** killfill has quit IRC
[22:51:24] *** killfill has joined #smartos
[22:52:36] *** tonyarkles has joined #smartos
[22:54:13] *** CarlosC has joined #smartos
[22:59:00] *** killfill has quit IRC
[23:00:32] *** CarlosC has quit IRC
[23:01:34] *** killfill has joined #smartos
[23:01:44] <leecallen> I am thinking I asked my CD/DVD question all wrong...
[23:02:10] <leecallen> in Linux, I would mount the CD -- so it's available as a mounted filesystem -- and then share it, eg via NFS
[23:02:22] <leecallen> is this possible under SmartOS ?
[23:06:41] <e^ipi> why would you?
[23:07:37] <e^ipi> i mean, probably, but why would you?
[23:09:25] <trentster> chriss-: I landed up setting up running nginx in a small zone for pkgin proxy cache, and it works wonderfully
[23:09:48] <trentster> I got this tip from MerlinDMC
[23:10:01] <chriss-> i dont think its the problem of having a proxy, its of getting the tool to use the proxy
[23:10:12] <chriss-> i have a proxy, but it doesnt look like it will use it
[23:10:59] *** elijah-mbp has quit IRC
[23:11:21] <trentster> chriss-: works fine for me, what I do is just add a entry in each vm's /etc/hosts pointing e.g. 10.1.1.101 pkgsrc.joyent.com
[23:11:33] <trentster> in which 10.1.1.101 is the ip of nginx proxy
[23:11:48] <chriss-> hrm
[23:12:19] <trentster> been using it for months now, and set to package ttl in nginx to 30 days, and now setting up anything via pkgin is pretty much instant
[23:12:23] *** elijah-mbp has joined #smartos
[23:14:08] *** chorrell has joined #smartos
[23:16:24] *** bens1 has quit IRC
[23:17:10] *** chorrell has quit IRC
[23:20:38] *** Vod has joined #smartos
[23:24:42] *** mamash has left #smartos
[23:24:44] <leecallen> e^ipi: primarily, to allow users in VMs to install purchased software on CD/DVD
[23:25:27] <nahamu> leecallen: who receives the physical CD/DVD?
[23:26:06] <leecallen> let's say its a payroll package. the payroll manager buys it.
[23:26:40] <leecallen> we have identified workarounds: (1) rip it in the GZ, share it out
[23:26:54] <leecallen> (2) mount it in a user PC and share it "up" via RDP
[23:27:11] <nahamu> doing it through the GZ is ugly because it requires rebooting your windows server every time this happens.
[23:27:17] <leecallen> I just want to know if the simpler approach is viable, easily
[23:27:46] <leecallen> I would rip it to a dataset which is shared out via NFS or CIFS, so its dynamically accessible to the VMs
[23:27:49] <nahamu> SmartOS is not intended for passing physical hardware through to the VMs.
[23:28:16] <leecallen> understood. to my mind (Linux background), I am not passing physical hardware, but a filesystem
[23:28:39] <nahamu> Yeah, you could of course slurp the files off the disc and drop them on a NFS or CIFS server.
[23:28:51] <leecallen> right. that's plan A.
[23:28:53] <nahamu> and if your SmartOS machine happens to be such a server, you could do that.
[23:29:04] <leecallen> so thats my best workaround at present
[23:29:51] <nahamu> personally I'd probably do it from my desk over RDP so that I wouldn't have to go put the disc in the server
[23:30:18] <leecallen> yes and that does work
[23:31:31] <leecallen> I guess I see the flaw in my thinking. even in Linux, I could mount and then share the CD-ROM, but I probably couldnt change the CD while keeping it mounted.
[23:31:44] <leecallen> sorry - while keeping it shared
[23:32:15] <leecallen> and the counterpart to that in smartos is apparently to rip it (dd) and then share it
[23:32:43] <leecallen> it would be cool if I could detect when the CD media is changed and kick off a script to rip & share it
[23:34:57] <nahamu> it sounds like you're trying to recreate a bare-metal windows server with SmartOS
[23:35:18] <nahamu> and I understand why
[23:35:37] <nahamu> (or at least I know why I would)
[23:36:07] <nahamu> but SmartOS really isn't going to provide much help with optical media
[23:37:18] <leecallen> okay. I can accept that. I just needed to hear it.
[23:37:54] <leecallen> I thought i was missing something obvious. You know, the "mount CD" command.
[23:39:05] *** jesser has joined #smartos
[23:54:05] *** ins0mnia has left #smartos
[23:55:59] *** jesser has quit IRC
[23:59:47] *** knweiss has quit IRC