/srv/irclogs.ubuntu.com/2015/10/02/#ubuntu-server.txt

=== markthomas is now known as markthomas|away
pmatulisteward: not sure what you mean by 'isn't depending on the management features'. nothing is forcing you to send it management commands01:12
=== CiPi is now known as cipi
ksx4systemwhat would be safest possible disk pool solution without hardware RAID controller? what would be safest filesystem?04:13
ksx4system(preferably something that works on 14.04 LTS)04:13
sarnoldksx4system: it's not exactly easy or transparent, but zfs provides checksums, compression, multiple redundancy methods to choose from04:14
ksx4systemsarnold: unfortunately ZFS is insanely resource hungry :(04:14
sarnoldksx4system: there's a lot to learn about zfs before jumping in, http://zfsonlinux.org/ https://pthree.org/2012/12/04/zfs-administration-part-i-vdevs/ good starting points..04:15
sarnoldksx4system: oh? granted you do currently want a 64 bit system, but if you don't use dedup (and you shuoldn't use dedup) it shouldn't be too bad; lots of folks use it in 4 or 8 gig machines..04:15
ksx4systemI'd like to build a server which eats up under 100W at full load (so some kind of 64-bit Atom board with 2-4GB of ram and four 2TB critical appliance grade disks)04:15
ksx4systemis ZFS only solution (given that I'm going to build that array of super-expensive critical appliance grade disks)04:17
sarnoldyeah that sounds like something zfs should do alright; you could do raidz2 if you want any two drives to die and IOPS aren't too important, or mirrors if iops are more important, but with mirrors only the 'right' two drives could die, hehe04:17
sarnoldno, you could also use mdadm to build your system, but it doesn't do checksums; it's more designed to handle disks outright dying, rather than corrupting data slowly via cosmic rays04:18
ksx4systemIOPS are quite important (it'll act as NAS for 3-4 of my desktop computers for nearly everything)04:18
sarnoldI went right to zfs because you started with "safest" :)04:18
ksx4systemI know, I know04:18
ksx4systembut I don't want to wreck my ultra low power home with loud and extremely power hungry server to handle ZFS properly04:18
sarnoldto be fair there's more people using mdadm than zfs on linux, but checksums and compression are good stuff..04:18
sarnoldamen.04:19
ksx4systemsarnold: if I don't really want ZFS (because of its requirements) - what else? mdadm with ext4?04:20
sarnoldksx4system: yeah, that's a decent second choice04:20
ksx4systemhow many drives could die in 4 disk array with this one?04:21
ksx4system(one for sure, two maybe?)04:21
sarnoldtwo, if the right two die04:21
ksx4systemyeah, not the 1+mirror1 drive04:21
ksx4systemisn't it better to run ZFS on Solaris anyway?04:23
sarnoldaha, here's the guide on md method, https://help.ubuntu.com/lts/serverguide/advanced-installation.html04:23
ksx4systemoh, one more thing: OS will not sit on data array04:23
ksx4systemdedicated SSD for this04:23
sarnoldperhaps; but the zfsonlinux software is storing unfathomable amounts of data at the moment and the devs only know a few data-loss events that were caused by the software04:24
sarnoldthat really helps, I think ubuntu's installer or boot or something is cranky with some kinds of md raid, and getting rpool on zfs is possible but looksl ike more effort than I want to spend :)04:25
ksx4systemwould it be safer to just buy hardware RAID card for PCI-express and run two RAID1/one RAID10/one RAID5 or even 6?04:25
sarnoldI don't much like the hardware raid solutions, I've heard of too many cases of the raid card dying and the resulting pile of disks not reassembling when the card is replaced04:26
ksx4systemsarnold: while music, those ultra large backup tarballs and other non-exec stuff could live on HDD operating systems are unsusably slow without SSD04:26
ksx4systemand 16-32Gb ones are really cheap04:26
sarnoldother people swear by them, of course, they sell like hotcakes :) -- but I'd rather have something that is software only so I stand a chance of rebuilding it without exotic or expensive or high-end services..04:26
sarnoldhehe, I've had my eye on those pcie intel 750 ssd monsters for a while.. $950 for 1.2 tb of 400kiops.04:27
ksx4systeman example: server dies, I move disks to new identical one (software RAID) - do I have 100% chance to access my data again?04:28
ksx4system(ofc given that hard drives are ok)04:28
sarnoldksx4system: yeah, assuming the drives survive04:28
ksx4systemok, so I don't care about hardware cards (more money to build server, less reliable solution)04:28
sarnoldright04:28
* ksx4system will backup most important stuff to some cheapskate board like Orange Pi/Banana Pi with 1Tb 2,5" drive on SATA anyway 04:30
ksx4systemand the uber important stuff on DVDs also04:31
ksx4systemis there anything to improve?04:31
sarnoldgood plan, raid is for availability, not to avoid backups :)04:31
ksx4systemI never really did backups04:31
ksx4systemafter another lost drive (80% data retrieved, the rest... well, fsck it) I've decided to backup *everything possible*04:32
ksx4systemdaily04:32
sarnoldyou may wish to look into systems with multiple NICs that you can gang together to get e.g. 2gig ethernet out of them; doing LACP may require a nicer switch, too, but might be worth it i fyou'v egot several machines doing IO to it at once04:32
ksx4systemwell, those will be 100Base-T boxes (two Raspberry Pis, one Intel Compute Stick with USB 100Base-T and another Raspberry Pi)04:33
sarnoldone nice thing about zfs is you can use an ssd as both l2arc and slog, to handle data that hasn't fallen out of RAM and to take bursts of synchronous storage requests faster than spinning metal drives can keep up04:33
ksx4systemsingle gigabit will handle it without even hitting 50% load04:33
sarnoldohhh, so the l2arc and slog probably aren't a big deal either :)04:33
ksx4systemlaptops will sync over Wi-Fi so the same crappy performance04:34
ksx4systemstill, I have quad 100Base-T nic - I could use it for those tiny computers on desktop04:35
sarnolddo you use those little pis and intel compute stick as desktops? server things? bridges to devices?04:36
ksx4systemdesktops04:36
sarnoldhow do they work out for that?04:36
ksx4systemICS is wonderful for low resource stuff (LibreOffice, Spotify, HexChat, Cygwin, modern browser)04:37
sarnoldwhen I installed my pandaboard es I played in the desktop for ten minutes and thought it did well enough but I never _used_ it..04:37
ksx4systemone Pi runs RISC OS (B+ and it's blazing fast)04:37
ksx4systembut RISC OS will be blazing fast on anything 200MHz+04:37
ksx4systemanother one will run... some kind of Linux, i've got to install stuff there (probably bare-bones Ubuntu/Debian with Fluxbox)04:38
ksx4systemfor more demanding tasks (audio editing) I still have that old quadcore/16Gb RAM/500+1000 HDDs/60 SSD04:39
ksx4system90% of time I'm happy with those ultra low power boxes :)04:39
ksx4systembtw ICS feels faster than dual core AMD box with 5Gb ram but only HDD (320Gb, for system and data)04:40
sarnoldwow04:41
ksx4systemthis one is ultra-sluggish and will retire as soon as I'll finish with Pi204:41
sarnoldit's been so long since I used hard-drive based OS, it's hard to even remember those days..04:41
ksx4systemI was forced to do so (failed power supply in quad core monster, failed motherboard in monster ThinkPad)04:42
ianorlinsarnold: yeah I can relate to that I have an ssd in my core 2 duo laptop and it feels much more responsive than a junky hp laptop with a 5400 rpm drive04:42
sarnoldksx4system: ouch :/04:42
ksx4systemianorlin: good SD card is faster than 5400k drive...04:42
sarnoldianorlin: yeah, an ssd is a cheap way to bring an older system back to life for a while..04:42
ksx4systemi3 dual 1,33GHz laptop with two gigs of ram and SSD faster than its SATA bus = this thing fscking flies04:43
sarnoldmy panda killed an sd card in ~one year of light torrenting, package updates, light logging..04:43
ksx4systemI log to ram (and copy periodically to USB drive)04:44
ksx4systemnoatime mounts04:44
ksx4systemcards live more than two years without problems04:44
ianorlinyeah but it won't magically give it vt-x so I still can't host virtual machines on my laptop, I can however over ssh use virt0manager and even create them with that04:44
ksx4systemianorlin, omg no vt-x/amdv04:45
* ksx4system doesn't even remember seeing desktop/laptop box that old04:45
sarnoldksx4system: yeah.. no more torrenting on that machine for me, and the second card seems to hav elsated 1.2 years or so now :)04:45
ianorlinalthogh since I got this beast desktop I have done so many testcases in virtual machines to help quality04:45
ksx4systemeven ICS has vt-x (but it's useless with two gigs of ram)04:46
ianorlinis setting up vnc on the ICS hard? putting it in the back of a tv and running like inkscape on it could do interesting stuff like dnd maps in inkscape04:47
ksx4systemianorlin: no, just install your VNC server of choice :) quadcore Atom will take care04:48
ksx4systembut it might not support your TV (only goes up to 1920x1080, nothing higher)04:49
ksx4systemnot even 1920x1440 (those huge LCDs)04:50
ianorlinksx4system: unfortaenly my tvs are ancient it doesn't have component out04:50
ksx4systemonly HDMI :( but accepts HDMI-DVI dumb converter (but then you have to use USB soundcard/DAC)04:51
ksx4systemand yes, afaik it will boot Linux (but it'll break warranty to install it on eMMC instead of Windows 8)04:51
* ksx4system runs his desktop on three identical XGA 15" LCDs, ultra low power (around 10-12W/piece)04:53
arooniAwould like to run to vhosts on the same vps using ubuntu 14.04 and nginx.... but now getting "[emerg] 19896#0: duplicate listen options for [::]:80 in /etc/nginx/sites-enabled/sitename"  ... can i have no default server listed?05:28
sarnoldvirtual hosts share an ip address, listening socket, etc05:29
sarnoldthey only notice which virtual host to use when they aceept and then read from the socket05:29
sarnoldyou'll need to have exactly one listen config option in the entire process05:30
=== cipi is now known as CiPi
=== med_ is now known as Guest43458
=== Lcawte|Away is now known as Lcawte
=== Lcawte is now known as Lcawte|Away
=== hxm is now known as Guest1320
lordievaderGood morning.07:58
=== mukhbiir is now known as neoark
=== akaWolf1 is now known as akaWolf
=== DalekSec_ is now known as DalekSec
=== lukasa is now known as lukasa_away
=== lukasa_away is now known as lukasa
=== Acilim_A is now known as Acilim
=== Acilim_A is now known as Acilim
=== Lcawte|Away is now known as Lcawte
=== Lcawte is now known as Lcawte|Away
=== stephank_ is now known as stephank
=== lukasa is now known as lukasa_away
=== lukasa_away is now known as lukasa
=== lukasa is now known as lukasa_away
=== markthomas|away is now known as markthomas
=== lukasa_away is now known as lukasa
=== Lcawte|Away is now known as Lcawte
penwhello beautiful people15:39
penwhow can I go about running a cronjob every 30 minutes between hours15:40
penwe.g 8-1415:40
penwon one line15:40
penwif I specify 30 8-14 it will run on 14:30 as well15:40
penwwell 0,30 :^)15:40
penwafter 3 minutes of using the powerful search engine named Google the cleanest option would be to just have two lines15:43
penwoh well15:43
=== sudosmurf is now known as sudormrf
jamespagecoreycb, just testing to see if we can patch out ryu from the neutron deps16:32
coreycbjamespage, ok, tough go getting it into main I see16:33
jamespagecoreycb, I have a hunch that the test suite is patch-tastic16:33
jamespagecoreycb, and its for an experimental driver anyway16:34
jamespagealternative to the command line driver for ovs16:34
jamespageso its not default16:34
coreycbjamespage, ok16:34
jamespagecoreycb, testr did not crap out with an import error so fingers crossed16:34
coreycbjamespage, cool16:34
=== ashleyd is now known as ashd
=== Lcawte is now known as Lcawte|Away
=== lukasa is now known as lukasa_away
=== lukasa_away is now known as lukasa
=== markthomas is now known as markthomas|away
=== markthomas|away is now known as markthomas
=== Lcawte|Away is now known as Lcawte
=== Lcawte is now known as Lcawte|Away

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