/srv/irclogs.ubuntu.com/2013/05/18/#ubuntu-server.txt

qman__no00:30
qman__even though the disks in a mirror contain the same user data, they are not the same disk00:31
qman__the metadata will be wrong and it will rebuild anyway00:31
vlad_starkovNice article about choosing hard drive http://www.directron.com/howtochoosha.html00:31
vlad_starkovqman__: oh I see, thanks!00:32
vlad_starkovSo what is more reliable: SSD or HDD?00:33
qman__neither is particularly reliable00:35
qman__if you care about your data, implement a good backup system00:35
qman__and, the old addage is true: raid is not backup00:36
qman__raid is there to possibly prevent you from needing your backup, but it doesn't replace it00:37
vlad_starkovQuestion: what is the best strategy to scheduled replace all old hard drives for multiple servers with RAID1? For the moment, I think we need 2 planned maintenances: first – remove 1 of 2 existing drives and add new drive so md will recover data on the new drive; second – removing second old drive and add new one instead, so md will recover data on it from the previous new drive. So that system will have 2 completely new00:37
vlad_starkovdrives.00:37
qman__that's a good strategy00:38
vlad_starkovqman__: OK00:38
butchlugrodback up early, back up often, back up off site.00:38
qman__it has the benefit of that first-removed drive being a backup copy00:38
qman__if your hardware supports it, there is a third option00:38
qman__add your disks to the existing mirror without removing the old ones00:39
qman__then remove the old ones after the resync00:39
vlad_starkovBut I'm wondering when md starts recovering process, may I use the server? Or it is better to unplug it from network and let md finish recovering?00:39
vlad_starkovqman__: you mean 3 drive slots on a single system?00:40
qman__the recovery process happens in the background and does not require downtime; that said, if your system is on the raggedy edge in terms of performance, you may slow down beyond the point of workability00:40
qman__actually I mean 4, but yes00:40
vlad_starkovqman__: for these servers we have only to slots and they're not removable00:41
qman__in a raid 1 you can add as many mirrors as you want00:41
vlad_starkovqman__: really?00:41
qman__so adding 3 or 4 mirrors, then removing the old ones, is a valid strategy too00:41
vlad_starkovI didn't know that00:41
vlad_starkovqman__: how the system know what to recover if at the beginning of recovery process the MyFile.doc was 15 pages book, and then I turned on my server in degraded raid mode so recovering could proceed in background, and then when system done recovering this MyFile.doc for 50% (theoretically) I saved new version of that file, that contains 30 pages and different content of some paragraphs in the first 3 pages. How system knows w00:46
vlad_starkovhat is the valid version of MyFile.doc for the moment?00:46
qman__vlad_starkov, it updates it on the fly01:10
qman__how exactly it does this is a bit voodoo magic to me, but it automatically handles writes while resyncing01:11
vlad_starkovqman__: OK np01:11
vlad_starkovWant to read a good book about raid and related01:12
vlad_starkovSome stat on cloning 1TB SATA2 drive: from 0 to first ~400GB the speed was ~ 86Mbyte/sec. Now it's 485GB and speed is ~77Mbyte/sec01:16
patdk-lapqman, it's very simple01:17
patdk-lapwhen you write, it writes01:17
patdk-lapno vodo needed01:17
patdk-lapwhen you read it will limit reads from the good drive, till it's done01:17
qman__that works on a raid 1, but how it does it on a raid 5 or 6 is still a bit confusing01:17
patdk-lapya, it bitmap tracks it01:18
patdk-lapthat was going be my next saying01:18
patdk-lapvlad_starkov, you know harddrives start fast, then get upto like 1/3 their speed at the end?01:19
patdk-lapif it starts at 120mb/sec, you can expect 50mb/sec at the end of the disk01:19
vlad_starkovpatdk-lap: I didn't01:19
patdk-lapheh?01:19
patdk-lapyou have never seen a harddrive benchmark ever in your life?01:19
vlad_starkovI noticed that but never know that it's normal behaviour01:20
qman__it's because the beginning of a hard drive is at the outside edge of the disk01:20
qman__which, by the nature of rotation, is capable of a much faster speed than the inner edge01:20
patdk-laphttp://img40.imageshack.us/img40/5864/hdtuneproahcibenchmarkv.png01:20
vlad_starkov514GB done, speed is ~74MByte/sec01:20
qman__optical discs are set up the opposite way01:21
qman__with the start on the inside, working out01:21
vlad_starkovA century study01:21
patdk-lapever since they switched form constant sectors per track01:21
vlad_starkovWhat about SSD?01:21
patdk-lapssd's don't normally rotate01:22
vlad_starkov))01:22
qman__they're just flash chips01:22
qman__should be a flatline01:22
patdk-lapwell, if it was ram it would be01:22
patdk-lapflash is on page/block issues, for writing01:23
patdk-lapfor reading, it's just how many chips you have01:23
vlad_starkovSo when manufacturer specify read/write timeout, speed and so on, is it an average value or what?01:23
patdk-lapdepends what value your looking at01:24
patdk-lapavgerage latency, is just that avg01:24
qman__they would normally publish both01:24
patdk-lapspeed, will be max01:24
patdk-lapif you notice you get basically max speed for half the disk01:25
patdk-lapso if you shortstroked the disk 50% :)01:25
qman__it's actually a common tactic01:25
qman__well, was, before SSD01:25
vlad_starkovthe hdd technology now seems so old...01:25
qman__if you needed faster disks but didn't need the space, just make your partitions small at the start of the disk01:25
qman__stay within the high range of speed and reduce latency because you're only seeking over part of the disk01:26
vlad_starkovWhat max sizes of disks Ubuntu supports?01:26
vlad_starkovqman__: I see. Good trick01:26
qman__now you just buy SSD because it's almost an order of magnitude faster and seek times are nonexistant01:27
patdk-laphmm, for 64bit? something like pb's per disk01:28
patdk-lapfor ext4? we still at 16tb cap? for ext4tools?01:28
qman__yeah, the software is way ahead of the hardware on that one01:28
qman__nah01:28
qman__ext4 is something like 8eb01:28
patdk-lapno01:28
qman__ext3 is 16TB01:28
patdk-lapext4 could do it, but the tools couldn't01:28
patdk-lapso it wasn't possible to format it01:29
patdk-lapatleast when 12.04 came out01:29
vlad_starkovso RAID 10 of 16TB is ok for Ubuntu 12.04?01:29
qman__yes, no problem01:29
qman__and even if you can't go bigger with ext4, there's still xfs01:29
vlad_starkov16Tb with ext4 or ext3?01:29
qman__yes01:29
patdk-lapboth01:29
vlad_starkovnice01:29
patdk-lapjust the ext lib needs to be fixed up in order to format bigger, was the issue01:30
patdk-lapI haven't looked back into that isuse for awhile01:30
patdk-lapmainly cause I've gone zfs01:30
qman__should be straightforward, I'd be really surprised if it isn't fixed yet01:30
vlad_starkovdon't know is it reliable to build raid 10 of 4+4 drives. Chances that more than one will fail01:30
patdk-lapI have a few 30+tb ntfs volumes01:30
qman__ouch01:31
patdk-lapwell, generally, going >2tb with raid1 or raid5 is a bad idea01:31
patdk-lapqman, it works well :) just backups01:31
qman__ntfs is just plain awful in terms of performance01:31
patdk-lapreally suggest only using raid6 and 3way mirrors for that size01:32
qman__I can't imagine how bad the fragmentation would be on 30TB01:32
patdk-lapqman__, I'm getting a nice 1400MB/sec01:32
patdk-lapqman__, fragmentation? on files >100gigs?01:32
vlad_starkovI want to read about it to dig deeper file systems01:32
qman__I guess it wouldn't be TOO bad if you _only_ have giant files01:33
patdk-lapI did say, backups01:33
qman__but windows just does absolutely retarded things on write01:33
qman__brand new system install is something like 15% fragmented01:33
qman__literally copy and paste from CD01:33
patdk-lapwell, copy/paste is a good method really01:34
patdk-lapbut in order to get that fragmented something else is going on01:34
qman__yeah, the ntfs driver01:34
patdk-lapit's better than the alternatives :)01:35
patdk-lapfat12?01:35
vlad_starkovDo you guys know who is the best on SSD market today?01:35
patdk-lap!best01:35
ubottuUsually, there is no single "best" application to perform a given task. It's up to you to choose, depending on your preferences, features you require, and other factors. Do NOT take polls in the channel. If you insist on getting people's opinions, ask BestBot in #ubuntu-bots.01:35
vlad_starkov!best on the ssd market01:36
ubottuvlad_starkov: I am only a bot, please don't think I'm intelligent :)01:36
vlad_starkov)01:36
vlad_starkov586GB done, speed is 72Mbyte/sec01:37
vlad_starkovDon't know is it normal result for 1TB drive?01:37
patdk-lap100mb/sec max speed01:37
patdk-lapso 40mb/sec slow01:37
vlad_starkovok01:38
patdk-lapyour just over halfway01:38
patdk-lapso you will see speed drop off good01:38
patdk-lapbut is that for hte whole array? or per disk?01:38
vlad_starkovso while cloning there is 0 errors. Does it mean that disk does not contain BADs or BADs could be detected on write operation?01:39
vlad_starkovI clone single 1Tb SATA2 drive to another exactly the same01:39
patdk-lapwell, that only means it didn't get a read error from the disk01:40
vlad_starkovusing GNU ddrescue01:40
patdk-lapit doesn't mean the data it got from the disk was correct :)01:40
vlad_starkovso errors classified to read and write?01:40
vlad_starkovoh01:40
patdk-lapdisks are only suppost to return bad data 1 out of 10^14 times01:40
vlad_starkovalmost never01:41
patdk-lapna, that would be enterprise disks, 1 out of 10^15 times01:41
patdk-lapI have several bad data reads from disks01:41
qman__with the size of modern disks, silent corruption is a real issue01:41
vlad_starkovok you convinced me: backups, backups, backups...01:42
qman__if your data is important you need to verify it with good checksums01:42
vlad_starkovqman__: I always wanted to ask, how checksum works?01:43
qman__I wanted to go with zfs for the data integrity but it kept locking up my server01:43
qman__a checksum, in its most basic form, adds up all the bits of a given set of data and returns the total01:44
qman__in simple, small scale stuff like ECC, it just records whether a byte has an even or odd number of ones01:45
qman__with more complex stuff like md5 or sha1, it performs a hashing algorithm on the data01:45
qman__if any bits get flipped, the checksums won't add up the same01:45
vlad_starkovthat's interesting. A few days ago I learned how does SSL/TLS actually work01:46
qman__in the case of large files and algorithms like md5 or sha1, collisions can and do happen, so you have to take more than just that string into consideration01:47
vlad_starkovqman__: many times I downloaded files from Internet there was additional .md5 or .sha1 files with the same basename. How should I use these files to validate checksum on Ubuntu?01:48
qman__while it's reasonably possible that any two given files could have the same checksum (and even likely in some cases), it's astronomically unlikely that two files of identical size with different data will match01:48
qman__especially in the case of a handful of bit flips01:48
qman__md5sum filename01:48
vlad_starkovand then compare it with content of .md5 file? in case of sha1 what will be command?01:49
qman__sha1sum01:51
qman__you can also verify a burned disc that way, md5sum /dev/cdrom01:52
qman__or whatever your disc drive is01:52
qman__a properly burned iso will match exactly on-disc01:53
vlad_starkovnice01:54
vlad_starkovhow do you know all these? how long do you use Linux?01:54
qman__I first started taking it seriously around 200401:54
qman__my formal education is windows focused, but linux is my preferred operating system01:57
qman__I also have some experience with solaris and freebsd01:57
vlad_starkovqman__: I just started learn it seriously a three months ago. Reading book and all new. Runlevels was pretty complicated but I deal with them.01:58
vlad_starkovThe thing I still do not understand is mail system.01:59
qman__runlevels don't really exist in ubuntu, upstart works differently01:59
vlad_starkovYep, I read it in the book)01:59
qman__it still deals with them in order to support sysv-style software01:59
vlad_starkovit's a bit harder when you learn something that has a history. Linux is such a thing. I think it should be much faster to learn new things when you have some experience.02:01
qman__very much so02:02
vlad_starkovqman__: you're right02:02
qman__once you reach a certain level of knowledge, you can work toward pretty much any problem you encounter02:02
vlad_starkovyepp02:02
qman__you need a basic level of experience and knowledge of tools to work through problems02:02
qman__coupled with good google skills, you can solve nearly anything02:03
vlad_starkovI think you have to know a set of technologies. There's just a set of them that is a part of almost every product today. After you deal with them then you just have to keep up to date your knowledge.02:05
vlad_starkovqman__: about SMART, is it really objective and helpful?02:08
qman__yes02:09
qman__it's not perfect, and you shouldn't expect disks to always warn you before they fail02:09
qman__but around 9 out of 10 times, disks will show errors in the SMART log before they go02:09
qman__giving you a nice heads-up02:09
vlad_starkovhow much time do I have after first disk error notification?02:10
qman__could be a month, could be an hour02:10
qman__the good news is, any errors in the SMART log normally qualify for RMA status02:11
qman__except for temperature ones02:11
vlad_starkovwhat is RMA?02:11
qman__return to the manufacturer for replacement02:11
vlad_starkov730GB done; 64MByte/sec02:12
vlad_starkovoh nice02:12
vlad_starkovI heard WD gives 5 years warranty02:13
qman__only on some drives02:13
vlad_starkov2 years at least02:13
qman__only on some drives02:13
qman__both manufacturers offer anywhere from 1 to 5 year warranties depending on the class of drive you purchase02:13
vlad_starkovAs I know many manufacturers gives at least 2 years02:13
vlad_starkovserver drives02:14
qman__there are only two hard drive manufacturers, seagate and western digital02:14
qman__they own all the other brands02:14
qman__seagate bought samsung's hard drive division, and western digital bought hitachi02:14
qman__there are only two hard drive manufacturers, seagate and western digital02:15
qman__they own all the other brands02:15
qman__seagate bought samsung's hard drive division, and western digital bought hitachi02:15
qman__and I'm pretty sure fujitsu stepped out of hard drive manufacturing02:16
vlad_starkovwhich one do you prefer?02:17
vlad_starkovWD or Seagate?02:17
vlad_starkovMy faulty drive is Hitachi02:17
qman__I don't really have much of a preference, I've lost the most seagates but I've also bought the most seagates02:19
qman__my last purchase was WD reds, trying those out02:19
vlad_starkovWhat's the difference between WD series?02:21
qman__the warranty, mostly02:21
qman__that, and blues and greens will probably not work with a hardware raid controller02:21
qman__because they're designed specifically to not be02:22
qman__I also recommend against any and all green drives02:22
qman__they're by and large crap02:22
qman__greens are intended for low-use patterns, such as external hard drives or a web-browsing desktop02:23
qman__blues are intended for typical desktops, reds for NASes, blacks for high performance desktops, and then they have raid class drives for servers02:23
qman__the raid class drives are a lot more expensive so I'm trying the reds, since that's pretty similar to the role my server plays02:25
qman__my personal experience has been about 20% failure rate within the warranty period across all drives and manufacturers that I've purchased02:26
vlad_starkovOk that's valuable for me02:31
vlad_starkovqman__: thanks for advices02:31
vlad_starkovqman__: Success! I recovered my RAID104:17
=== akashj87_ is now known as akashj87
hXmhello09:08
hXmi have a dedicated server with a company, i wonder how can i manage the backups09:09
hXmi could like use something like dropbox or google drive09:09
hXmis that possible?09:09
jacobwhXm: Hosting providers often offer some kind of backup service09:53
hXmyes09:56
hXmbut in my case they only do it with a professional plan09:56
jacobwBackup isn't a simple service09:58
hXmi know09:58
hXmbut dropbox could be a temporary solution09:59
jacobwhttp://lassebunk.dk/2011/03/16/linux-dropbox-remote-backup/10:01
jacobwAFAIK, there's no offical Linux client for Google Drive10:02
hXmgdrive gives 7gb, i thought it gave more10:02
hXmi prefer dropbox since i have the free 20gb10:02
hXmi installed dropbox with something like that, now i just want to know how to sync different folders10:03
mardraumdidn't google recently combine mail and gdrive amounts?10:03
mardraumregardless if they did or didn't, your "backup solution" still sucks :P10:04
hXmhaha i know :)10:04
hXmi just dont want to lose something before than i decide if switch to pro or not10:04
hXmEstás utilizando 6 MB de 5 GB (0 MB en la Papelera).10:05
hXmstill 5gb even10:05
hXmgoogle drive sucks more than my backup10:05
mardraumwhy not just use rsync to home?10:06
hXmmy home to where, an external hd?10:06
mardraumI don't know about your home10:06
hXmis a remote dedicated server10:06
mardraumthat's nice10:06
mardraumwhy not rsync your settings from your remote dedicated server to home?10:07
hXmthat means incremental backups in cron, isnt?10:07
hXmsubversion service are so cool, they doesnt lose a line of typed code10:08
mardraumyes, you can run rsync from cron, I don't understand your question10:10
mardraumif you don;t know what rsync is, you really should go and learn10:10
hXmwhat i mean is, rsync requires a cron, then is not real-time backup10:10
hXmdid i explain it right now?10:11
hXmdont be rude, i have neuronal deficit because im spanish10:15
jacobwhXm: What are you backing up?10:43
hXmjacobw: sites, sql databases and few tcl scripts10:46
jacobwFor the code, you should consider developing with git on your workstation and pushing to your server, or pushing to a repository on your server and cloning the repository to your working directories10:51
jacobwAre you dumping the MySQL databases to SQL files with cron?10:51
hXmi use transact-sql10:53
hXmyep, with cron10:53
hXmabout the git i tried configure it twice, then i gave up (in this case i also still live with the dropbox crap-solution)10:54
hXmi know git is easy to configure and use but for some reason it wont work for10:54
hXmi didnt paid much attention so probably thats the fault10:54
hXmi hope the day had 32 hours instead10:54
Senorhow can I communicate with memcache server ?10:59
jacobwhXm: What problem did you have with Git? It's a bit counter intuitive the first time but there's a lot Git users here and in #git11:15
jacobwhXm: Check out gitref.org and https://www.youtube.com/watch?v=ZDR433b0HJY11:17
hXmjacobw: im watching it right now11:37
hXmdo you know if google apps support git hosting?11:37
jacobwhXm: A git repository is just a directory, so you can put it anywhere that supports file storage, but I don't think any Google Apps integrate with Git right now11:39
bitbytehey guys can you help me find a way to get apt-get working agian12:48
bitbytekeep getting issues with E: Problem with MergeList /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_quantal-security_main_i18n_Translation-en12:48
andolbitbyte: try apt-get --list-cleanup update12:53
bitbyteill give that a shot now12:53
andolbitbyte: Otherwise you can try manually deleting the problematic file. Those files in that directory (/var/lib/apt/lists) will be recreated upon apt-get update12:55
bitbyteandol: i get bitbyte@bitbyte-core:~$ sudo apt-get -list -cleanup update12:56
bitbyteE: Command line option ‘l’ [from -list] is not known.12:56
andolbitbyte: That wasn't the option I gave you :P12:56
andolapt-get --list-cleanup update12:56
bitbytehaha sorry my eye sights bad,12:57
bitbytebut just removed the file and went through12:57
bitbyteremoving the file seemed to work12:58
bitbytemmmmmm any reason why the package list would fall over ?12:59
andolbitbyte: Well, could have been some hickup on the repo server, and hat you managed to try to download the old version of that file at the very wrong moment, or perhaps that cron was making an apt-get update in the background while you rebooted the machine, or perhaps your local disk going bad, or something else.13:27
bitbytemmmm13:27
bitbytewell thanks for getting back to me13:27
bitbyteI'm following this guide13:27
bitbytehttp://www.thefanclub.co.za/how-to/how-setup-ubuntu-business-box-server-ubb-part-113:27
bitbyteto setup my server for a test13:28
andolbitbyte: Unless that same thing happen again, I wouldn't worry about it.13:28
bitbyteandol: thanks for taking a look :)13:30
=== wizonesolutions_ is now known as wizonesolutions
ruben231hi guys i have a ubuntu server with 250GB HDD only setup to entired disk used with LVM and i have added a new HDD 2 terbytes, how do i configure this and add it to the curent storage somehow..?13:50
patdk-lapadd it?13:52
patdk-lapyou mean you want to do like a raid0? where if one disk fails it all fails?13:52
patdk-lappvcreate, vgadd, lvextend13:52
ruben231 patdk-lap: just wanted to increase the existing HDD storage..how13:53
ruben231patdk-lap: this is my output after i conencetd the additonal HDD --> http://pastebin.com/mxHgdK5513:55
ruben231guys any help13:57
bugzchey, anyone with experience in bonding nics? I'm having some issues where im guessing one of the interfaces isnt coming up in time and im getting a message saying something along the lines of 'waiting up to 60 more seconds for network'. after the message it boots into the server fine. no mac address associated w/ bond0. im using mode0 bond and 3 nics teamed up. ubuntu 12.04.2LTS. more or less a clean install.14:13
RoyKbugzc: have been (and still are) using bonding, yes14:15
RoyKbugzc: what is mode0?14:15
RoyKbalance-rr it seems14:17
* RoyK likes the text-based names better 14:17
RoyKbugzc: I haven't used balance-rr, though. Currently using active-backup, and have used LACP earlier14:18
patdk-laphow is it connected?14:20
patdk-laphopefully not to a switch14:20
bugzcall ethernet cards are connected to a cisco unmanaged switch14:22
patdk-laphmm, balance-rr doesn't work that way14:22
patdk-lapno wonder14:22
RoyKbugzc: get a managed switch and use LACP14:22
bugzcWhat Im trying to achieve is network aggregation so bandwidth is provided/shared by all nics14:23
RoyKyes, that works rather well with LACP14:23
bugzcCant replace the switch here. Gotta work with what ive got, unfortunately14:23
patdk-lapheh? just use tlb mode14:23
patdk-lapor alb, but alb causes issues with lots of things14:23
patdk-lapif you need reliable incoming balancing, lacp is best14:23
patdk-lapoutgoing only, tlb works good14:23
bugzcit's basically a caching proxy14:24
patdk-lapand that means to me? nothing?14:24
RoyKwell, it should be mostly outgoing, then14:24
bugzcwell it needs to provide a lot of bandwidth, thats what I mean. But not much for incoming14:24
RoyKtry tlb14:24
RoyKbut14:25
RoyKif you need >1Gbps for a caching proxy, why on earth don't you have a managed switch?14:25
bugzcbecause there is no budget and im improvising :)14:25
RoyKhttp://www.ebay.com/itm/CISCO-WS-C2950T-24-CATALYST-SWITCH-10-100B-TX-1000Base-T-GIGABIT-UPLINKS-MANAGED-/290839605531?pt=US_Network_Switches&hash=item43b764311b14:26
RoyKwell, not gigabit, though14:26
RoyKbut you can get them quite cheap14:26
RoyKand managed switches save you a *lot* of headache14:27
bugzcaye but the company wont let me expense anything any time soon, alas. So my priority right now is to improvise and get bonding to work. I have it working quite nicely on my windows server with Intel nics.14:28
RoyKwhat sort of bonding do you use on windoze_14:28
RoyK?14:28
patdk-lapwell, windows only supports failback and lacp I think14:29
bugzcthe intel nic driver supports aggregation+fallback14:29
bugzcyes but Intel has a proprietary driver for that14:29
patdk-lapso does hp14:29
bugzcso im getting a 2gbps link shared for samba etc14:29
patdk-lapthe hp one does lots of options14:29
patdk-lapheh?14:29
patdk-lapit's doing lacp without confirming it with the switch14:30
patdk-lapso it's basically doing tlb14:30
bugzcnice14:30
bugzcseems so14:30
bugzcAlright let me set it up as tlb and see what I get here14:30
RoyKbugzc: but really, tell your boss you need a managed switch14:31
bugzcI have many times lol14:31
patdk-lapa managed 10gbit 24port switch14:31
RoyKdo you have an internet link > 1Gbps and no managed switches?14:31
RoyKpatdk-lap: we have a few ;)14:31
RoyKpatdk-lap: 10Gbps internet access from work...14:32
patdk-laproyk, I'm close to getting one (for home)14:32
* RoyK wonders who might need 10Gbps at home14:32
patdk-lapI  could use 100gbit, but that is kind of pricy14:32
RoyKpatdk-lap: infiniband?14:33
patdk-lapya, I have infiniband14:33
RoyKok14:33
patdk-lapbut attempting to drop it14:33
RoyKtrying to cut down? ;)14:33
patdk-lapjust not worth the pain of keeping it working, and playing with it's compatability issues14:33
bugzcAye :/14:33
bugzcI wonder why all the samples/docs use mode balance-rr14:49
KennettAZI'm trying to follow this page http://manpages.ubuntu.com/manpages/raring/man4/sge.4freebsd.html  but I've never compiled a driver.14:53
bugzcLooks like switching to tlb did not resolve the problem14:55
RoyKwell, then, LACP!14:55
RoyKbugzc: if you have 10G connectivity to the net, you're bound to have a managed switch14:56
bugzcit's 1gbps14:56
RoyKthen why do you need >1gpbs to the proxy?14:56
bugzcthe proxy is running a raid stripe with a large cache of commonly accessed objects14:56
bugzcso clients download them through the transparent proxy instead of WAN14:57
RoyKyes, but the bottleneck isn't the network connection to the server if the internet connection is 1Gbps14:57
bugzcno no the WAN is not 1gbps lol14:57
RoyKwas this a forward proxy or reverse proxy?14:57
RoyKbugzc: do you monitor the network use on this proxy?14:58
bugzcit's squid3 with caching enabled and http traffic redirected through it14:58
RoyKusually networking isn't a bottleneck for squid - often memory or I/O14:59
bugzcAye. but I want at least a 2gb link for the large files. This serves a dual purpose as I am setting up something similar for a different use case elsewhere. Here it's not as critical15:00
RoyKjust get a managed switch, then15:02
RoyKLACP is well tested15:02
RoyKwell proven15:02
RoyKit works15:02
bugzcthat's not really a solution as it's not an option for me15:02
bugzcI would gladly get one if the guys higher up gave me the budget to do so15:03
RoyKwell, tell them there's no other options15:03
RoyKyou have indeed tried15:03
bugzcWell, how come it works just fine with the intel software? I have also seen it done on centos with a similar configuration15:04
mardraumseen exactly what done?15:05
bugzcI did stumble onto this bug specific to 12.04: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/83959515:05
RoyKI somewhat wonder why someone couldn't afford a managed switch to make a proper setup when you need >1Gbps15:05
uvirtbotLaunchpad bug 839595 in upstart "failsafe.conf's 30 second time out is too low" [High,Fix released]15:05
bugzcRoyK: Overe here it's more of a want than a need. It will save me time. That's why it's not high priority for the higher ups :)15:06
RoyKwhat sort of company is this?15:06
bugzcit's a computer service place, nothing fancy15:07
RoyKwell, it's rather bad if they want you to create a good solution and can't even get a managed switch for something like $50015:09
KennettAZI could use some help compiling a kernel15:10
RoyK!ask | KennettAZ15:10
ubottuKennettAZ: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience15:10
bugzcRoyK: agreed, but again, not in my control heh15:10
RoyKheh15:10
RoyKbugzc: but what makes you think 2x1Gbps will make things go faster? Usually bandwidth to a squid proxy isn't the bottleneck15:11
KennettAZI'm  new to linux and I need help with this.  http://manpages.ubuntu.com/manpages/raring/man4/sge.4freebsd.html15:12
bugzcSo right now after waiting for the 60 sec thing it boots up and im getting no mac addr but im getting an IP i can ping. if i bring down eth0(not part of team) and try to ping the router it fails.15:12
bugzcRoyK: Well imagine 15 clients needing to download windows updates at the same time.15:13
RoyKbugzc: 1Gbps is still rather a lot15:13
bugzctime is money :)15:13
RoyKbugzc: if time is money, get a proper switch15:13
RoyKbugzc: as in *really* - you'll spend hours/days to work out something that may work, or may not, and the time you spent (time is money) could be used on a proper switch instead15:14
RoyKwe considered replacing VMware with KVM, because KVM is so much cheaper, but decided managing KVM was much more time consuming than VMware, and we still run VMware15:15
RoyKsame thing15:15
bekksAnd there is no professional support for KVM in case of need.15:17
RoyKfrom redhat there is15:18
RoyKbut then, kvm from redhat is about as expensive as vmware15:18
RoyKand there are consultants around that can help15:18
RoyKbut still, paying for good software or hardware pays in the long run15:19
bugzcWell the problem is that this is a pet project of mine. it serves a dual purpose since there is something similar I want to set up elsewhere. So the company isnt spending much if anything on my time per se15:19
bugzci understand what you're saying but it's just not happening in my case alas15:19
RoyKthen get a managed switch second hand from ebay or something15:19
bekksRoyK: You're better off using vmware then. :)15:19
bugzcRoyK: That would mean paying out of pocket15:20
RoyKyou get them rather cheap, and you learn a bit more :)15:20
RoyKbugzc: if it's a private project, sure, but not sure what you mean15:20
bugzcEven $100 would be a bit of a stretch for me right now15:21
bekksIf its a private project, which isnt used for business purposes, you could use vbox, too.15:21
bugzcit's a pet project that the business approved as long as I dont spend a lot of money on it and it proves fruitful. The whole proxy thing is, not the teaming bit. The teaming was an idea for a bit more optimisation.15:22
RoyKbugzc: monitor network traffic first15:25
RoyKbugzc: I really doubt you need more than 1Gbps for a proxy15:25
RoyKbugzc: install munin or something to see the actual traffic levels15:25
bugzcRoyK: traffic isnt a huge issue right now, though there are peak times, but this box will also be running PXE deployment very soon at which point it will become more of a problem15:29
bugzcRoyK: So instead of using one nic for PXE and one nic for squid, the idea was to aggregate and balance etc15:32
RoyKbugzc: I see, but I still would recommend using something standardised like LACP. Saves you a headache or three15:35
bugzcRoyK: I appreciate that and when I have the budget a managed switch will be my first investment. But how would you explain this: I did the same thing on a ESXI5.1 VM with 4 nics, 3 of them teamed in LACP, and it was doing the same thing. ESXI virtual switch supports LACP natively15:38
bugzcAny other ideas? :)15:55
bitbyteany ideas of how to add noip2 into cron so it will update on its own15:59
bitbyteI've followed all the guides and it just seems to never update15:59
RoyKbugzc: really, I don't understand why you don't get a proper switch. non-managed stuff isn't meant for production15:59
bugzcRoyK: that's one issue. But now Im talking about a setup /with/ a managed switch - and it was the same exact outcome16:01
RoyKbugzc: if you have a managed switch, enable LACP on those ports16:05
RoyKLACP needs to be configured at both ends16:06
RoyKthere's no automatic magic at this level16:06
RoyKor layer16:06
bugzcRoyK: *facepalm* :)16:09
RoyK:)16:09
bugzcI thought though on the bond driver end it would be oblivious to all that with a static ip configuration16:10
bugzcnot with LACP but the other modes ive tried like tlb/rr16:10
zanzacarI was looking for a way to monitor directories. I was thinking about using inotify but I can't seem to figure it all out. Is inotify already on my system because I tried apt-get inotify and that didn't do anything.16:12
RoyKzanzacar: inotify is there16:15
RoyKzanzacar: what sort of monitoring are you trying to do?16:15
zanzacarI created a sftp chroot account and I wanted to be able to monitor it to see for uploaded files. Instead of checking through it every so often.16:15
* RoyK wrote this little perl thing some time ago to monitor an ftp server's incoming dir16:16
zanzacarRoyK: did you write this? http://jmorano.moretrix.com/2012/03/watch-directory-uploaded-files/16:16
RoyKzanzacar: you can script that easily16:16
RoyKno, not me16:16
zanzacarthat is one of the things I saw, but since I am much more familar and like python more i figured this would work http://pyinotify.sourceforge.net/16:16
RoyKzanzacar: you setup a monitor for the directory and wait for a create, when that happens, setup another for the file created and monitor for file close, then do your stuff16:17
zanzacarseems reasonable. but all this is based off inotify correct?16:18
germanstudentHey. I set up a WebDAV virtual host for apache2. Now I can only delete / change files in that webdav folder if I change permissions to 777. Is there another way to avoid getting 403 forbidden in my WebDAV client?16:19
RoyKzanzacar: you hook up to the inotify in kernels, yes16:20
RoyKgermanstudent: not sure, perhaps some can tell at #httpd16:20
zanzacarRoyK: ok so inotify isn't something I can run by myself from the terminal since it is already part of the kernel.16:20
germanstudentThanks RoyK16:20
RoyKzanzacar: inotify is a kernel interface, so no, it's not a userspace thing16:21
RoyKor kernel api or whatever16:21
zanzacarinteresting this is all new to me16:21
RoyKhttp://en.wikipedia.org/wiki/Inotify16:21
RoyKthere are APIs for most programming languages16:22
zanzacarcool thanks I will have to read up on it. Thank you.16:23
RoyKso pick your choice - python? perl? c?16:23
zanzacarI have always enjoyed python16:23
RoyKthen stick to it :)16:23
* RoyK sticks to perl16:23
RoyKout of old habit16:23
zanzacargotcha, I don't know perl I only know python and it hasn't failed me yet.16:24
RoyKthen just use it :)16:24
* RoyK doesn't like wars, neither distro wars, programming language wars or otherwise16:25
RoyKeditor wars, though...16:25
zanzacarya for sure. thank you for your help. Now that I know what I am dealing with I can move forward. I appreciate it.16:26
zanzacarnot sure what an editor war is.16:26
RoyK:)16:26
RoyKwell, talks about vim versus emacs are common16:26
* RoyK is higly addicted to vim16:26
zanzacargotcha gotcha gotcha I definetly can say I enjoy vim over anything else.16:28
ScottKNothing to have an editor war about really.  The Emacs people are just wrong.16:28
ScottK;-)16:29
RoyKScottK++16:29
zanzacarhaha16:32
zanzacarwell thanks I really appreciate the help/nudge in the correct direction. Always appreciated.16:32
bitbyteany of you guys know libmemcache6 ?16:43
bitbyteor to my question above any one good with aptitude16:49
bitbyteI've got a package which seems its missing form there16:49
bitbytefrom*16:49
ScottKbitbyte: What's the exact error you're getting?  Please pastebin it.17:04
bitbytehttp://pastebin.com/ksn1XZvq17:04
bitbyteits on paste bin in there17:04
bitbytewhen trying to apt-get sogo17:04
ScottKlooking17:38
ScottKbitbyte: What release are you on?17:39
bitbyteUbuntu 12.10 (GNU/Linux 3.5.0-28-generic x86_64)17:39
ScottKbitbyte: The sogo in 12.10 depends on libmemcached10, which does exist.  Where are you trying to get the package from?17:43
bitbyteI'm following http://www.thefanclub.co.za/how-to/how-setup-ubuntu-business-box-server-ubb-part-217:44
bitbyteand just doing command sudo apt-get install sogo sope4.9-gdl1-mysql memcached rpl17:45
ScottKbitbyte: Those instructions tell you to add deb http://inverse.ca/ubuntu precise precise to your sources.list.17:54
ScottKYou aren't on precise, so sogo built for precise (12.04) isn't installable on 12.10 due to the libmemcached library change.17:54
ScottKI'd check and see if they have a package for quantal.17:54
bitbyteso in theory if i change the package to precise it should install17:57
ScottKIn theory, yes, but then you're using memcached which is using the newer libmemcached and so it starts to get complicated.17:59
ScottKAlternately, remove that repository, sudo apt-get update and then sudo apt-get install sogo17:59
ScottKsogo wasn't in the official repositories fro 12.04, but it is for 12.10.18:00
bitbyteok well ill try removing and see how it goes18:00
bitbytethanks18:00
bitbytewell soho is installing but it does complain about not finding sope4.9-gdl1-mysql18:01
RoyKbitbyte: I'd recommend using LTS releases for servers :P18:04
bitbytethey should already be there18:04
ScottKOr at least if you're following a guide for 12.04 and are on 12.10, you should expect to have to make some adjustments.18:05
patdk-lapheh, some :)18:05
bitbytehttp://pastebin.com/VHjPzT6Z18:05
bitbytethere the packages on right now18:05
bitbytethanks for the help anyway guys ill tinker later with it18:12
aarcaneI've got about 2 dozen packages on my server tagged as ip or id.  THey show up in aptitude search '~g', but when I try to purge them, using aptitude purge '~g', nothing is purged.18:30
maxbThose letter codes don't seem quite right to me if they are what I guess them to be...... are you sure / give more context?18:33
maxbOh, right18:35
maxbHow helpful, aptitude uses similar yet different codes to dpkg18:35
maxbWell, if you want to review and run pending aptitude actions, I'd say using the interactive aptitude UI is the nicest way, though you could also go for 'aptitude install'18:40
germanstudentIs there any way to get inotify working for remote FUSE/sshfs directorys19:01
yofuncan i reinstall my VPS server via ssh. from ubuntu 12.10 x86_64 to ubuntu 12.10 x86?20:36
Ben64no20:37
Ben64why would you even want to20:37
yofunBen64:  becasue the service im trying to run works better on 32bit and atm i cant access my VPS control panel20:47
wtingHey, my Ubuntu server keeps freezing every 30 minutes and I need to do a hard reboot. How do I diagnose random crashes?21:08
wtingI thought it might be the native zfs package, but I've been stress testing my pool and I can't crash it. However running rtorrent will consistently crash within an hour.21:10
wtingI've uploaded the kern.log here, not sure what other logs are important: http://temp.ancientpc.net/kern.log21:13
RobbyFqexit22:40
RobbyFwrong window.22:41
krysanyone feel like helpping me with a system that wont boot?22:52
krysafter the grub menu it just reboots, doesnt give me any error22:52
krysalready tried repairing grub with the rescue-disk22:53
krysi have the disk mounted on another system and can access the file system, so its not a disk issue22:54
krysnobody home?22:57
lenioskrys, can you modify grub options?23:02
leniosi mean, modify the linux line on the grub entry23:03
bugzcRoyK: thanks for the assistance earlier and thanks to everyone else.23:06
kryslenios: probably23:18
kryswhat should I try?23:18
krysi used the boot-repair disk already thinking that would fix it but it didny23:18
krysditn*23:19
krysdidnt*23:19
krysi just dont understand why i dont get any error messages or anything23:19
krysweird, i ran all grub commands manually expecting to see an error message, same thing... no error just an reboot23:54

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