/srv/irclogs.ubuntu.com/2010/11/13/#ubuntu-server.txt

air^howdy.00:07
air^how do I start the "gui" baed partition editor used in installation?00:08
air^(I want to use it to setup sw raid on some other disks, ubuntu-server is installed on it's own drive)00:08
air^Is ext4 stable in 10.10?00:13
ScottKI think it's safe to assume the developers believe it to be stable or else they wouldn't have made it the default file system type.00:19
=== RoyK is now known as Guest61560
=== RoyKa is now known as RoyK
eriksson25Anyone in that could help, need a good harddrive recovery program. My system disk died on my. I am in live cd now, could get to the /home partition but not the /root01:55
eriksson25Pls, any help.01:55
uvirtbotNew bug: #674768 in dhcp3 (main) "wrong reference in description" [Undecided,New] https://launchpad.net/bugs/67476802:16
=== squishy is now known as rbniknej
moparisthebestI set up RAID 1 using mdadm the other day, and md4 appears not to have synced, can anyone help? cat /proc/mdstat: http://paste.ubuntu.com/531032/05:24
moparisthebestit doesn't show UU like I think it should :/05:24
moparisthebestor does anyone know a better place to ask?05:26
=== niekie_ is now known as niekie
ndrofthelinehello all!06:53
ndrofthelinei'm having trouble connecting to my router from my external address06:53
ndrofthelinei have the appropriate ports forwarded06:55
ndrofthelineand i've even put it in dmz06:55
ndrofthelineit's not helping. any suggesiotions?06:55
=== ivoks-afk is now known as ivoks
RoyKis memory ballooning available in kvm in Lucid?11:17
lifelessyes11:17
RoyKby default, or will I have to enable it somehow?11:18
RoyKI have this machine with currently 4 VMs - I haven't overcommitted (much) yet - just wondering11:18
lifelesspretty sure its on by default; it was a early feature of kvm IIRC11:18
lifelessanyhow, have to run11:19
lifelessciao - I'm sure others can answer any other qyesetions you have11:19
XeNoTjust wondering, how do I get the unstable package from archive.ubuntu.com/ubuntu/pool/universe/p/proftpd-dfsg/ ? I tried adding unstable to several configs, yet I can't download the package using apt-get11:29
k5673Yo! How can i optimize the performance of virtual guests runing in ubuntu 10.04 with KVM.11:56
k5673Processor Intel Xeon E5420 @ 2.5 GHz. 16 Gb RAM11:57
k5673Lucid Guests11:57
k5673Both x86 and x86_6411:58
k5673Yo! How can i optimize the performance of virtual guests runing in ubuntu 10.04 with KVM. Processor Intel Xeon E5420 @ 2.5 GHz. 16 Gb RAM. Lucid Guests.Both x86 and x86_6412:00
=== ewook_ is now known as ewook
k5673Yo! How can i optimize the performance of virtual guests runing in ubuntu 10.04 with KVM? Processor Intel Xeon E5420 @ 2.5 GHz. 16 Gb RAM. Lucid Guests.Both x86 and x86_6412:06
Nafallok5673: asking the same question every few minutes are not going to help you get an answer quicker fwiw.12:11
k5673OK12:12
mgolischk5673: what problems do you experience?12:34
k5673mgolisch: Running an x86-only database under a 32 bits Lucid guest with 3GB of allocated RAM and 4 assigned processors is slower than running the same database on 32 bits Lucid real with 3GB RAM and Intel Xeon Quad-Core Processor.12:37
k5673mgolisch: The virtual one is slower than the real one12:38
Nafallothat's to be expected.12:38
mgolischwhat did you expect?12:38
mgolischespecialy virtual smp doesnt work too well in many virtualisation products12:39
k5673Mmmmmmmm12:50
k5673OK12:50
NightDragonhello13:25
NightDragonneed some help13:25
NightDragonfor some reason, 'ipmisensors' module isnt included in ubuntu server kernel13:25
=== NG_ is now known as ng_
=== ng_ is now known as NG_
ehcahWhen considering Disk based backup for a SOHO NAS...  What is the most important consideration?  Mirroring capacity?  Speed?  Offsite vs. Same Rack?13:56
RoyKehcah: zfs?14:05
RoyKmirroring is a good thing until you get fs corruption or someone deletes a file by accident14:05
eagles0513875hey guys14:06
RoyKwith zfs (or btrfs if you're brave) you have snapshotting, which is rather nice14:06
RoyKhi girls14:06
eagles0513875im testing kvm on my desktop running kubuntu but im just wondering aquemu will it allow me to setup a guest on a remote machine?14:06
ehcahThat's what I'm fearing.  I don't know about have a 24 bay chassis and its backup in the same rack, or house either.14:06
ehcahI've been all over the net and as a result of purchasing an Areca Raid Controller, decided that I will simply use Ubuntu Server and allow the Raid Controller to configure my disk for Raid6.14:11
NightDragonwhy raid6?14:11
ehcahI know ZFS, or BTRFS, when available in production sits on top of my config, but I'm not sure I need it?14:11
RoyKehcah: hardware raid sucks hard when it comes to silent disk errors, and with terabytes of data, you'll get silent errors from the drives, meaning either corrupted data or (in case of metadata) perhaps a panic14:13
ehcahNightDragon:  I think it offers me the most protection for my data.  Keeping in mind that Raid 6 is still a single point of faillure for me.14:13
NightDragonunless you *really* think 2 drives could fail at once...14:14
ehcahRoyK:  Can nothing be easy for the incompetent like myself?14:14
NightDragon(which is rather astronomical odds)14:14
NightDragonme, personally i prefer Raid5 + HotSpare14:14
NightDragonless overhead14:14
ehcahNightDragon:  You haven't met me.  If it can go wrong, it will.14:14
NightDragonlol fair enough14:14
RoyKNightDragon: heh - I somehow guess you aren't having too much data around :)14:14
NightDragonwell if you think about it14:15
NightDragontake the odds of a drive failing14:15
ehcahNightDragon:  Raid5 + Hot Spare leaves me the same usable disk space.  How does performance improve?14:15
NightDragonand multiply that by the odds of a second drive failing within the timeframe of data transfer to hotspare14:15
RoyKNightDragon: the most common thing is (a) drive fails, (b) insert new drive, (c) start rebuilding/resilvering and (d) corruption is found on one of the other drives - whops - data corruption14:15
NightDragonehcah: because one of the drives isnt in use until its needed. less overhead14:15
RoyKNightDragon: that is, with linux sw raid or hw raid, you might not see the data is corrupted, so it's ignored, which is rather sad14:15
NightDragonhmmz, an interesting problem14:16
NightDragoni see your point14:16
ehcahRoyK:  Is there any software that can automatically run corruption tests?  OR, are they simply found on a rebuild or specific file access?14:16
RoyKNightDragon: it's not hypothetic -I've seen it several times14:16
RoyKehcah: zfs?14:16
NightDragonwell then Helllllloooooo tape drive!14:17
ehcahIf I run ZFS, doesn't that make the $1,300 I spent on my Areca card, wasted?14:17
NightDragon(j/k.. i get your point lol)14:17
RoyKehcah: return it14:17
* NightDragon is just jealous that his DRAC card doesnt support raid 6 :(14:17
RoyKehcah: zfs is way better than what areca can give you14:18
* RoyK is setting up a couple of 110TB boxes these days - all on zfs14:18
ehcahAll I can say is ARGH!!!  Everytime I think I've got things worked out, there is a contrary argument against my solution.14:18
ehcahThis is good though.14:18
air^:)14:18
ehcahI'm trying to start out right!14:18
RoyKehcah: didn't say it wasn't good enough :)14:18
ehcahI know.14:18
air^Interesting discussion.14:18
ehcahI just wish I were more technical.14:19
ehcahIt would make my life easier.14:19
RoyKehcah: dig further and it'll bleed in :)14:19
ehcahWhen all is said done, I'll have spent more than $3,500 on a solution I intended to reuse older hardware for....14:19
ehcahRoyK:  I don't know about that.  I've proven to be pretty thick!  :)14:19
RoyKehcah: that's about as much as we paid for this 10TB test unit14:20
* RoyK grins14:20
ehcahI bet your disk are better quality than the 2TB Samsung ones I intend to continue using.14:20
RoyKwhy?14:20
RoyKmost disks are about the same quality14:20
RoyKspeed differs, obviously, but the error rate is quite constant14:21
ehcahMy disk are currently $80 at NewEgg.14:21
RoyKaccording to google's tests14:21
RoyKwell, they'll work14:21
ehcahThe 12 I have now, work flawlessly.14:21
ehcahIt's unRAID I'm not quite happy with.14:21
ehcahFor a ZFS solution. I was ready to use Nexanta.14:21
RoyKwhy not?14:22
RoyKor openindiana....14:22
ehcahA few forums I've posted in suggested going back to straight linux server and HW or SW Raid.14:22
ehcahRoyK:  I have OpenIndiana in a VM as well.14:22
RoyKI really won't suggest using linux software (or hardware) raid over zfs14:22
ehcahI know the FAQ's say it has a Server + Desktop focus, but I find it very desktop like?14:22
ehcahAny idea when BTRFS will be readily supported?14:23
RoyKzfs is a little slower, because of the checksumming, but when you get those silent errors from the drives, those will be detected by zfs, not by other solutions14:23
RoyKperhaps by btrfs14:23
RoyKbut then, btrfs only supports mirroring14:23
ehcahDidn't know that.14:23
RoyKehcah: you can install on btrfs from 10.1014:23
ehcahI know, but I didn't think it was supposed to be ready for full usage until sometime in mid 2011?14:24
RoyKehcah: no current linux fs (except btrfs) checksums data14:24
RoyKehcah: I guess btrfs will get up to current zfs usability around 2015 with the current progress :þ14:25
ehcahRoyK:  Hypothetically.  If I could return my Areca card.  What would you reccomend that would ultimately get me to 24 SATA drives running on ZFS?14:25
RoyKpci-x or pci?14:25
ehcahBetween the two, I'd go with ZFS, hands down.  Way more support and implemenations out there...14:25
ehcahLet me check the MOBO I've bought before I answer. The areca is PCI x814:26
ehcahhttp://www.newegg.ca/Product/Product.aspx?Item=N82E1681318221114:26
ehcahx8, or x4 I guess.14:27
ehcahStraight PCI is probably slower than I want?14:27
ehcahand that MOBO only has 1 slot.14:27
RoyKLSI SAS9211-8i is quite cheap14:28
RoyKthat and a SAS expander will allow you to connect a truckload of drives with good speed14:28
ehcahAhh, expander... I was thinking I was limited to 8 drives with the card above.14:29
RoyK8 6Gbps SAS ports14:29
RoyKwith an expander you can utilize those quite well14:29
RoyKusually the expander takes 4 SAS ports14:30
ehcahNot to push my health insurance too far, but any suggestion for an expander14:30
RoyKmeaning 24Gbps14:30
RoyKI think those are quite generic14:30
ehcahIf I could safe enough money on the cards.  I'd purchase a second Norco RPC-4224 chassis.14:31
ehcahk.14:31
RoyKa sas expander is like an ethernet switch14:31
RoyKonly that it switches sas14:31
ehcahStupid question:  Externally mounted or on a PCI type card?14:31
RoyKSAS expanders connect to SAS, so usually externally14:32
RoyK(or at the backplane)14:32
RoyKmost backplanes have a sas expander these days14:32
RoyKat least the larger ones14:32
ehcahThe RPC-4224 may have 6 already?14:33
ehcahI'll need to check its specs.14:33
ehcahI know it has only 6 connections required.14:33
RoyKSix internal SFF-8087 Mini SAS connectors support up to twenty-four 3.5" or 2.5" SATA (I or II) or SAS hard drives;14:33
RoyKmeaning it has an expander.....14:33
ehcahyes.14:34
RoyKdunno if that's 3Gbps or 6Gbps, though14:34
RoyK3Gbps will probably suffice, so you can get a cheaper controller14:34
ehcah3Gbps I beleive.14:34
RoyKthen the 9211 will be overkill14:34
ehcahI'm looking at other LSI options to see....14:36
ehcahhttp://www.newegg.ca/Product/Productcompare.aspx?Submit=ENE&N=100006520%2050001833%2040000410&IsNodeId=1&Manufactory=1833&bop=And&SpeTabStoreType=1&CompareItemList=410|16-118-100^16-118-100-S01,16-118-099^16-118-099-S0114:37
ehcahActually, on closer observation... I'm probably best with 3 of http://www.newegg.ca/Product/Product.aspx?Item=N82E1681611810014:39
ehcahWith LSI that is.14:39
RoyKehcah: try asking on #openindiana - you might not need three of those - but again - that will depend on the backplane/expander used14:41
ehcahWill do.14:41
ehcahThe only trouble is adding multiple cards creeps back to the same price as I was already paying... http://www.newegg.ca/Product/Product.aspx?Item=N82E1681615105214:42
RoyKehcah: what sort of application will this be?14:42
ehcahHome Media collection.14:42
ehcahNo Database or Web serving.14:42
RoyKehcah: then you can probably live with a single controller14:42
RoyKthe bandwidth will suffice14:43
RoyKand I guess you're only on gigabit ethernet or lower anyway14:43
muszekhi... newbie question.  I want to change umask for the 'pootle' user to 0002.  how do I do it?  it's a user that runs PootleService.14:43
ehcahOk. I need to get head around around connecting the 6 8087's on the Norco backplane.14:43
RoyKit doesn't matter if the server can deliver 10Gbps if you connect that to an 802.11g network14:44
muszeks/PootleService/PootleServer14:44
ehcahMy LAN includes 24 GB ports for this type of usage. Not faster.14:44
RoyKhow many concurrent users?14:44
ehcahAll of my media touching devices are hard wired to the GB switch.14:44
ehcahWe're a family of 4.14:44
RoyKso worst case 4 concurrent users14:45
ehcahIt would be tough to hit more than that.14:45
ehcahYes.14:45
RoyKyou can use anything for that14:45
RoyKit'll work well14:45
ehcahMaybe a backup or ripping session on top. THat's it.14:45
RoyKyou really don't need a truckload of controllers14:45
ehcahThat's why I like the Areca card, when, I was convinced HW raid was the way to go.14:45
* RoyK just ordered some 10Gbps switches :D14:45
ehcahGood thing all my gear hasn't arrived yet.14:46
ehcahoh man. for home or business?14:46
RoyKbusiness :)14:46
RoyKtwo 110TB servers for disk-based backup connected by 10Gbps to the main datacentre14:46
RoyKquite fun :)14:46
ehcahYep.  Sounds like it.  All my data will require a 1:1 ratio for backup.14:47
ehcahI don't know how to plan for that capacity beyond the 450 Blu-rays and 200 DVD's I'm ripping now...14:47
ehcahI also struggle with having duplicate copies in the same rack.14:47
ehcahI have a 70Mbit fibre connection, but no friends willing to house a server for me.14:48
RoyKehcah: I wrote a perl script to find duplicated files on a filesystem...14:48
ehcahNot sure if this makes a difference, but I should have wrote Mbps14:49
RoyKehcah: for your setup, if you want to use 24 drives, I'd recommend either 3 RAIDz2 VDEVs of 8 drives each (for performance/safety) or 2 RAIDz2 VDEVs with 12 drives each14:49
RoyKehcah: how many drives are you getting initially?14:49
ehcahRoyK:  I can't write a script, but I thought de-dup looks for those instances?14:50
RoyKehcah: don't use zfs dedup as of now14:50
ehcah12 total, to begin with.14:50
RoyKehcah: also, don't use zfs dedup now14:50
RoyK12 drives can live happily in a raidz214:50
ehcahAlthough, with NewEgg.ca's sale price, I could easily add more. OR, share those with a second unit for backup...14:50
ehcahOk.14:51
RoyKI've been testing dedup quite extensively, and it sucks hard14:51
RoyKzfs dedup, that is14:51
ehcah12 x 2TB in Radz2 is about 18GB usable?14:51
ehcahgood to know.14:51
RoyK(12-2)x214:51
ehcahok, or 1.8 I think?14:51
RoyKso 20TB or ~18TiB14:52
RoyK1TB ~ .9TiB14:52
RoyKTiB is what's reported by the OS14:52
RoyKhttp://en.wikipedia.org/wiki/Tebibyte14:52
ehcahI also own a Sans Digital 8 bay external enclosure with a port multiplier.  Would this be good for backup?  I was going to sell it and try to by a second Norco case.14:52
ehcahThat's why I always assume about 1.8 on a 2TB drive.14:53
muszekhow do I set umask for a user that runs a daemon?14:54
ehcahBased on the 450 BD I'm ripping at an average of 25GB per, I only need just under 12TB.  And even with a machine that will 4 BD readers in it, it will take me quite a while to get there.14:54
ehcahRoyK:  I know this an Ubuntu forum... But, do you prefer OpenIndiana to Nexanta?  Or was that recommendation simply for me as OI comes with a full desktop environment?14:56
ehcahMy Nexanta VM has napp-it as the GUI.14:56
RoyKnexenta isn§t a desktop system15:02
RoyKisn't15:02
RoyKOI installs as a desktop system, but isn't really meant to be one15:02
ehcahAh. Ok, that makes sense.15:03
ehcahFrom what I've read, they both run the same version of ZFS and have all of the same options.15:03
RoyKOI has a newer zpool version15:03
RoyKbut most of the good stuff is in nexenta as well15:04
RoyKfreebsd zfs support lacks stuff like removing an slog, which is rather bad15:04
RoyKmeaning - if you add an slog (zil on ssd) and you lose that, the whole pool is lost15:04
RoyKbut then, that's not really relevant to your use15:04
ehcahI don't fully understand where FreeNas is going, but I think at this point, I'd hold off until version 8 comes out?15:05
ehcahI think I had decided on Nexanta for ZFS, but had not equally ruled out OI.15:05
RoyKehcah: I'd use OI if I was to choose15:05
ehcahThat's really good to know.15:05
ehcah:)15:06
RoyKehcah: we're setting up OI on these 110TB units15:06
RoyK77 2TB drives in 11 7-drive RAIDz2s15:06
RoyKwhee!15:06
ehcahAs I mentioned, I have it running in a VM. Do I need to add anything to the base install?15:06
ehcahCOOL.15:06
RoyKehcah: try to add a bunch of virtual HDs to that VM and try to remove them, rearrange them etc15:07
RoyKtry to fuck it up badly15:07
ehcahIf I could figure out my cards, I'd actually mount 2 of those Norco chassis and start with single 8 disk RAIDz2's in each.15:07
ehcahRoyK:  I plan to when all my gear arrives.15:08
RoyKwhy not ...15:08
RoyKthen just use zfs send/receive between them15:08
* RoyK diverts to #openindiana15:08
ehcahRoyK:  Unfortunately, my drives are that 8 bay enclosure and unRaid for now.15:08
ehcahk.15:08
=== rbniknej is now known as jenkinbr
=== ivoks is now known as ivoks-afk
=== hackeron_ is now known as hackeron
kinygoshi...i want to ensure my iptables rules are persisted through reboot (i have fail2ban adding permanent bans)...i've found an article suggesting i add pre-up and post-down commands to my /etc/network/interfaces file...reading the man page for that file has made me nervous...could anyone spare me a moment to check what i'm planning to do?  the server is remote and i don't want to lose connectivity...http://dpaste.16:33
kinygosi don't know if i'm adding those pre-up and post-down commands correctly...16:34
mrmistpersonally I have the script in /etc/network/if-pre-up.d which does an iptables-restore from a pre-saved lsit of rules.16:35
kinygosmrmist: but my rules are being added to pretty much every day by fail2ban16:36
mrmistfail2ban will sort itself out, you don't need to save those rules16:36
kinygosmrmist: really????  oh, that's the only reason i want to save the config16:36
mrmistyou can do some other stuff around persisting them, though, i believe, but i've not really looked deep into that16:36
kinygosmrmist: i should've thought fail2ban would be smart like that...thanks :)16:37
=== ivoks-afk is now known as ivoks
RoyKkinygos: personally I'd use denyhosts over fail2ban16:54
RoyKit's distributed and works well16:54
RoyKit doesn't cover stuff that doesn't use tcpwrapper's hosts.deny, but then, most services do16:55
kinygosRoyK: i've just seen your note...i'm afraid to use denyhosts...i only have remote access to the server and i'm not confident in my abilities to configure it correctly first time17:02
kinygosRoyK: if i lose access to it, i'll end up having to rebuild it which will be a massive setback in terms of timescales for me17:03
RoyKkinygos: don't you have some sort of console access to the host?17:07
=== _GoRDoN__ is now known as _GoRDoN_
kinygosRoyK: i have a lights out board...actually, thinking about it, i might have remote kvm17:10
kinygosRoyK: can denyhosts run alongside fail2ban, or is that a silly suggestion?17:12
RoyKif you only need ssh protection, denyhost will be the best imho17:17
RoyKkinygos: using both for the same services, will be jolly stupid17:26
FalsAlarmmy server froze up an i couldnt even connect to ssh. i terminated the instance using my web hosting company provided control panel and started it back up, it booted back up fine and is working now.17:31
FalsAlarmhow so i investigate what happened to it?17:31
FalsAlarmerr, do17:31
kinygosRoyK: well...i'm quite naive...i couldn't believe how many people come knocking on my ssh door...since i put fail2ban on permanent ban, i'm still banning 3-4 new addresses a day...17:34
kinygosRoyK: so on my todo list is a serious look at what other measures i can take to secure my server17:35
RoyKkinygos: there are people knocking all over17:39
RoyKkinygos: but so long your passwords are secure, they can knock all night17:39
kinygosRoyK: i use "knocking" in the kindest possible sense...i think it's criminal that they even try17:40
* RoyK welcomes kinygos to the Internet17:40
* kinygos rolls on the floor laughing17:40
RoyKlock the door with a safe key17:41
RoyKif you have a good password, they can probe on forever17:41
uvirtbotNew bug: #674943 in autofs5 (main) "autofs5 attempts bind mounts with nfs4, but can't perform them correctly" [Undecided,New] https://launchpad.net/bugs/67494317:41
kinygosmore than 7 characters, mixed-case letters, numbers, and non-alphanumeric characters....also root is not allowed17:42
RoyKhttp://stuff.group.is/ismypasswordsecure.php17:44
lil_cainHi,17:52
lil_cainIs there a reason umount and mount are suid?17:52
mdeslaurlil_cain: so regular users can unmount and mount filesystems if they are allowed to in the fstab17:53
lil_cainfstab can allow regular users mount and umount filesystems?17:54
mdeslaursure, if you put "user" in the fourth field17:54
lil_cainhuh. I was not aware of this.17:55
lil_cainCool, thanks.17:55
mdeslaurlil_cain: np17:55
Aisonhello, I just managed to install ubuntu server on a very old machine ;)  would like to use it as NAS18:15
Aisonwhat's the best filesystem for the "storage" drive, so that cpu usage is as low as possible?18:15
RoyKext4 will do well18:20
thesheff17is there anyway to see a complete history of this irc chat?  I'm trying to find a chroot link I posted months ago but can't seem to find the right site.19:31
Nafallothesheff17: you posted 4 links, which one are you after?19:33
thesheff17Nafallo: I'm not 100% sure...it had to do with a chroot env that I was helping someone with.19:34
Nafallohmm. all of them about chrooting ssh, right?19:34
thesheff17Nafallo: yea19:34
Nafallohttp://www.cyberciti.biz/tips/howto-linux-unix-rssh-chroot-jail-setup.html http://www.howtoforge.com/chroot_ssh_sftp_debian_etch http://www.marthijnvandenheuvel.com/2010/03/10/how-to-create-a-chroot-ssh-user-in-ubuntu/19:36
mdeslaurthesheff17: archive is here, fyi: http://irclogs.ubuntu.com/19:36
thesheff17excellent thanks guys.19:37
RoyK!logs19:43
ubottuOfficial channel logs can be found at http://irclogs.ubuntu.com/ - For LoCo channels, http://logs.ubuntu-eu.org/freenode/19:43
abstrakthow do I set up a mail server? I've set up apache countless times, but I've got a VPS and I want to switch over to that instead of this shared host for my website, but I don't want to loose my emails21:39
AndyGraybealdoes anyone here use NFSv4 ACL's inheritance on their machines?  Does it make it so when you copy a file to a folder, the file inherits the folders permissions?21:40
=== SirFiChi is now known as ihCiFriS
=== Patrickdk_ is now known as PatrickDK
=== JanC_ is now known as JanC
uvirtbotNew bug: #675052 in openldap (main) "Upgrade from hardy (8.04) to lucid (10.04) sets bad permissions on olcDatabase={-1}frontend,cn=config" [Undecided,New] https://launchpad.net/bugs/67505223:56
lifelessSpamapS: ping23:58

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