/srv/irclogs.ubuntu.com/2013/09/09/#ubuntu-server.txt

=== freeflying_away is now known as freeflying
adbosaHello everyone, somebody can tell me how i could know if I must to load some module of iptables or if not?01:04
mattwj2002hi all01:55
mattwj2002anyone want to talk ?01:55
mattwj2002I have a plan I would appreciate some input01:55
mattwj2002:)01:55
mattwj2002I am thinking about purchasing an old server for $100 that supports 4 drives01:56
mattwj2002four sata drives.....and run software raid between them01:57
mattwj2002I would install ubuntu-server01:57
mattwj2002and install the necessarily packages for a 4 X 2TB mythtv backend01:57
mattwj2002:D01:57
mattwj2002minus the loss space due to raid 5 or 601:58
mattwj2002any thoughts?01:58
qman__mattwj2002, you'll get much better performance with raid 1002:05
qman__Question: What package provides the facility to cache unlocked SSH keys? As in, I SSH, it prompts me for password, and then I can use it for a certain timeout without retyping the password?02:06
mattwj2002qman__:02:06
mattwj2002what is the drive lose with raid 10?02:06
mattwj20021 drive?02:06
mattwj2002I mean how many can you lose and still recover?02:07
mattwj2002:)02:07
qman__you can lose any one, or a particular two02:07
mattwj2002qman__: it might be faster02:07
mattwj2002but....02:07
mattwj2002you lose too much data with raid 1002:08
mattwj2002this isn't overally critical02:08
mattwj2002this is a hobby box :)02:08
mattwj2002I'll probably wipe it from time to time02:08
qman__you're no less protected than with raid 5 (in fact you're better protected with raid 10)02:08
mattwj2002right02:08
mattwj2002but 4 X 2T in raid 5 gives you 6 GB02:09
mattwj2002in 4 X 2T in raid 10 gives you 4G02:09
mattwj2002that is quite the loss02:09
mattwj20022 drives basically02:10
mattwj2002actually I might go a collection of drives02:10
mattwj2002and say screw raid all together :)02:10
mattwj2002but I am thinking raid 5!02:11
qman__if you don't care about your data, go right ahead02:11
mattwj2002qman__: did you see what I wrote before?02:12
qman__my data is important to me, so I do what I can to protect it02:12
mattwj2002I hear you02:12
mattwj2002if it was more important....I would protect it more02:13
mattwj2002:)02:13
mattwj2002basically I record tv shows using mythtv......and I want more storage space02:13
qman__raid 0 will give you the most performance and will give you the full capacity02:13
qman__but provides no redundancy at all02:14
mattwj2002yeah02:14
mattwj2002I think I'll go raid 502:14
mattwj2002:)02:14
mattwj2002some redundancy02:14
qman__raid 5 will be slow and will not offer much protection with consumer grade drives02:14
qman__for a good explanation of why, http://www.zdnet.com/blog/storage/why-raid-5-stops-working-in-2009/16202:15
jpdsmattwj2002: You do realize that if a drive fails and you replace it, moving around that much data between drives in RAID 5 is going to take a while?02:15
jpdsmattwj2002: To the point where another drive might fail in the rebuild process?02:16
mattwj2002of course02:16
qman__basically, unless you buy server class drives, you're looking at coinflip odds on a successful rebuild02:17
mattwj2002O.o02:17
mattwj2002to be a 100%02:17
mattwj2002this is a home thing.....and I all ready have a couple of 2TB drives I have had for a while02:17
mattwj2002100% honest I mean02:18
qman__yeah, you really shouldn't do raid 5 with that02:18
mattwj2002so raid 6 versus raid 1002:18
qman__do raid 10 if you want redundancy, or do raid 0 if you don't02:18
mattwj2002what do you recommed?02:18
mattwj2002you recommend 10 over 6?02:18
qman__raid 6 is even slower and suffers (to a lesser extent) the same problem as raid 502:19
jpdsmattwj2002: Recommendations are useless, it depends on what you yourself need.02:19
mattwj2002good point02:19
qman__I have a raid 6 that I'm in the process of decommissioning02:19
qman__mostly because it's too slow02:19
mattwj2002I like to mess around with this stuff02:20
mattwj2002:)02:20
qman__I peak around 35MB/s write, with hardware that individually is capable of 120MB/s or more02:20
qman__I actually just purchased a bunch of new 3TB drives to create a raid 10 to move my data to02:21
bradmwith 4 disks why would you do raid6?  raid10 gives you the same space with better protection02:21
mattwj2002good point02:21
mattwj2002I guess I am not sure what is more important....02:24
mattwj2002it is obviously a personal choice02:24
mattwj2002more storage with less protection?02:25
mattwj2002more less storage with less protection02:25
mattwj2002it isn't like I am saving medical records or something02:25
mattwj2002this is just a server in my house to recording a crap ton of tv shows from my basic cable :)02:26
mattwj20028 TB would get me up to about a couple months of straight video recording02:26
mattwj2002I have a single 2 TB drive now02:26
qman__if the drives last that long02:29
mattwj2002and mythtv has the functionality to put one program on one drive and another program on a different drive02:29
mattwj2002qman__: you are saying raid 10 then02:30
mattwj2002for my application02:30
qman__yes, it's what I would use02:31
mattwj2002okay cool02:33
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
mattwj2002hi guys05:27
mattwj2002I have a crazy idea05:27
mattwj2002anyone want to listen?05:27
mattwj2002they sell a 15 bay SATA storage nas05:28
mattwj2002I was thinking if you could put 15 3 TB drives in a raid 60 setup05:29
mattwj2002that is like 33 TB05:29
mattwj2002:)05:29
mojtabaHi, Could you please let me know how can I check what graphic card can I use with a known motherboard?05:30
mattwj2002does this help mojtaba lspci -v | less05:31
mojtabamattwj2002: Actually I want to buy a second hand computer and I want to replace its graphic card, but I do not know how can I check what kind of graphic card could be used with that motherboard.05:33
mattwj2002oh okay05:33
mattwj2002I am not sure05:33
mojtabahello05:34
mojtabaHi, Could you please let me know how can I check what graphic card can I use with a known motherboard?05:34
mojtabasorry05:34
mojtabamattwj2002: thanks05:36
mattwj2002worries05:36
mattwj2002:)05:37
mattwj2002mojtaba: have you been in this room for a while?05:37
mojtabamattwj2002: You mean today?05:38
mattwj2002yeah05:38
mojtabano, just from 10 min ago05:39
mojtabawhy?05:39
mattwj2002I want to build a nas05:39
mattwj2002a custom built nas05:39
mattwj2002:)05:39
mojtabaI know that there are some linux distro specially made for NAS05:39
mattwj2002the software I think I'll have undercontrol05:40
mattwj2002because it is going to be a mythtv system (might do that separate not sure)05:40
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
Fireanyone have experience with bind9 / webmin06:05
=== level15_ is now known as level15
mattwj2002hi guys07:19
mattwj2002anyone here?07:19
mattwj2002I just looking into a custom build nas07:20
mattwj2002$3007:20
mattwj2002oops07:20
mattwj2002$300 including a ups07:20
ws2k3hello i have placed this command in my rc.local Xvfb :99 -ac -screen 0 1024x768x8 > /tmp/xvfb.log 2>&1 & but it is not runned on boot what am i doing wrong?09:49
greppyws2k3: did you put the full path to the Xvfb command in there?10:15
zulroaksoax:  (part 1) http://pastebin.ubuntu.com/6083298/12:34
RoyKwhich package is it that includes the 'file' util?12:46
zulroaksoax:  (part 1) http://pastebin.ubuntu.com/6083298/13:15
=== marcoceppi_ is now known as marcoceppi
pmatulisRoyK: file13:30
Picidpkg -S `which file`13:31
zulroaksoax: https://code.launchpad.net/~zulcss/nova/2013.2.b3/+merge/18457913:49
zulroaksoax:  https://code.launchpad.net/~zulcss/neutron/2013.2.b3/+merge/18458314:21
=== rdw200169_ is now known as rdw200169
gigantorso, if upon upgrading a server instance, it is hung on selecting a PAM profile and has deleted everything , like apt, what can I do?14:47
gigantorhave I done the unthinkable?14:48
=== gigantor is now known as raininja
raininjaso, if upon upgrading a server instance, it is hung on selecting a PAM profile and has deleted everything , like apt, what can I do?14:50
=== raininja is now known as Guest1234
=== Guest1234 is now known as raijin
zulsmb:  ping14:54
smbzul, yo14:54
zulsmb: the FFE for xen went through can you get me a list of stuff that you need me to do and ill do it this afternoon14:55
Pici3614:55
smbzul, can, do. Well, step one is check/sponsor the xen-4.3 src pkg on chinstrap:~smb/4review14:56
raijinso I am going to have to rebuild this install by hand basically14:57
raijinusing wget and dpkg14:57
raijinffs14:57
zulsmb:  and rebuild libvirt right?14:58
smbzul, yeah, libvirt just as a no-change rebuild. I have to give you an update for xen-api to adapt the lib paths there14:59
zulsmb:  okies cool14:59
smbzul, Ok, mail sent and xen-api src pkg in same directory15:06
zulsmb: i saw thanks15:06
raijinso, if upon upgrading a server instance, it is hung on selecting a PAM profile and has deleted everything , like apt, what can I do?15:07
tom[]on 12.04, how does cron send mail? does it have a list of places to look for sendmail?15:07
=== LargePrime is now known as Guest19152
=== LargePrime_ is now known as LargePrime
raijinso, if upon upgrading a server instance, it is hung on selecting a PAM profile and has deleted everything , like apt, what can I do?15:44
=== LargePrime is now known as Guest58042
zulhallyn_:  im gonig to do a no-change rebuild libvirt for libxl do we need anything17:08
Richterhi, i have issues whit my ubuntu-server, i can't connect to other gentoo server using a cross-over...17:12
sarnoldRichter: did you manually assign an IP address and netmask to both interfaces? did you restart whatever services you want to use after manually assigning IPs?17:14
Richteryes17:14
Richteri use the same config of the last server17:15
Richtersarnold, auto eth117:15
Richter        iface eth1 inet static17:15
Richter        address 10.100.100.217:15
Richter        netmask 255.255.255.25217:15
Richter        network 10.100.100.017:15
Richter        broadcast 10.100.100.317:15
Richtersarnold, this show in my syslog: Sep  9 13:57:17 huguinho kernel: [ 2118.053008] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready17:17
Richtersarnold, but i am not using ipv617:17
sarnoldRichter: what's the configuration for the gentoo machine?17:17
Richtersarnold, config_eth3="10.100.100.1 netmask 255.255.255.252 brd 10.100.100.3"17:18
Richtermtu_eth3="9000"17:18
Richterthis in my nfs storage17:18
sarnoldRichter: check arp -n output on both machines?17:19
Richtersarnold, this in my old server: config_eth5=( "10.100.100.2 netmask 255.255.255.252 brd 10.100.100.3" )17:19
Richtermtu_eth5="9000"17:19
Richternops17:19
Richter200.143.116.1            ether   00:1b:21:bc:5c:72   C                     eth017:19
Richter200.143.116.*           ether   00:d0:b7:85:f7:72   C                     eth017:19
RoyKif you're using jumboframes, make sure you use it on all endpoints17:20
RichterRoyK, the server is in other datacenter17:20
RoyKok17:20
sarnoldRoyK: will the cards auto-negotiate the lowest MTU between them? or will mismatched MTUs cause reliability problems?17:21
RichterRoyK, i was thinking... maybe the 'dudes' dont are using a crossover cable17:21
Richtersarnold, probably is default config17:22
sarnoldRichter: if even one card is gigabit, it ought to auto-negotiate, right?17:22
Richtersarnold, i really don't know17:22
Richtersarnold, but this 2 server uses gigabits cards17:23
Richterthey are not old servers17:23
maswansarnold: MTU must be the same on the whole broadcast domain. Beyond that, path mtu discovery should work when you have router hops. Unless you have a misconfigured firewall anywhere.17:23
RoyKsarnold: I don't think MTU is autonegotiatable17:23
sarnoldRichter: I wouldn't expect crossover vs not-crossover to make a difference, unless ethtool or similar has been used to force a specific configuration17:23
sarnoldmaswan,RoyK, thanks.17:24
sarnoldRichter: so, check mtu on both interfaces again?17:24
RoyKRichter: no need for crossover with gigabit17:24
maswancrossover vs not-crossover should be autoneg on gigE or above17:24
Richtermaswan, is a crossover connection... don't have firewall17:24
maswanRichter: Ok, so the same broadcast domain then. Then MTU needs to match on both sides.17:24
Richtersarnold, how i check this?17:24
RoyKmaswan: even most 100Mbps cards autonegotiate crossover17:25
maswanRoyK: Yeah, but it isn't guaranteed.17:25
sarnoldRichter: ifconfig or ip both report mtu17:25
Richtersarnold, lol, sorry17:25
maswanbut "link is not ready" shouldn't be it for MTU mismatch, that should rather end up as large packets just being lost.17:25
Richtergentoo is MTU:900017:25
sarnoldmaswan: I think that's just ipv6 whinging, business as usual there :)17:26
Richterubuntu server is MTU:150017:26
Richterlol17:26
maswansarnold: Ah, ok.17:26
maswanRichter: Yeah, start by fixing that. :)17:26
sarnoldRoyK: do you get tired of always being right? :)17:26
RoyKRichter: heh - then set MTU on the ubuntu box ;)17:26
Richtersarnold, i can force this in interfaces file?17:26
RoyKsarnold: hehe - no ;)17:26
Richtersarnold, : (17:27
sarnoldRichter: 'mtu 9000' ..17:27
Richtersarnold, where i change this?17:27
sarnoldRichter: in the 'iface eth1' section17:28
Richtersarnold, /etc/network/interface17:28
Richtersarnold, ?17:28
sarnoldRichter: /etc/network/interfaces -- note the 's'17:28
Richtersarnold, ops17:29
Richterthe MTU is correct now, but still don't work :O17:30
RoyKRichter: what doesn't work?17:30
RichterRoyK, PING 10.100.100.1 (10.100.100.1) 56(84) bytes of data.17:31
RichterFrom 10.100.100.2 icmp_seq=1 Destination Host Unreachable17:31
RoyKping should work even with an MTU mismatch17:31
RichterRoyK, hummm17:31
RoyKsince the packages sent by ping are so small anyway17:31
RoyKRichter: are these machines on the same network?17:32
RichterRoyK, yes17:32
RichterRoyK, its a crossover cable17:32
RoyKRichter: pastebin output of 'ethtool eth0'17:33
Richterbut eth0 is the wan link17:33
RoyKeth1, then ;)17:33
RichterRoyK, use a eth1?17:33
RichterRoyK, kkk17:34
RichterRoyK, root@huguinho:~# ethtool eth117:34
RichterSettings for eth1:17:34
RichterSupported ports: [ TP ]17:34
RichterSupported link modes:   10baseT/Half 10baseT/Full17:34
Richter                        100baseT/Half 100baseT/Full17:34
Richter                        1000baseT/Full17:34
RichterSupported pause frame use: No17:34
RichterSupports auto-negotiation: Yes17:34
RichterAdvertised link modes:  10baseT/Half 10baseT/Full17:34
RoyK!pastebin | Richter17:34
ubottuRichter: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.17:34
Richter                        100baseT/Half 100baseT/Full17:34
Richter                        1000baseT/Full17:34
RichterAdvertised pause frame use: No17:34
Pici!pastebinit17:35
ubottupastebinit is the command-line equivalent of !pastebin - Command output, or other text can be redirected to pastebinit, which then reports an URL containing the output - To use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit -b http://paste.ubuntu.com17:35
RoyKPici: probably sufficient now :)17:35
Pici13:35:08 <?Richter> RoyK, how i use pastebin?17:35
Pici13:35:19 <?Richter> RoyK, its a irc command or pastebin the online service?17:35
RoyKPici: I just did a !pastebin to him a minute ago ;)17:36
PiciI saw17:36
Richter!pastebinit17:36
ubottupastebinit is the command-line equivalent of !pastebin - Command output, or other text can be redirected to pastebinit, which then reports an URL containing the output - To use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit -b http://paste.ubuntu.com17:36
* RoyK thinks a -q would be right now 17:37
sarnoldRoyK: he's -q ..17:37
RoyKok17:37
RoyKright - I misunderstood that17:37
RichterRoyK, you see the output?17:37
RoyKor misread17:37
RoyKRichter: can you pastebin that, please?17:38
RoyKRichter: not all came in since you were quieted before the paste was finished17:38
RichterRoyK, can i post line by line?17:39
RichterRoyK, still lrning how to use irc xD17:39
RoyK!pastebinit | Richter17:39
ubottuRichter: pastebinit is the command-line equivalent of !pastebin - Command output, or other text can be redirected to pastebinit, which then reports an URL containing the output - To use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit -b http://paste.ubuntu.com17:39
Richterhttp://pastebin.com/kpHWpGNL17:40
keithzgHmm, can you grow a single-drive btrfs setup into a multi-drive one? Or do you have to have created it with a chosen raid style in the first place?17:40
RichterRoyK, http://pastebin.com/kpHWpGNL17:40
RoyKRichter: you don't have a working link17:41
RoyKtry with a straight cable17:41
RichterRoyK, this link work here... but i will call the datacenter17:42
RichterRoyK, txh17:42
RoyKRichter: well, it doesn't work between the two machines17:43
RichterRoyK, ?17:43
RoyKyou don't have link, meaning MTU has nothing to do with it17:43
RichterRoyK, i look the gentoo server17:44
RichterRoyK, Link detected: no17:44
RoyKbingo ;)17:44
RoyKtry another cable before doing anything else17:44
RichterRoyK, yeah17:45
RichterRoyK, thank you17:45
RoyKnp ;)17:45
hallyn_zul: i don't think so - sounds good17:55
hallyn_well, i suppose it might be worth looking through the git tree17:55
RoyKRichter: any luck with a new cable?17:56
RichterRoyK, i call the datacenter17:57
RoyKk17:57
RichterRoyK, nothing new17:57
RichterRoyK, they say that use new cables, but the problem continues17:58
RoyKthey'll have spare cables around17:58
RichterRoyK, maybe is the offboard dell card17:58
RichterRoyK, : /17:58
RichterRoyK, yes, they use a new one17:58
RichterRoyK, from the plastic bag17:58
RoyKRichter: are both machines using gigE cards?17:58
RichterRoyK, yes17:59
RoyKcan you ask them to connect the machines to a switch?17:59
RoyKit'll be easier to debug that way17:59
RichterRoyK, i will ask to connect right to other computes17:59
Richtercomputer*17:59
RoyKthey can just setup a separate VLAN for the two as to separate them from the rest of the network17:59
RichterRoyK, they are lazy,18:00
RichterRoyK, haushaushaush18:00
RichterRoyK, i am going to the datacenter see the problem18:00
RichterRoyK, thank you, and sorry for my bad english18:01
delinquentmeis there a way to check the "host" or "device" status of a given USB?19:19
=== Ursinha is now known as Ursinha-afk
xarphI'm trying to do a hands off install of ubuntu 12.04 with preseeding. the preseed works fine except that it hangs for about 10 minutes on `anna net-retriever default`. I tcpdumped and during that whole time the thing is just sitting there trying to RARP itself. Any suggestions?19:43
jkitchenxarph: out of curiosity, is that prior to the net console even starting?19:44
jkitchenbecause I'm having a similar delay but only of about 2-5 minutes19:44
jkitchenbut haven't been able to debug because it's prior to net console19:45
xarphI'm not using a network console. I also had a short delay earlier because it was trying to hit security.ubuntu.com and our pxe vlan doesn't have internet access. I fixed that and just got a larger delay :(19:45
xarphthis is how I got rid of that one:19:46
xarphd-i apt-setup/services-select multiselect security19:46
xarphd-i apt-setup/security_host string repo-01.mydomain.com19:46
xarphd-i apt-setup/security_path string /ubuntu/12.04-x86_6419:46
jkitchenoh, I don't use network console either, only when I need to inspect the running install19:47
xarphI just bump over to a vtty19:48
xarphthough that was its own adventure if you're going to esxi via an rdp session as I fount out on friday --;19:48
=== Ursinha-afk is now known as Ursinha
smoserrbasak, around ?20:00
=== lj1 is now known as lj
apesI have some configs in /etc/network/interfaces.d/vips.conf that don't seem to be loaded on reboot. I'm running 12.04 LTS. Any advice?20:05
izanagisanhi all20:14
izanagisanbooted a LiveCD of Ubuntu Desktop onn an IBM X5630 server with a Debian installation that just failed20:15
izanagisanI want to backup its data20:15
izanagisanso I guess I have to mount the discs20:15
izanagisanyay! it worked20:18
RoyKizanagisan: how did it fail?20:21
halvorsHi! I'm trying to setup my isc-dhcp-server to serve these following subnets: 10.0.10.0/24, 10.0.20.0/24, 10.0.30.0/24 and 10.0.40.0/24. But for security reasons we want to run it on the ip address 192.168.0.2 which is another subnet, no problem! We use intervlan routing and DHCP Relay so no worry. But i ran into the error that it couldn't listen onn any interface that it doesn't have a subnet declaration for... Why? Anyway to20:29
FireAnyone got 2 mins to help me with a small bind issue20:35
xarphhalvors: add an empty definition for 192.168.0.220:43
halvorsThat actually works?20:45
adam_gzul, hows it going with keystone + neutron?21:11
halvors<xarph> Does it work to just declare a dummy subnet?21:11
zuladam_g:  keystone is nearly done neutron as well21:26
adam_gcool21:26
=== thesheff17_ is now known as thesheff17
zuladam_g:  just nagging people about oauth221:50
adam_gzul, whats up with oauth2?21:59
zuladam_g:  its blocked on a security review21:59
zuland the MIR guys want us to use oauthlib as well21:59
adam_gzul, oh, is a keystone dependency now or something?21:59
zuladam_g:  yep21:59
xarphhalvors: yes22:39

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