/srv/irclogs.ubuntu.com/2011/07/16/#ubuntu-server.txt

=== kim0 is now known as kim0|vacation
=== ng_ is now known as zz_ng_
lickalottgents, having an issue with znc on ubuntu server 11.04 randomly dc'ing.  has anyone seen this?01:17
=== gpc is now known as IdleOne
CrazyGirjdstrand: thank you!01:48
CrystalVoidif i installed onto btrfs can i do a snapshot of the entire os? or only sub volumes?03:47
patdk-lapwhat is the difference?03:51
patdk-laparen't they one in the same?03:51
CrystalVoidi may be mis understanding  *first time ever relly spending any time thinking about filesystem things03:52
CrystalVoidwhat would the command look like ?  something like "btrfs subvolume snapshot  / snapshot-name" ?03:56
patdk-lapwith btrfs, everything is a subvolume03:59
patdk-lapyou can view them different ways, like point in time views, if you wish03:59
patdk-lapdunno how flexable they have made it yet03:59
patdk-lapbut technically it could even do multible streams from the same base04:00
patdk-lapit's been alittle over a year since I used btrfs04:01
CrystalVoidahh thanks tho :) it all helps04:06
CrystalVoidany chance you rember how to restore a snapshot?04:09
patdk-laprestore?04:09
CrystalVoid.. if a take a snap shot of something .. then brake it .. how would i go back to that point?04:10
tiphareshey does anyone have the slightest clue how ftp-proxy works with ubutnu? i can't find anything worthwhole on google, and the docs for it makes no sense to me :(08:51
uvirtbot`New bug: #811428 in apache2 (main) "Apache does not honor -FollowSymlinks due to TOCTOU, which allows access to /proc/<pid>/ files" [Undecided,New] https://launchpad.net/bugs/81142809:02
_johnnyhi, i'm running ubuntu 9 (karmic) and have some troubles setting up wlan properly. i have gnome, and installed network-manager-gnome and set the network up just fine. got ip, able to resolve etc. however i'm unable to "make available to all" for the wireless connection. it's simply greyed out. any ideas?09:45
=== zz_ng_ is now known as ng_
StevenR_johnny: are you logged in as someone with "sudo" privs?10:11
=== ng_ is now known as zz_ng_
uvirtbot`New bug: #278075 in dapper-backports "DSBL is gone and needs to be removed from SpamAssassin" [High,Fix released] https://launchpad.net/bugs/27807511:12
=== zz_ng_ is now known as ng_
johnaHi13:23
johnaI am new to ubuntu server - my previous setup was Centos 5.5. so 1) i am used to using a GUI interface - any suggestions as to a suitable GUI for Ubuntu?13:26
slybootsHey13:50
slybootsDoes anyone know a decent way of manaing LVM and by extension LUN setups on a Ubuntu server? Preferably web/console based with a decent UI13:51
slybootsDoing this by hand is a .. git.13:51
uvirtbot`New bug: #811518 in samba (main) "SAMBA cannot browse Workgroups, name resolve order" [Undecided,New] https://launchpad.net/bugs/81151813:52
patdk-lapheh, it's simple by hand14:19
patdk-lapbut what do you mean by extension LUN setups? you mean iscsi?14:20
slybootsWell more resizing14:20
patdk-lapif you purely want a web system to do that, look at openfiler14:21
slybootsIts fecking harrowing trying to *shrink* a LVM since if you do it wrong you butcher the data14:21
patdk-lapwell, that's a given :)14:21
slybootsLUN's are easy14:21
slybootsits just.. I dont like poking LVM's espically resizing when I can help it14:22
dejurenwhois chex14:42
=== ng_ is now known as zz_ng_
johnaWhat if any is the downside of LVM on a server, and conversely what is the upside?16:16
qman__LVM offers more flexibility than direct partitions at the expense of some minute amounts of space and the overhead of an abstraction layer16:17
johnaqman__: thanks, I am new to Ubuntu, I was using Centos, my server died PS problem blew everything, so I am setting up a new server. my current needs are postfix/dovecot & webdav. HW config phenom II, 8Gb, 4 x 1Tb hd.  1st problem how to config HDs, then on to SW. Any advice would be welcome, in fact its desperately needed! TIA16:23
qman__depends entirely on your load, importance of data vs performance, etc...16:25
qman__quad core phenom?16:25
qman__postfix+dovecot is easy to do on ubuntu, I haven't done webdav16:26
uvirtbot`New bug: #811568 in squid-langpack (main) "Sync squid-langpack 20110707-1 (main) from Debian unstable (main)" [Wishlist,Confirmed] https://launchpad.net/bugs/81156816:27
qman__if speed and reliability are more important, I'd do raid 10, if capacity and reliability are important, raid 516:27
qman__regardless of what you choose, I'd do mdraid (it's in ubuntu's setup)16:27
johnaqman__:  quad core = yes.16:27
qman__then raid 5 should perform well enough provided you have a half decent disk controller16:28
qman__AMD 8 and 9 series are good enough16:28
qman__for four disks at least16:28
qman__but if you want the most speed, 10 is better16:29
johnaqman__:  I had thought of adding a 5th as a spare, but the pocket book need to rest.16:29
qman__most important thing is setting up smartctl16:30
qman__a couple years ago I lost a raid 5 array when three drives died the same day16:30
qman__had I had smartctl set up properly I would have gotten a few days warning16:30
johnaqman__: would /boot - raid 1, swap - raid 0 , /tmp raid 1, /root raid 5/6, /common raid 5/6 (long term data store) as partitions be reasonable, or would I be better to put rrot and common under LVM.16:31
qman__that's way more complicated than it needs to be16:32
qman__unless you plan on actually needing lots of swap, here's what I would do16:32
qman__on each drive, create one partition ~512MB at the beginning16:32
johnaqman__: thanks for the warning about smartctl!16:32
qman__then one partition the rest of the size16:32
qman__mirror two of them as /boot, use the other two as swap16:33
qman__then set up a raid 5 or 10 on the other four big partitions at /16:33
qman__the reason being16:34
qman__you're only working with the same four disks16:34
qman__splitting up partitions like that is only really helpful if you have separate hardware to put them on16:34
qman__if you want to split up / and your /common, that's fine too, but all that other stuff is just not needed16:35
qman__and raiding swap is not necessary16:35
qman__because you just create two swaps, and it will use what is available16:36
uvirtbot`New bug: #811571 in librdmacm (main) "Sync librdmacm 1.0.14.1-2 (main) from Debian unstable (main)" [Wishlist,Confirmed] https://launchpad.net/bugs/81157116:36
johnacan I boot into a raid 5, on centos /boot had to be on a single drive or a raid 116:37
qman__you can, though depending on hardware it may not work on the first try16:37
qman__getting grub to play nice can be a pain, but it can do it16:37
johnaOK, so for ease of ?setup/ops? /boot on a raid 1, swap across all 4 drives ....16:38
qman__good plan16:39
johnaI would limit swap to 1 x memory16:39
qman__I really don't bother with swap as a serious consideration, it's just a stop gap if I run out of RAM16:39
qman__RAM is so cheap now, it's just not worth the hassle16:39
qman__16GB DDR3 is $10016:40
qman__so, whatever is convenient extra space in your paritioning scheme, that's what I use for swap16:40
johnaqman__: with 8* Gb I don't really swap, but it doesn't cost much to setup.16:41
johnaqman__: I think I will split / & /common just because if at some future date I need to install a new opsys I can reformat if needed without affecting the data store.16:46
johnaqman__: any suggestions as to sizes, I was thinking /root 512Mb raid 1, 2Gb swap/drive, root (/) 160 GB raid 5, /common  "the rest" raid 5.16:49
johnaqman__; any preference as to raid 5 or 6, raid 6 was not available on Centos so I have no experience with it.16:50
johnaor, going back to LVM, would I be better off  I be better off setting up /root and swap and putting everthiong else under LVM17:01
johnaor doing what i should have done and read back over the post by qman__ stick to the KISS principle!!!17:04
johnaqman__: thanks for all the help, I am sure I will be back for more, have a good weekend!17:05
qman__johna, /root doesn't really need to be separate for any reason17:11
qman__unless you meant /boot17:12
qman__raid 6 adds additional parity at a very significant performance expense17:12
qman__I would suggest against it with four drives, it's only really worth it if you have 6+ and need two-disk failure protection17:12
johnaqman__: my mistake I meant /boot, OK, i will stick to raid 5 I might when funds permit add a spare to the raids, I believe that this is can be done.17:14
qman__yes, it's pretty easy to do17:14
qman__fdisk the new drive and then a single mdadm command17:14
uvirtbot`New bug: #811610 in mysql-5.1 (main) "package mysql-server-5.1 5.1.57-3.1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/81161018:31
=== ttx` is now known as ttx
jeeves__ho can I get my slave bind servers to sync to the master automatically?21:10
=== jeeves__ is now known as jeeves_moss
patdk-lapjeeves, how can you mess that up?21:38
patdk-lapyou just have to set axfr authorize, and notify21:38
patdk-lapbut then, I just find bind annoying, and dont use it21:38
=== mcahornsirup_ is now known as mcahornsirup
pdtpatrick1Is there a problem with ubuntu and bridge networking?23:06
pdtpatrick1http://pastebin.com/Yz4bJF8e23:06
e_t_pdtpatrick1: how did you create the bridge?23:10
pdtpatrick1e_t_, i installed bridge_utils and then manually edited network/interfaces23:11
pdtpatrick1restarted networking but it craps out23:11
pdtpatrick1which is funny because ifconfig shows virbr0 up and working just fine.23:12
e_t_can you pastebin your interfaces file?23:13
pdtpatrick1http://paste.ubuntu.com/645578/23:13
pdtpatrick1yes i know i did the static settings twice.. i was testing something out23:14
pdtpatrick1crap .. i think it should be bridge_ports instead of bridge_port23:15
pdtpatrick1yup that was it23:16
TheEvilPhoenixhow can i forward incoming traffic on some port and redirect it to a different port for processing on the same machine with iptables?23:17
patdk-laphmm, I don't make any bridges in /etc/network/interfaces, always do them differently23:18
patdk-lapTheEvilPhoenix, REDIRECT23:18
pdtpatrick1how do u usually do yours?23:18
TheEvilPhoenixpatdk-lap:  usage outlined in the man pages?23:18
e_t_TheEvilPhoenix: http://www.cyberciti.biz/faq/linux-port-redirection-with-iptables/ might help23:18
patdk-lappdtpatrick1, /etc/rc.local23:19
pdtpatrick1can i see an exactly of your file ?23:19
patdk-laphttp://paste.ubuntu.com/645581/23:20
pdtpatrick1why u setting the mac addy.. i almost thought it was a broadcast at first. Curious23:25
patdk-lapcause, I configured those bridges as if they are network switchs, they are not used on the system itself at all23:26
patdk-lapyour binding eth0 to yours, I don't23:26
pdtpatrick1oh i c23:26
pdtpatrick1thanks for that23:26

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