/srv/irclogs.ubuntu.com/2014/10/07/#ubuntu-server.txt

=== havanamint is now known as havanamint_afk
=== havanamint_afk is now known as havana
=== havana is now known as havanamint_afk
=== havanamint_afk is now known as havanamint
=== Guest33821 is now known as mfisch
=== mfisch is now known as Guest10736
=== Sachiru is now known as Guest39571
=== Sachiru_ is now known as Sachiru
kuldhi02:33
kuldi currently uploaded my website files using filezilla to my website but it doesnt show any pictures02:33
kuldi gave permission using filezilla to the files permission 74402:33
MACscrmy 12.04 LTS server has a 3.2 kernel, but im being told by zimbra that 3.0 to 3.9 isnt supported and supposedly canonical doesnt even support them anymore and its only 3.13 and above as of august. If thats the case, why isnt apt-get upgrade seeing the newer kernel?03:50
MACscrall the instructions im seeing for updating the kernel are for installing the raring or another releases kernel on an precise system and thats obviously not correct.03:52
sarnoldMACscr: "It's complicated"04:29
sarnoldMACscr: there were a few releases of 12.04 LTS -- 12.04, 12.04.1, 12.04.2 .. 12.04.5.  12.04 and 12.04.1 were released with the same kernel / X11 / etc., and those kernels are still supported. the .2, .3, .4 versions were all sharing kernels / X11 / whatever with raring, saucy, trusty, and those packages have reached EOL. Those can be upgraded to the packages shipped with 12.04.5, which shares its HWE stack with 14.04.1.04:31
sarnoldMACscr: there are thus two supported ways forward for 12.04 LTS -- the original 12.04 release (and first point release) and the newest, 12.04.5.04:31
MACscrmy system is virtual, so the hardware stick isnt supposed to apply04:31
sarnoldMACscr: of course what third-party vendors choose to support varies04:31
sarnoldMACscr: virtualbox, for instance, only supports the original stack (and -maybe- the .2 version? I forget..) -- in any event, if you wanted to run a virtualbox host off of it, you'd NEED the original 12.04 kernel etc04:32
MACscrwell its not specifically virtualbox, but any VM should be running the virtual kernel04:33
sarnoldMACscr: I don't know what specifically zimbra cares about but I'd expect the 12.04.5 HWE stack to work for you04:33
MACscrso from what I am reading, Canonical is no longer supplying kernel updates for Precise?04:33
sarnoldMACscr: note, virtualbox _host_ -- kvm has no restrictions because kvm is built alongside the kernel04:33
sarnoldMACscr: virtualbox _guests_ should all just work04:33
MACscrbecause some Hardware stack addon has nothing to do with regular updates04:34
sarnoldMACscr: canonical is supporting TWO different kernels for precise -- the original stack and the new stack04:34
MACscrso 2.3 is stil supported? Thought  it was EOL in August04:34
sarnoldwhat's 2.3?04:34
MACscr3.2.x04:35
sarnoldyes, 3.2.x is still supported via the 'linux' package: https://launchpad.net/ubuntu/+source/linux04:35
sarnoldaha, finally found the new HWE stack, a 3.13.x kernel: https://launchpad.net/ubuntu/+source/linux-lts-trusty04:37
MACscrwow, thats so convoluted04:38
sarnoldMACscr: yes.04:38
MACscrwhy make it such a pain in the arse on admins? From what i have read, any kernel between 3.0 and 3.9 is horrible and shouldnt be used because of disk performance issues04:38
sarnoldMACscr: this wiki page tries to explain it all, but because it was written _before_ the .2, .3, and .4 stacks died, it suffers from a lot of other problems: https://wiki.ubuntu.com/1204_HWE_EOL04:39
sarnoldMACscr: naaaah, that's far too gloomy a representation of earlier linux versions04:39
sarnoldMACscr: it was Good Enough from 1.2.13 through 2.6.16, and got pretty decent at 2.6.17, I'd say 2.6.32 and newer is much the same, though specific versions along the way have had slightly better or worse performance...04:40
sarnoldMACscr: honestly I haven't noticed any actual -changes- since 2.6.37 except perhaps for the nicer perf / tracing tools.04:40
sarnoldMACscr: I'm surprised zimbra would care; most applications can run just on 2.6 kernels without trouble04:41
MACscrsarnold: and from what i am seeing, there are not virtual kernels for precise in this newer stack?04:50
sarnoldlet me see...04:50
MACscrBTW, i am using them in xen pvm's. The point of the virtual kernel is to make it more efficient and slim because of the lack of needed hardware support04:51
sarnoldinteresting, I don't see any of the -virtual packages, nor the -powerpc and -powerpc64 packages that the standard linux package provides...04:55
MACscryep, screwed over again….04:56
sarnoldhow much performance penalty have you found with the non-PV guest kernels?04:57
sarnold.. and do your CPUs really not have virtualization extensions? they've been around for a while now, I'm surprised anyone still ran PV hosts04:58
MACscrsarnold: of course i do, but they are still faster04:59
MACscrheck, you even do PV with KVM when you can04:59
sarnoldMACscr: interesting, I didn't know kvm had any paravirt hypercalls available..05:01
Logos01Oh yeah, this is going to end well.05:02
Logos01"33 packages are going to be removed. 681 packages are going to be installed. 1515 packages are going to be upgraded."05:02
MACscrlol05:02
* Logos01 is upgrading his laptop from 12.04 to 14.0405:02
MACscrgood luck!05:02
* Logos01 is also using ZFS as the rootfs for this setup05:02
sarnoldLogos01: \o/ :)05:02
sarnoldLogos01: YIKES05:02
Logos01As I said. This will end well.05:03
sarnoldLogos01: are you also upgrading from 0.6.2 to 0.6.3?05:03
Logos01I don't think so05:03
Logos01Naw, I'm on 0.6.305:04
sarnoldokay, that upgrade sounded like it hurt some folks, the userspace <-> kernel protocols changed and the tools do not handle that well :/05:04
sarnoldLogos01: oh okay05:04
* sarnold exhales again05:04
sarnoldLogos01: how much work was it to get zfs root? :) I've discounted it as too much work and too dangerous but would LOVE the features..05:04
Logos01I've done it enough times that I'm used to it.05:04
Logos01I use rlaager's walkthrough.05:04
sarnoldLogos01: thanks :D05:05
Logos01I don't think I have a single Ubuntu system right now that *doesn't* use ZFS as its rootfs.05:05
Logos01Wait, no, I forgot my NAS and hypervisor are still on ext4+LVM05:06
Logos01I'll probably change that soon.05:06
Logos01https://github.com/zfsonlinux/pkg-zfs/wiki/HOWTO-install-Ubuntu-to-a-Native-ZFS-Root-Filesystem <-- that's pretty valid05:08
sarnoldwow, rlaager's guide is 0.6.1..05:10
sarnold.. from the mists of time :)05:10
Logos01Haha, it hasn't been updated recently no.05:11
Logos01But he and ryao both are awesome.05:11
sarnold*nod*05:12
* Logos01 lurks in #zfsonlinux ... for years05:12
MACscrhmm, how should i properly recreate my /boot/grub/default?05:12
sarnoldLogos01: crazy though, I haven't seen either rlaager's guide or this pkg-zfs guide, both look less daunting than the other guides I've seen05:13
MACscrnvm, got it05:14
Logos01sarnold: Yeah, I can't account for that.05:14
sarnoldMACscr: oh, what was it?05:14
MACscrsarnold: no idea, it was created again when i installed the trusty kernels05:14
sarnoldMACscr: oh :) hehe05:14
* Logos01 probably shouldn't watch the exact packages being installed05:14
Logos01"libthai" <-- O_O05:14
sarnoldmmmm05:15
sarnolddammit now I'm hungry05:15
Logos01HAhahahahaha05:15
Logos01If only.  libudon05:15
sarnoldOMG05:15
MACscrhmm, so with Ubuntu 10.04 LTS server. Can i install the trusty kernel on it too?05:15
Logos01MACscr: Well, I don't see why you particularly *couldn't*05:15
Logos01But ... why not just distro upgrade?05:15
Logos01I mean, aside from that whole /var/run -> /run nonsense?05:16
MACscrbecause with zimbra, you have to completely reinstall it05:16
sarnoldMACscr: it would -probably- work...05:16
Logos01Well I mean worst thing that happens is he has to reboot into an older kernel version05:17
Logos01Right?05:17
MACscrCouldn't find package linux-generic-lts-trusty05:17
sarnoldLogos01: probably, I'd hope newer kernels' post-inst scripts wouldn't do anything that a 10.04 couldn't handle..05:17
Logos01MACscr: Actually ...05:17
sarnoldMACscr: yeah, you'd need to add new package lists to apt and perhaps add some pinning or similar to make sure they are lower priority than the lucid lists05:18
Logos01MACscr: try adding the backports repo and seeing what kernel versions show up05:18
Logos01Barring that you might be able to add xorg-edgers and get it that way.05:18
sarnoldLogos01: he just wants kernel, doesn't care about x1105:18
Logos01sarnold: They ship the kernels05:18
sarnoldoh :)05:18
MACscrwell its a vm too05:19
Logos01He could also probably grab the exact kernel off of the mainline-ppa (you can't add that as a PPA though)05:19
MACscri know i cant use mainlines with ksplice05:19
MACscrim 100% sure on that05:19
Logos01Oh, you're using ksplice??05:19
MACscryep05:20
Logos01Throw everything we just said out the window05:20
Logos01You're on your own.05:20
Logos01(I don't mean to be hostile, or seem it, but ksplice destabilizes the entire conversation)05:20
MACscrksplice is awesome05:20
Logos01It is, but it also is highly unsupportable in situations exactly like this.05:20
Logos01There's no way to know exactly what it's done, and it *definitely* won't support whatever kernel you try to add.05:21
sarnoldjust out of curiosity, how many digits per year do you have to throw to oracle to get that?05:21
Logos01sarnold: You can still get it for free for Ubuntu desktop kernels.05:21
MACscrlike this? im only using official precise kernels05:21
sarnoldLogos01: really?? cool05:21
Logos01(And Fedora)05:21
MACscrsarnold: about 3 bucks per month per server05:21
Logos01Oh, you have one of the pre-Oracle licenses?05:21
sarnoldMACscr: damn. that's far cheaper than I expected.05:21
Logos01Good on you.05:21
MACscrbut only because i dont have that many that im using it with05:21
MACscryes i do =)05:22
sarnoldoh :)05:22
Logos01sarnold: That pricing isn't available.05:22
MACscrand i can keep adding servers too =)05:22
sarnold$3/mo really didn't seem like larry to me, hehe05:22
Logos01It's from when it was ksplice.05:22
sarnold*sigh*05:22
sarnoldoracle05:22
sarnoldwhere good things go to die05:22
Logos01Yuuuup05:22
sarnoldand horrible things get worse05:22
Logos01... I know far too many former Sun employees.05:22
sarnoldLogos01: hmmm, step 3.2.1 has create a sparse file for mirroring, then delete the file and degrade the mirror .. but mirrors can be created and broken at any time with zfs, why bother with the sparse file here?05:25
sarnoldLogos01: do you skip that step now?05:25
Logos01sarnold: Umm...05:28
Logos013.2.1 from what?05:28
Logos01Oh, I see.05:29
Logos01I should've read that closer. I didn't have to do anything like that.05:29
sarnoldLogos01: yeah it seems like needless complication..05:29
Logos01Yeah05:30
Logos01If you found the rlaager walkthrough it's probably still better.05:33
Logos01Yup, errors encountered in install05:33
sarnoldLogos01: wow, it's worth it for this line alone, "The /etc/zfs/zpool.cache file embedded in the initrd for each kernel image must be the same as the /etc/zfs/zpool.cache file in the regular system. Run update-initramfs -c -k all after any /sbin/zpool command changes the /etc/zfs/zpool.cache file."05:34
sarnoldLogos01: I've also never seen this advice written down anywhere before :) hehe05:34
Logos01Hehe... yeah, that's a valid assertion.05:35
sarnold(a) I never knew the initrd had a copy of the cache (b) oh man keeping it in sync sounds miserable :)05:35
=== kickinz1|afk is now known as kickinz1
Logos01Well, if you don't futz around with zpool.cache then you're okay05:36
Logos01Not many commands do that.05:36
Logos01Oh dear.05:36
sarnolduhoh, upgrade problem?05:36
Logos01Yarp05:36
sarnold:/05:36
Logos01804 left to upgrade05:36
sarnoldoww05:37
Logos01Oh yeah ... I'm a little hosed here.05:41
Logos01It's that grub bug I mentioned before.05:41
Logos01Yay05:41
lordievaderGood morning.06:11
Logos01sarnold: Yeah, this is pretty badly hosed now.06:13
Logos01grub-probe cannot find filesystem for /06:14
sarnoldLogos01: owwww :(06:14
sarnoldLogos01: so -- rollback to 12.04 and pretend it never happened? or .. try to go forward and fix?06:14
Logos01I tried downgrading grub to the version provided by zfs-native PPA for precise, but no dice.06:14
Logos01Rollback's not an option here, because like an idiot I didn't snapshot this.06:15
sarnoldashift 9 or 12?06:15
Logos01I thought I had zfs-auto-snapshot running and I don't.06:15
sarnold:(06:15
Logos01blargh, ashift 1206:15
Logos01This was working before.06:15
Logos01sarnold: Thanks for helping/trying though. :)06:51
sarnoldLogos01: good for me too, hehe06:52
Logos01Heh06:52
Logos01You might have more luck.06:52
Logos01But all I did was add the ZFS grub PPA and then apt-get install zfs-grub/precise06:52
Logos01I had to then do an apt-get install --reinstall grub06:52
Logos01And *THAT* took.06:52
sarnoldif I'd just gone to bed at the right time I might have though "oh look how easy zfs rpool is these days" without knowing that it is infact a ticking timebomb of annoying :)06:52
Logos01Wwwwweeeeellll06:53
Logos01This is an unusual case.06:53
Logos01I kinda got where I am because everything that can't go wrong decides "Oh hey, it's Logos, let's break anyhow."06:53
sarnoldwell, you're not the first to have that error message :) I don't think the previous guy I saw with it got it sorted :/06:57
sarnoldnight Logos01 :) hope it finishes off well enough06:59
=== Lcawte|Away is now known as Lcawte
=== Lcawte is now known as Lcawte|Away
=== markthomas|away is now known as markthomas
Logos01sarnold: I had a successful boot.08:14
Logos01sarnold: Though it was ... troublesome.  Booted into initramfs a few times before I figured out kernel flags were missing from the GRUB config.08:14
MACscrcan i install the enablement stack on 10.04?09:34
=== Pici` is now known as Guest66735
=== yokel_ is now known as yokel
rbasakMACscr: that's not supported. You might be able to make it work but I suspect there will be more issues than it's worth.09:46
MACscrnp09:46
MACscri need to upgrade it anyway09:47
=== cnj_ is now known as cnj
=== Lcawte|Away is now known as Lcawte
=== rbasak_ is now known as rbasak
SiebjeeHi There, does anyone has a quick fix if initramfs is stating that the root uuid disk is not existing ?10:13
Siebjeeubuntu 14.04 and 12.04 are giving me the same issue.10:15
alex88hi guys, I'm trying to install libvips-dev package on a 12.04 box from circleci CI service10:18
alex88https://gist.github.com/alex88/6b0d829b591a07af8a40 problem is that it's not able to install them since deps never met10:19
MACscrhmm, when should i run barrier=0 and barrier=1 in fstab? Its a Xen PVM and the file system is ext310:30
=== Eu is now known as Guest65044
=== Lcawte is now known as Lcawte|Away
DenBeirenhi people,.. i'm having issues with /boot filling up to 100% and i seem to be unable to purge older kernels :s11:26
DenBeirenhttp://pastie.org/962754911:27
=== darkness is now known as Guest69152
=== ses1984_ is now known as ses1984
rbasakivoks: did you file a bug for your pacemaker issue? To fix it we're going to need an SRU justification, test case, etc.13:30
=== Ursinha-afk is now known as Ursinha
paco1hi folks!13:42
nidowhen i log in to a ubuntu 12.4lts server i get a message saying "N packages can be updated. M  updates are security updates."; is it possible to get an overview of which packages have specifically security updates?13:48
ivoksrbasak: not yet; will do tomorrow i guess; it's a holiday, so i'll find some time to do things like that :)13:50
rbasakivoks: thanks :)13:54
bencccan I install utopic package on ubuntu 14.04? http://packages.ubuntu.com/utopic/gstreamer1.0-tools14:22
cfhowlettbencc, mixing repo versions is not recommended and will probably break things14:22
jamespagezul, hmm - I'm seeing a pretty bad performance degredation on glance in juno14:22
jamespagezul, 10x slower14:22
jamespageceph backend14:22
zuljamespage:  thats *not* good14:23
cfhowlettbencc, if it's a package you really need, perhaps someone will backport it14:23
jamespagezul, for uploading images at least14:23
jamespageI was getting 200MB/s out of icehouse - ~20 out of juno14:23
bencccfhowlett: even the ppa doesn't have gstreamer 1.4 https://launchpad.net/~gstreamer-developers/+archive/ubuntu/ppa14:24
cfhowlettbencc, you can always try installing from source rather than repo mixing14:24
bencccfhowlett: I've found instructions but it seems that it might interfere with the existing gstreamer installation and not sure if it includes the plugins http://askubuntu.com/questions/517910/installing-can-i-install-gstreamer-1-4-on-ubuntu-14-0414:26
jamespagezul, lets have a bug - https://bugs.launchpad.net/ubuntu/+source/glance/+bug/137838814:28
uvirtbotLaunchpad bug 1378388 in glance "Performance regression uploading images to glance" [Undecided,New]14:28
zuljamespage:  glance store was split out wasnt it?14:28
=== Guest65044 is now known as knoxy
jamespagezul, yeah it was14:34
=== bilde2910|away is now known as bilde2910
paco1how can i read bind9 binary zone en 14.04lts? thanks!15:34
=== Lcawte|Away is now known as Lcawte
=== Gutenberg is now known as Dry_Lips
jamespagecoreycb, zul: could one of you look at enabling the tests in websockify to support the MIR for nova?16:19
zuljamespage: sure16:19
zuljamespage:  i have some bandwidth16:19
blackyboyHi everyone , How RAID 5 works ? If i have 6 drives and if any one the drive fails it will rebuild from 6th drive ? or it will rebuild from all 5 other drives ?  Please explain little.16:41
geniiblackyboy: It rebuilds from the information left on the remaining good drives16:44
blackyboygenii: :) bunch of thanks, really happy for your reply thank you.16:45
geniinp16:45
=== bilde2910 is now known as bilde2910|away
=== Ursinha is now known as Ursinha-afk
sarnoldLogos01: oh, wow, yeah... :) so you're up and running?17:59
Logos01Yeah, yeah I am.18:00
Logos01It was a trial. My path to getting bootable is not replicable, but then again apparently neither is the exact issue.18:01
Logos01So I mean there's that.18:01
RoyKblackyboy: see https://en.wikipedia.org/wiki/Standard_RAID_levels - it uses parity blocks - with 6 drives, I think you should consider raid6, if you're concerned about safety18:03
blackyboyRoyK: yes got it now i have cleared my doubts thanks18:05
mgwI've upgraded some of my Trusty systems to the latest kernel (3.17) for the better btrfs support/bug fixes. What are potential problems this could lead to down the road?18:05
=== chmurifree is now known as chmuri
sarnoldLogos01: ugh :) well at least it's all going now... and the next one will hopefully not be so horrible18:10
sarnoldmgw: it's on you to keep up with security updates, but beyond that, not much.18:10
mgwsarnold: ok, thanks18:11
mgwso if I keep the latest 3.17 release in my private apt repo, and keep updated to that, I should be ok?18:11
RoyKblackyboy: what sort of drives do you have in that raid?18:12
mgwAny reason then why the LTS releases don't just keep up with the latest kernel?18:12
blackyboyRoyK: Just ask for knowledge base. I don't have a RAID here18:12
sarnoldmgw: heh, they kind of do, but last night a user spent two hours in here complaining about that being confusing (he's not wrong)18:12
mgwi see18:13
mgwso they backport everything and call it 3.13?18:13
mgw.x18:13
sarnoldmgw: the 12.04.{2,3,4,5} point releases all had newer kernels -- I expect the same from 14.04.{2,3,4...}...18:13
sarnoldmgw: no, they had different packages entirely -- linux-lts-trusty, iirc18:13
=== Ursinha-afk is now known as Ursinha
mgwif I download the kernels from here (http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17-utopic/) and put them in my local apt repo, will they probably get selected over the stock trusty packages?18:14
sarnoldmgw: I think so18:15
rbergmgw: note that those packages are missing some things the official kernel has, I noticed aufs was missing from the mainstream 3.16 build18:15
RoyKblackyboy: ok - just wondered - if you have drives of 2TB or larger, and 5+ of them, given standard error rates, which really are stable per sector for modern drives, I'd suggest using raid-6 (or raidz-2 with zfs on linux)18:15
mgwas long as it's not missing btrs :-)18:16
mgwbtw, nilfs was just brought to my attention18:16
mgwhow does it compare to btrfs18:16
blackyboyRoyK: yes your suggestion is good one but while comparing other RAID levels RAID6 is poor in performance right.18:17
RoyKblackyboy: it performs worse than raid5 for writes, yes18:17
RoyKblackyboy: what sort of data are you planning to put on this?18:18
RoyKblackyboy: if it's music/movies/archival things, raid-6 works well18:19
blackyboyRoyK: Not planned to build now. May be later, Just reading RAID article and i want to know about it some better than before.18:19
blackyboyOh cool Music movies18:19
RoyKblackyboy: storage all depends on what sort of data you have18:20
blackyboyok18:20
RoyKblackyboy: for VM storage in a production system, use RAID-1+018:20
RoyKblackyboy: same as for transactional databases18:20
RoyKblackyboy: for a home server? just stick with raid-6 or something similar18:20
RoyKblackyboy: I'm a ZFS fan, so I use RAIDz2, ZFS' equivelent of RAID-618:21
blackyboyCool, Then can i use RAID 1+0 for my Proxmox servers ?18:21
blackyboyCool!18:21
RoyKblackyboy: what's proxmox? I can't reach their site18:23
blackyboyhttps://www.proxmox.com/18:23
blackyboySame as XEN, Hyper-v18:23
sarnoldnice gui in front of containers and xen or kvm..18:23
RoyKblackyboy: yeah - google said so, but it's dead slow18:24
RoyKsarnold: ah - ok18:24
blackyboyProxmox VE is a complete open source virtualization management solution for servers. It is based on KVM virtualization and container-based virtualization and manages virtual machines, storage, virtualized networks, and HA Clustering.18:24
RoyKncie18:24
RoyKnice18:24
RoyKgotta look more into that one18:24
blackyboyCool!18:24
RoyKanyway - take a look at http://wiki.illumos.org/download/attachments/1146951/zfs_last.pdf before you decide using mdraid18:24
blackyboysarnold we use Hyper, XEN, Promox18:25
RoyKzfs is a wee bit cooler18:25
RoyKnot as flexible, though18:25
blackyboyXEN is good if you need only GUI option :D18:25
blackyboyRoyK: Oh Thanks for link18:25
RoyKI never liked Xen - KVM for me (or vmware at work)18:26
blackyboyok18:26
blackyboyI have installed FreeNAS in one of the local server in office it has ZFS, i dont have good idea in it so left as it.18:26
RoyKis proxmox open source?18:26
blackyboyRoyK: yes its Open source18:27
RoyKhm. doesn't look that way18:27
blackyboyRoyK: Read this to know all about Proxmox http://www.amazon.in/Mastering-Proxmox-Wasim-Ahmed/dp/178398082618:28
RoyKproxmox.com is *really* slow18:28
RoyKseems it's AGPLv3, though, which is good :)18:29
blackyboyoh i can access it right now with good speed18:30
blackyboyhttp://www.amazon.com/Mastering-Proxmox-Wasim-Ahmed/dp/178398082618:30
RoyKthat's amazon.com, not proxmox.com :P18:30
blackyboySorry before i have provided indian site link18:30
blackyboyRoyK: yea to know and read completely about building a Cluster using promox we used this Guide18:31
RoyKblackyboy: anyway - about this raid question - was that for home use or large scale/production use?18:31
blackyboyRoyK: no its for office use, not a large scale use just a small one18:32
RoyKblackyboy: then look more into zfs18:32
blackyboyoh sure18:33
RoyKblackyboy: if you want to use zfs for VM storage, I'd suggest using striped mirrors (aka RAID-1+0) and a SLOG (separate ZFS intent log) on an SSD (or perhaps two, in a mirror)18:33
blackyboyOkay18:33
RoyKsync writes to ZFS aren't very fast, since they have to flush the ZIL at every write18:34
RoyKthat's especially bad with things like RAIDz (or RAIDz2 etc), but an SLOG helps out a lot for that18:34
blackyboyhmm18:35
RoyKblackyboy: the reason ZFS isn't very quick at sync writes, is that it really takes care of the data18:35
sarnoldadding more vdevs can help though18:35
RoyKmost sarnold sure, thus striped mirrors18:36
blackyboyRoyK: thanks for the above links seems it got enough information to understand about ZFS let me go through it first .18:36
RoyKblackyboy: it's a good introduction18:36
blackyboyadding vdevs ?18:36
blackyboy8-)18:36
RoyKblackyboy: in ZFS land a VDEV is something like a drive, a mirror or a RAIDz set18:36
sarnoldblackyboy: that's a good looking presentation, but this might give a better flavor of how zfs is used: https://pthree.org/2012/12/04/zfs-administration-part-i-vdevs/18:36
blackyboyoh cool18:37
RoyKerm18:37
RoyK"RAID-0 is faster than RAID-1, which is faster than RAIDZ-1, which is faster than RAIDZ-2, which is faster than RAIDZ-3."18:37
RoyKRAID-1 is faster on iops than RAID-0 :P18:38
blackyboyyes18:38
RoyKblackyboy: that's the thing to consider with storage - do you want the storage fast for sequencial I/O or random I/O? For VM storage, it's basically all random I/O18:39
blackyboyRAID 0 stripes so its faster than mirroring18:39
RoyKblackyboy: zpool create mypool mirror dev1 dev2 mirror dev3 dev4 mirror dev5 dev518:39
blackyboyok18:40
RoyKthat'll create three mirror over which data is striped, and a very good place to store VMs18:40
RoyK(preferably more than six drives, though, and better add a SLOG)18:40
blackyboyoh while creating VMs i don't used those options let me check.18:40
RoyKlog devices and cache devices (think of it as write and read cache) can be removed18:40
blackyboyChoosing I/O options will give performance to VMs ?18:41
RoyKblackyboy: these options are used for storage, not what you put on them18:41
RoyKblackyboy: obviously18:41
blackyboyWow Cool!18:41
cyber_dwellertrying to setup a server in my office, the server should do http,mail,and some more services from wan side. also, it'll serve the lan with some more common services like nfs,cifs,internal mail,buckup server, dhcp and remote openvpn access from wan side to lan. trying to figure out if tap is the way to go to create two diffrent vlans one for public access and the second for open vpn and local. what do you think? using a single n18:41
cyber_dwelleric18:41
RoyKcyber_dweller: so long as you're not going to use a DMZ or use the server as a router or otherwise separate the traffic from the internet from that on the LAN, yes18:42
RoyKcyber_dweller: one NIC will do, and will be easier to setup18:43
RoyKcyber_dweller: I guess the basi answer is "use two machines" (or one machine with two VMs) on separate networks18:43
blackyboyRoyK: hear about ansible ?18:44
blackyboyheard about ansible18:44
blackyboyhttp://www.ansible.com/home18:45
blackyboyOk good night everyone, time to bed. Thanks Royk18:48
RoyKblackyboy: why not puppet?18:48
blackyboyRoyK: Puppet no idea about it.18:49
qman__I also recommend breaking those roles up into separate servers or VMs, a lot more maintainable that way18:49
RoyKcyber_dweller: what sort of machine do you have? how many users? how many networks?18:49
RoyKqman__++18:50
qman__That way when you have to upgrade your web server, you can leave your mail server alone for the time being18:50
qman__This problem happened to me, because my postfix+dovecot config isn't compatible with current versions18:51
RoyKqman__: it's quite common - that's why we have a few hundred VMs at work :P18:51
qman__I will fix it eventually, but separating it allows for piecemeal upgrades18:52
cyber_dwellerRoyK, i'm running i5 machine as the server, no services exposed to wan side yet. i5 serves other machines through hba and ethernet, running a i7 as a xen machine.18:52
RoyKcyber_dweller: get a xeon machine (or something from AMD) with ECC memory and setup a new machine (or two) to host VMs. virtualize those machines and make use of them elsewhere18:53
RoyKthat's what I'd do, anyway18:53
cyber_dwellerRoyK, hardware is not the issue, ofcourse ecc would be much appreciated but uptimes are long enough so this machine can be used as a server. i want the i5 server to keep serving to the lan with a remote access capability from wan to lan side using openvpn. and i want to open some wan traffic to the server to run http mail and stuff. what would be the best approach?18:59
cyber_dwellerRoyK, not risking running dmz :)19:01
RoyKcyber_dweller: just saying something with ECC (i[357] doesn't support that) because errors do happen and you don't want those errors in production servers - and - having a dedicated xen/vmware/kvm/something box doing the hard parts, separating networks etc, is nice19:01
Logos01sarnold: It had better not be. The last straggler is my router.19:03
Logos01<_<19:03
sarnoldLogos01: hahaha19:04
* Logos01 isn't kidding19:04
Logos01I have this SFF miniITX box whose original purpose in life was to be a lab for rpm buildouts and cluster software deployment a couple of jobs ago.19:04
sarnoldLogos01: how many routers in the world run zfs do you figure? :)19:04
sarnoldnice19:05
Logos01Probably just the one.19:05
Logos01Yeah, dual-core hyperthreaded Core i3 CPU, 16GB DDR3 RAM (2x8 1600MHz), 128GB SSD.19:05
sarnoldnice router :)19:06
Logos01Originally running a KVM hypervisor with about 16 essentially idle CentOS VMs.19:06
Logos01(Except the Spacewalk and OpenLDAP servers.)19:06
Logos01Anyhoo, I paid for this thing out of pocket because the company wasn't budging on giving me the resources I needed to, well, get my job done.19:06
Logos01So when I left there, I took it with me.19:06
sarnold*nod*19:07
Logos01And I just couldn't let it sit idle, so I threw a 4-port gigabit NIC PCI card in that badboy and called it a router.19:07
sarnoldthat's the way that goes :)19:07
Logos01I also use it as a media pc, because why not.19:07
cyber_dwellerRoyK, i'm saying the ecc is not the issue here, the issue is the question of what would be the best approach for setting two different vlans using single nics?19:08
RoyKcyber_dweller: I just mentioned ecc because it's good. using two different VLANs on a single nic isn't a problem, if the switch/firewall in front supports that - just ifconfig eth0.myvlanid (something)19:09
RoyKcyber_dweller: the separation between VLANs in linux are good19:10
RoyKs/are/is/ :P19:10
=== havanami_ is now known as havanamint
=== havanamint is now known as havanaworks
=== kickinz1 is now known as kickinz1|afk
=== bilde2910|away is now known as bilde2910
=== Ursinha is now known as Ursinha-afk
=== Guest44420 is now known as Locke2002
=== Ursinha_ is now known as Ursinha
=== markthomas is now known as markthomas|away
=== JanC_ is now known as JanC
=== Guest10736 is now known as mfisch
=== mfisch is now known as Guest69465
=== neurotus is now known as Guest85171
=== Lcawte is now known as Lcawte|Away
=== a1berto_ is now known as a1berto
=== njalk_ is now known as njalk
ruben23guys anyone cna help how do i check an disoalte source of this issue --> http://i58.tinypic.com/w70ug2.jpg22:59
sarnoldruben23: what issue?23:02
Patrickdksarnold, oviously, all the colors23:11
sarnoldPatrickdk: heheh23:11
sarnoldrelated https://i.imgur.com/pQT0l.gif23:12
RoyKruben23: pastebin the text23:12
ruben23the cpu cores are spiing straight 100 percent causing lagged23:14
ruben23and i see its coming from mysql application23:14
Patrickdkwell, don't turn on your computer, and that wouldn't happen23:14
RoyKruben23: using hyperthreading?23:14
sarnoldruben23: you could try turning on query execution plan or something if mysql has that information available, so you could optimize your SQL23:16
RoyKruben23: just turn off hyperthreading23:16
sarnoldRoyK: really? o_O23:16
RoyKruben23: it's normally not good except for small data loads23:16
RoyKsarnold: ?!?23:17
Patrickdkwell, hyperthreading only works on *different* loads at once23:17
Patrickdkmysql + mysql, not so much23:17
sarnoldRoyK: the lsat time I did testing I got consistently better compile speeds with hyperthreading :) heh23:17
Patrickdkmysql + vlc, more likely :)23:17
Patrickdksarnold, compile is lots of different stuff though23:17
Patrickdkyour using lots of different cpu subsets23:18
Patrickdkmost people only do integer stuff with sql, not so much floating point and other things23:18
RoyKsarnold: hyperthreading makes each core have half the cache size usable23:18
RoyKsarnold: I've seen different results, but mostly, if you stay close to what you're doing and at least with a high memory load, hyperthreading dosn't work that well23:19
RoyKwith little memory and thus cache load, ht works well23:20
Patrickdkor if your doing vm's :) busy vm's on real cores, and idle vm's on ht cores :)23:21
Patrickdkbut never assign more cores than real cores to a single vm23:21
sarnoldheh, a pal recently assigned a VM 1024 cores ..23:21
sarnold.. but he only 64 real cores to work with. he said it was slow to boot.23:22
Patrickdkmy friend configured the db servers for 24 cores, servers have 12 + 12ht23:22
Patrickdkit's a bear23:22
Patrickdknow, that vm has 20 cores, and we have 20 real, and 20 ht23:22
Patrickdkit doesn't down the box, when it's used anymore :)23:22
sarnoldPatrickdk: hehehe, did he do it just to see if it could be done? or mistake? or ... what lead him to that madness? :)23:28
Patrickdkhe just wasn't thinking23:30
Patrickdk24cores? well, this vm is rarely used, but when it is, we need it to go fast!23:30
Patrickdkdid not think about the sideeffects23:31
=== Guest85171 is now known as neurotus
sarnold:)23:38

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!