[00:00] <superfirelord42> :) wizardslovak, better than what i am going threw...
[00:01] <superfirelord42> *through
[00:03] <genii> storrgie: md0_d0p1 will be for instance disk0 of the array, partition1 within that disk
[00:03] <superfirelord42> genii, so far irqpoll is the only thing that has shown results, except for the crashing issue, should i try manually setting the irqs?
[00:03] <superfirelord42> in the BIOS
[00:04] <storrgie> genii: I have never had it do this before, I can create the array just fine but when I restart I get a bunch of silly md devices
[00:05] <genii> superfirelord42: Some bios have PNP on/off settings. (sometimes they have PNP types like win98 win2000 , etc as well) When PNP is set off, usually it then specifically will set IRQs for all attached devices
[00:06] <superfirelord42> Hmm, PNP, i will take a look. i didnt see it a bit ago, but i sorta rushed through it
[00:09] <storrgie> genii: any idea?
[00:09] <poseidon> Anyone know how I could install a driver for the d-link dwa-130 wireless usb card?
[00:10] <genii> storrgie: If result of: mount          just shows md0 mounted where you wanted it, don't worry about the component devices
[00:10] <superfirelord42> genii, didnt see that option, saw an IRQ routing option for PCI, currently set to smart, other option is fixed. disabled IRQ sharing on slot 4 which was being shared with the card on 5, booting now
[00:10] <storrgie> noo
[00:10] <storrgie> the array wont even initialize when I reboot
[00:10] <storrgie> it tries to mount the array to another device and fails
[00:10] <storrgie> its a 5x1tb array
[00:10] <storrgie> it will grab 1 or two of the drives and then fail
[00:10] <genii> storrgie: Were these disks previously in a *BSD box?
[00:10] <storrgie> so I am dd'ing all the drives to zero
[00:11] <storrgie> nope
[00:11] <storrgie> but dding is taking forever
[00:11] <genii> storrgie: I usually use fdisk to set the partition type to raid autodetect
[00:12] <storrgie> never heard of that...
[00:12] <storrgie> I usually just make a each drive have a ext partition then add them to the array
[00:12] <storrgie> im dding them to zero to see if i can erase the superblock
[00:19] <arrrghhh> anyone use ebox?  it's only looking at / and /home... i'd like it to look at other devices!
[00:24] <superfirelord42> anyone know how to tell the kernel not to mess with ata devices? when irqpoll tries to detect ata, it causes a kernel panic...
[00:31] <storrgie> genii: any idea on chunk size? its a 5tb array
[00:31] <storrgie> i was thinking 128
[00:31] <storrgie> i know 64 is default
[00:33] <genii> storrgie: I usually make the chunks same as block sizes
[00:33] <storrgie> how can I check the block sizes?
[00:34] <genii> storrgie: I usually take the line like: Units = cylinders of 16065 * 512 = 8225280 bytes       from result of : sudo fdisk -l       and use that. So 512 in this case
[00:34] <storrgie> I hear the rule of thumb is big I/0 = small chunk sizes
[00:35] <storrgie> this is a fileserver with files ranging from 4m to 10GiB
[00:41] <Alex_21> Hi, all,
[00:41] <Alex_21> How do you mount an HD that is HFS+
[00:41] <Alex_21> ?
[00:41] <Alex_21> Please
[00:46] <Alex_21> How do you mount a FW drive that doesn't show up in /Media/
[00:46] <Alex_21> ?
[00:48] <genii> Alex_21: packages hfsplus, hfsprogs, and hfsutils need to be installed. You will also need the hfs kernel module loaded. For regular hfs, the module is named hfs. For hfs+ the module is named hfsplus. To load the module use: sudo modprobe hfsplus    ..if the modulename is put in /etc/modules then the system should be able to auto-mount the drive after next boot.
[00:49] <genii> Alex_21: For write access to HFS+ drives, journalling for it needs to be turned off from within MacOS
[00:50] <Alex_21> Oh No.
[00:50] <Alex_21> I'll just replace the drive for now
[00:50] <Alex_21> I need to recover data from it
[00:56] <pygmalion> \leave
[00:58] <arrrghhh> anyone use funambol on ubuntu-server?
[01:01] <superfirelord42> genii, just fyi, i gave up on the box, to much time, we are going to use it for parts, we believe a raid channel has an issue anyways. thanks for your help.
[01:02] <genii> superfirelord42: No problem. Sorry to hear it's too much a pain in the a** to bother with now though
[01:03] <Alex_21> Hi,
[01:03] <Alex_21> What do you recomend for a production server as far as drive setup?
[01:03] <Alex_21> Please
[01:03] <genii> raid1 for boot, raid5 for data
[01:04] <genii> Although others will likely have other preferences
[01:04] <arrrghhh> Alex_21, it really depends on what you need to achieve.  raid5 so you can swap disks
[01:04] <Alex_21> But my only problem is that I can't do that because I need To continually add drives. Or can I?
[01:05] <arrrghhh> i think you can.  you may have to build another array, i'm not certain.
[01:05] <arrrghhh> there's raid6, but that just allows for 2 disk removals w/o breaking the array.
[01:05] <Alex_21> I wanted to use LVM. Is this recomended?
[01:06] <Alex_21> I'll try to explain. I have a production server that has hourly backups to a low-power server using RSnapshot. What is recomended for a system where disks are constantly added
[01:06] <Alex_21> ?
[01:06] <Alex_21> Please
[01:06] <arrrghhh> raid1 would probably be the easiest in terms of adding disks.  1 disk just clones to another.
[01:07] <arrrghhh> but you have to break the array to replace a disk
[01:07] <arrrghhh> Alex_21, i think you would be able to add disks to either, but raid1 would probably be easier to add disks too.
[01:07] <Alex_21> Hmmmmmmmmmm
[01:07] <arrrghhh> just keep in mind you have to break the array to replace faulty disks
[01:07] <Alex_21> Is LVM possible then?
[01:09] <arrrghhh> i don't see why not.  unfortunately i don't have experience with that, just hardware raid.
[01:09] <arrrghhh> or are you talking about using LVM to do software raid?
[01:11] <Alex_21> I think I have hardware raid. I just want to be able to continually add disks.
[01:13] <Alex_21> I am constantly aquiring disks. I can fit six in this box, ... but I constantly have to add and upgrade the disks
[01:13] <Alex_21> Plus after six, ... the next will be FW and then USB
[01:14] <Alex_21> I want to do a Hiarchy where the most used disks are fastest and the rest are slower with less used data
[01:15] <arrrghhh> hrm
[01:16] <arrrghhh> i dunno about putting usb/fw disks into a raid array.
[01:16] <arrrghhh> just sounds like a baaaad idea.
[01:16] <arrrghhh> if it's even possible.
[01:16] <Alex_21> I don't care if they are in Aray on the FW/USB because there is backups of that stuff. I basically want all of them to show up as /archive/
[01:17] <arrrghhh> hrm
[01:18] <Alex_21> I basically have a VM that I want on the FW/USB drives. Each one is an acrive of sites. Backup Apache servers if you will
[01:18] <Alex_21> I just want to be able to fix thengs when they break
[01:20] <Alex_21> On another note, ... Can you use scp to copy folders? If so, ... How
[01:20] <Alex_21> ?
[01:20] <Alex_21> Please
[01:20] <Alex_21> I need to backup a drive
[01:23] <Alex_21> Never Mind
[01:23] <Alex_21> I figured that one out
[01:23] <Alex_21> How best to do the drives then?
[01:46] <jmarsden> Alex_21: scp -pr folder user@host:/path/to/destinationfolder/
[01:47] <Alex_21> Ok
[01:47] <Alex_21> Thanks
[01:47] <Alex_21> Does this keep the file structure?
[01:47] <jmarsden> Drives?  LVM sounds like what you need to add a bunch of drives and make them one huge partition.
[01:47] <Alex_21> Just curious
[01:48] <jmarsden> Yes, the -r is recursive, just like cp -r is for straight copying.
[01:48] <Alex_21> Ok Thanks
[01:48] <jmarsden> No problem.
[01:49] <Alex_21> About drives. I am just afraid of losing data. I'm told Raid is fairly safe. Idon't know if the two solutions can be combined
[01:52] <jmarsden> Sounds complicated... I don't know either.  Can you just mount each drive as /archive/2008 /archive/2009 and so forth (or whatever scheme you want)?  If so maybe you can simply always create two drives for each subset of the data (/archive/2008 and /archive/2008-2 ) and then copy one to the other.  if this is an archive and the data won't be changing, you can even umount the 2008-2 drive later so noone can accidental
[01:52] <jmarsden> ly delete it?  No need for lvm that way.
[01:53] <Alex_21> But for the current Data, ... What is the best. Drives need to constantly be added and all I currently have for backup is a mirror using Rsnapshot
[01:54] <jmarsden> "The best" might be a RAID10 array, and make new RAID10 arrays (adding 4 disks at a time) when you need more space.  How many Terabytes/month is the dataset growing by??
[01:55] <jmarsden> I need to go... apparently we're going out to eat... sorry... bad timing :)
[01:55] <Alex_21> No problem
[01:55] <Alex_21> No idea how much it will grow by. I currently have four 320 GB drives
[01:59] <arrrghhh> raid10 huh
[02:00] <arrrghhh> Alex_21, this isn't so much a room for raid... wikipedia has a great article on it.  it's a good starting point for terms and what the different features, pros/cons of the different types.
[02:00] <Alex_21> I'm expanding by a lot though. This is just my starter set
[02:01] <Alex_21> I plan to have close to 10 TB by the end of the summer
[02:01] <arrrghhh> i'd say either raid1 or raid5/6
[02:02] <arrrghhh> i would imagine adding disks is possible with any, but raid1 would probably be the easiest to add disks to.
[02:02] <Alex_21> But then how can I add disks as parto f the same File System?
[02:02] <Alex_21> I'm not sure :(
[02:03] <arrrghhh> Alex_21, i'm not sure what you mean "part of the same file system"...
[02:03] <arrrghhh> you can format your drives in any file system, i'd probably recommend ext3 if it's a pure linux server/
[02:04] <arrrghhh> if you want the drives to appear as one drive, then RAID would not be what you want.
[02:04] <Alex_21> Ok. Then how do I get started with Raid 1? I want to continually add drive?
[02:04] <arrrghhh> JBOD is what you would want, and is NOT for data redundancy.
[02:04] <arrrghhh> you'd add drives in pairs Alex_21
[02:05] <arrrghhh> one disk for data, the other disk has a mirrored copy for data redundancy.
[02:05] <Alex_21> Can this be combined with ZFS or something to make it one big happy drive?
[02:05] <Alex_21> Or LVM?
[02:06] <arrrghhh> dude
[02:06] <arrrghhh> one big drive = no data redundancy.
[02:06] <arrrghhh> are you an admin?  what do you mean "production system"?
[02:07] <Alex_21> It is a production server. I'm an admin. I'm fairly confident with web server administration. Just not Data Redundancy
[02:07] <twb> There is no point using RAID1 unless you have exactly two disks.
[02:07] <arrrghhh> well maybe you shouldn't be the admin of this side of things...
[02:07] <twb> If you have more than two disks, RAID5 is better in every way.
[02:07] <arrrghhh> yea, raid1 goes in pairs
[02:07] <Alex_21> And I'm running out of ways to keep from loosing a VM or two if a drive goes
[02:08] <arrrghhh> raid5 is nice as you can have a drive fail and not need to break the array.
[02:08] <Alex_21> I agree I shouldn't be doing this. I'm however the only admin currently in the employ of my organization
[02:08] <arrrghhh> but you must replace that drive or data corruption will occur.
[02:08] <Alex_21> I have two drives but I plan to add six or so more
[02:08] <arrrghhh> you can't do raid5 with 2 drives
[02:09] <arrrghhh> you need at least 3.
[02:09] <arrrghhh> please read the wikipedia article on raid, or something like that.  you need to do some research and LEARN about what the terms mean and advantages/disadvantages of the different types.
[02:09] <twb> Alex_21: if you're going to buy another four drives, you can set up RAID5 on that quartet, then copy the data from the original two, and finally merge the original two into the new RAID5 array.
[02:09] <arrrghhh> the two most commonly used are raid1 and raid5.
[02:10] <arrrghhh> correct.  but with two drives you can only do raid0/1
[02:12] <arrrghhh> sooooo any funambol users :D
[02:12] <thierry_> hi
[02:12] <arrrghhh> i can't get it to start.  the installation seems super easy, but it just won't run.
[02:12] <twb> !anyone
[02:13] <twb> arrrghhh: did you install it via apt?
[02:13] <twb> arrrghhh: or is this one of those ridiculous cowboy PHP things?
[02:13] <arrrghhh> twb, i didn't think it was in apt.  i installed it via the bin file on their website.
[02:13] <arrrghhh> lmao, doesn't seem like a ridiculous cowboy php thing.  torrentflux-b4rt was that and i was able to get that working.
[02:14] <thierry_> hello, I'm able to use ssh/http locally on my server but can't get it to work remotely, my iptables is empty and I'm pretty sure my port forwarding works properly
[02:14] <twb> Ah, it's a dual-licensed Java thingy for blackberrys.
[02:14] <giovani> thierry_: were you the one here yesterday?
[02:14] <arrrghhh> blackberry's and everything else that does syncML.
[02:15] <thierry_> giovani : yes :) got my server up locally but remotely is still a mess
[02:15] <arrrghhh> thierry_, you need to setup firewall rules.  i use ufw, cuz it's a heckuva lot easier than iptables.
[02:15] <giovani> arrrghhh: no, he doesn't
[02:15] <arrrghhh> and then if it's setup in your router you're good
[02:15] <arrrghhh> giovani, oh?
[02:15] <giovani> he doesn't need a firewall
[02:15] <arrrghhh> ok...
[02:15] <giovani> his router has one, that's fine ... that's not the issue
[02:15] <arrrghhh> i have ufw and a hardware firewall, so what.
[02:15] <thierry_> k, so how can I find the source of my problem?
[02:16] <giovani> and that's fine ... but it has nothing to do with his problem, and will only complicate things
[02:16] <arrrghhh> hrm
[02:16] <arrrghhh> if you say so.
[02:16] <giovani> thierry_: this is a networking problem
[02:16] <giovani> if you have truly cleared your firewall
[02:16] <giovani> please pastebin "sudo iptables -L"
[02:17] <thierry_> giovani : http://pastebin.com/d40f1e76a
[02:17] <thierry_> my iptables is clean
[02:18] <giovani> indeed
[02:18] <thierry_> I tought it my be my router firewall stopping connections even with the port forward but I'm not sure
[02:18] <giovani> that's very possible
[02:18] <giovani> some firewalls suck
[02:18] <giovani> I assure you that if the port is listening, and you have no local firewall, this is an external problem
[02:19] <giovani> so it's either a networking issue on your LAN, or a firewall issue at your router
[02:19] <giovani> or your ISP is blocking the connection
[02:19] <thierry_> I checked the doc of my router and it says the firewall blocks all incoming connections from the outside but I can use a DMZ to allow the connections to one specific computer on my network (which I did) and nothing changed
[02:19] <arrrghhh> you could try dmz just for troubleshooting but not recommended for extended use.
[02:19] <arrrghhh> and yes, your ISP could be blocking the traffic.  who is your ISP?
[02:19] <thierry_> videotron (Canada, Quebec province)
[02:20] <arrrghhh> thierry_, dmz puts that machine outside of the firewall completely.  do you have a static IP on the server?
[02:20] <giovani> thierry_: mind sending me the IP you're trying and isn't working (in a pm if you prefer)?
[02:20] <arrrghhh> hrm, i wouldn't know.
[02:20] <giovani> videotron does do some filtering
[02:20] <giovani> I don't remember what, exactly
[02:20] <giovani> blocking port 22 (ssh) is extremely uncommon
[02:20] <thierry_> giovani : yes no problem, but it simply times out
[02:21] <giovani> thierry_: ok, well let me test it out myself
[02:21] <Alex_21> I think I'll do Raid 5. However, ... is their a Howto specific for a new install of Ubuntu?
[02:21] <Alex_21> Hardy of course
[02:21] <Alex_21> Please
[02:21] <giovani> Alex_21: you'll need a minimum of 3 drives
[02:21] <giovani> the install is self-explanatory, I think
[02:21] <arrrghhh> Alex_21, if you do hardware raid it's independent of os.
[02:21] <Alex_21> I have four
[02:22] <arrrghhh> i wouldn't recommend software raid for this very reason.
[02:22] <twb> Alex_21: RAID5 is a little tedious to set up in the installer, but not hard.
[02:22] <giovani> there's nothing wrong with software raid, honestly
[02:22] <thierry_> giovani : I'm retarted with irc, how could I open a PM?
[02:22] <twb> arrrghhh: and if you use software raid it's independent of hardware!
[02:22] <giovani> thierry_: depending on your client /msg giovani yourmessagehere
[02:22] <Alex_21> I don't know. I think I'll do software raid
[02:22] <twb> arrrghhh: which are you more likely to replace?  Linux, or your raid controller?
[02:22] <arrrghhh> twb, well that's if he's just running linux... and my raid controller is onboard.
[02:22] <twb> arrrghhh: that's fake raid.
[02:23] <giovani> twb: hardware raid controllers have components that fail regularly ... good luck recovering that
[02:23] <arrrghhh> what if he wants to run multiple oses?
[02:23] <twb> arrrghhh: you should never ever use fakeraid.
[02:23] <pmatulis> thierry_: i'm familiar with videotron, i know they block incoming port 80 and 25
[02:23] <arrrghhh> twb, i'm not using fakeraid, thank you.
[02:23] <twb> giovani: exactly, so you're looking at 2×$300 or so, for the spare controller.
[02:23] <giovani> twb: not if it breaks the raid array when it fails
[02:23] <giovani> which happens regularly
[02:23] <twb> giovani: aha, yes.
[02:24] <giovani> software and hardware raid each have advantages
[02:24] <twb> I am very glad that we accidentally bought our last IBM with the wrong BIOS, and so went with software raid.
[02:24] <Alex_21> So is there a software raid install proceedure?
[02:24] <thierry_> pmatulis : no kidding? but I'm also stuck with ssh so I don't think the problem is the isp
[02:24] <arrrghhh> the PERCs we run at work have been great.  the netware crap we run on top, not so much.
[02:24] <thierry_> giovani : th-server.dynalias.net point to my ip
[02:24] <giovani> Alex_21: yes, it's self-explanatory in the installer
[02:24] <giovani> thierry_: yes, I got it
[02:24] <twb> IMO the chief advantage of hardware raid is that it's faster -- so really it's only valuable for large enterprises.
[02:24] <thierry_> giovani : k great, so what's your opinion?
[02:24] <giovani> on modern cpus
[02:24] <Alex_21> I rather not use hardware radi
[02:24] <giovani> the speed difference is minor
[02:24] <Alex_21> Raid
[02:24] <PhotoJim> twb: s/faster/usually faster/ :)
[02:24] <giovani> thierry_: give me a few minutes
[02:24] <twb> giovani: exactly.
[02:25] <giovani> twb: exactly, so speed is rarely a gain with hardware these days
[02:25] <twb> I guess it's also useful if your server is runing w2k3 or something instead of Linux.
[02:25] <Alex_21> I am still stuck here with my Alternate installer CD and no instructions
[02:25] <Alex_21> Waiting, ... :(, ... Lol
[02:26] <giovani> thierry_: this is very annoying ...
[02:26] <twb> Alex_21: you want to install RAID now?
[02:26] <giovani> your SSH port is completely accessible, and accepting connections
[02:26] <twb> Alex_21: how many disks do you have *right now*?
[02:26] <giovani> there is NO problem whatsoever
[02:26] <Alex_21> Three that can go into the machine at this moment
[02:26] <giovani> xxx@lithium:~$ ssh 96.23.224.10
[02:26] <giovani> The authenticity of host '96.23.224.10 (96.23.224.10)' can't be established.
[02:26] <giovani> RSA key fingerprint is 7c:01:c0:d6:50:f4:23:70:7a:1e:bc:88:ca:bf:ec:44.
[02:26] <twb> Alex_21: are they all the same size?
[02:26] <giovani> thierry_: there's nothing wrong, so I'm not sure what you're complaining about
[02:27] <giovani> your port 80 is being filtered, this is typical with residential ISPs
[02:27] <Alex_21> Which ISP
[02:27] <twb> arrrghhh: actually, you can make a RAID5 with two drives initially -- you just make it with zero parity disks (i.e. start in a degraded state) :-)
[02:27] <giovani> videotron
[02:27] <Alex_21> I think they are all 320 GB
[02:27] <thierry_> giovani : mmm wait, does trying so ssh th-server.dynalis.net from my local network could be the problem?
[02:27] <arrrghhh> twb, lol well then you really aren't getting raid5 are you?
[02:27] <giovani> thierry_: of course ...
[02:27] <giovani> your local network doesn't use an internet IP
[02:27] <giovani> and that DNS name resolves to an internet IP
[02:27] <arrrghhh> thierry_, lol how could you have remote problems if you're not testing it remotely?
[02:27] <giovani> sigh
[02:28]  * arrrghhh facepalms
[02:28] <giovani> people should not be running servers who haven't gone through networking 101
[02:28] <twb> Alex_21: are you installing with the ubuntu server CD?
[02:28] <Alex_21> Well, ... I have two ready to go in the machine. I can install a third if need be but I rather not.
[02:28] <arrrghhh> pretty much.
[02:28] <thierry_> giovani : OMG I'm so sorry to have bugged you, I tought ssh-ing to the thw web adress was the same as remotely
[02:28] <giovani> thierry_: no, your router likely doesn't handle looped connections like that
[02:29] <giovani> thierry_: if you want to rest remote connections, you'll have to be remote ... as in ... not internal
[02:29] <Alex_21> I have the problem that I noticed that one of my SATA cables is missing
[02:29] <giovani> if you want to test internal connections, use the server's LAN IP
[02:29] <thierry_> giovani : wow, probably the most stupid problem I ever had
[02:29] <giovani> thierry_: however, as I said, your web server on port 80 IS being blocked by your ISP
[02:29] <giovani> so you'll have to move it to another port
[02:29] <arrrghhh> hrm i can ssh from a machine on my local network to my externally reachable dyndns address... were you trying to ssh from the local machine back into the local computer?
[02:30] <Alex_21> So I have two drives. I plan to expand to ten or eight. However, ... I think the other six or four will be 1.5 TB
[02:30] <giovani> arrrghhh: your router handles looped connections
[02:30] <giovani> arrrghhh: many do not
[02:30] <arrrghhh> fancy
[02:30] <thierry_> giovani : k, while reading for my problem I've encountered doc on that so I should be able to do it :)
[02:30] <twb> Alex_21: you don't really want to have ten or eight drives in one machine.
[02:30] <twb> Alex_21: apart from anything else, you'll have airflow issues.
[02:30] <arrrghhh> Alex_21, unless you have the freakin room sheesh.
[02:30] <Alex_21> Why?
[02:30] <giovani> arrrghhh: the solution to this is to run an internal dns server where you resolve that same address to an internal ip
[02:30] <arrrghhh> giovani, meh
[02:31] <giovani> so that when you're external, it resolves to the external ip, and when you're internal, it resolves to the internal ip
[02:31] <twb> Alex_21: RAID5 requires all disks in the array to be the same size; extra size in some drives will just be thrown away.
[02:31] <giovani> most companies do this
[02:31] <thierry_> anyway I'm off to bed thanks for all the all and patience
[02:31] <Alex_21> Ok.
[02:31] <arrrghhh> Alex_21, and i told you, putting the usb/firewire drives into the array, if even possible just seems like a bad idea.
[02:31] <Alex_21> I won't put FW and USB. That is seperate
[02:31] <arrrghhh> giovani, yea, i think we do.  we have a proxy server tho, it bypasses local stuff.
[02:32] <giovani> arrrghhh: what do you mean it bypasses local stuff?
[02:32] <Alex_21> I have six bays. I'm going to try and add at least two drives
[02:32] <Alex_21> I mean two more bays
[02:32] <giovani> your proxy server is not likely to proxy ssh connections ...
[02:32] <arrrghhh> giovani, the proxy is bypasses if the site is local... nvm doesn't really matter anyways.
[02:32] <twb> It is possible to put external drives into an array.  It is extremely nightmarish.
[02:32] <arrrghhh> twb, wow.  yea, just sounds like a horrible idea.
[02:33] <Alex_21> What should I do with my server?
[02:33] <Alex_21> I am going to need to be able to run all my virtual machines off this space
[02:34] <twb> Alex_21: OK, if you plan to end up with ≥3 drives (of identical size), you should put three in and do a RAID5 install using the ubuntu server CD.
[02:34] <Alex_21> How should I partition it
[02:35] <Alex_21> How about two drives.
[02:35] <Alex_21> I need to get the machine back online by midnight and I'm missing a SATA jumper
[02:35] <arrrghhh> lmao
[02:35] <twb> You could make a RAID1 now, and then later buy four 1.5TiB drives and replace the RAID1 with a RAID5 of those new four drives.
[02:35] <twb> That is probably what I'd do if I didn't need the space up-front.
[02:35] <Alex_21> Ok. How do I do a Raid 1?
[02:36] <twb> Alex_21: in all cases, go through the server install until you get to the partitioner.  Then we'll talk.
[02:36] <Alex_21> Ok. I'm there
[02:36] <giovani> arrrghhh: you mean YOU bypass the proxy if the destination is local ... of course, why would you proxy internal connections?
[02:36] <giovani> the proxy doesn't bypass :)
[02:36] <Alex_21> Virtually anyways
[02:37] <twb> Alex_21: OK, now decide if you're making a RAID1 or RAID5.
[02:37] <giovani> heh
[02:38] <twb> Alex_21: btw, it's easier for me to pay attention if you preface remarks to me with "twb: ".
[02:39] <Alex_21> I guess Raid 1 for now
[02:39] <Alex_21> I'll upgrade later when I get the TB drives
[02:40] <twb> Alex_21: OK, choose "manually partition", then select each drive and choose to create a new partition table.
[02:40] <Alex_21> I may just get six or eight TB drives and replace all the 320 GB drives
[02:40] <Alex_21> Ok
[02:40] <Alex_21> I have
[02:40] <Alex_21> Virtually
[02:40] <twb> Alex_21: then, create a single partition on each, the whole size of the disk.  Choose "use as RAID volume".
[02:40] <Alex_21> Ok.
[02:40] <Alex_21> Next
[02:40] <Alex_21> Please
[02:40] <twb> Now at the top of the partition screen, is "configure raid".
[02:41] <Alex_21> Which screen?
[02:41] <twb> The one where you see the partitions of all drives listed.
[02:41] <Alex_21> The main one that says to Guided use entire disk, ... ETC?
[02:41] <Alex_21> Ok.
[02:41] <twb> No, we have already passed that to choose "manually partition"
[02:41] <Alex_21> I virtually clicked that
[02:41] <twb> Pick "configure RAID", then choose to create a RAID array, level 1, 2 disks, 0 parity disks.
[02:42] <Alex_21> Ok.
[02:42] <Alex_21> Then what?
[02:42] <twb> Then select the two partitions you just created and click next.
[02:42] <Alex_21> What about Boot?
[02:42] <twb> Alex_21: it's a RAID1, so you don't need a separate /boot.
[02:42] <Alex_21> How do you select two?
[02:42] <twb> They'll be check boxes.
[02:42] <Alex_21> Ok.
[02:42] <Alex_21> then what?
[02:43] <twb> OK, then you'll be taken back to the main screen, and there's be a new partition listed.
[02:43] <twb> Select it, and choose "use as LVM physical volume".
[02:43] <Alex_21> Ok.
[02:43] <Alex_21> Then what?
[02:43] <twb> Then again back to the main screen, and choose "configure LVM" at the top of the screen.
[02:43] <twb> Create an LVM volume group using the one physical volume.
[02:44] <twb> Then create logical volumes for root, swap, and anything else you want (e.g. a separate /home and /srv).
[02:44] <Alex_21> Then what?
[02:45] <twb> Finally, go back to the main screen and you will see these logical volumes listed like partitions.  Make each one ext3 (except for swap), and choose where to mount them.
[02:45] <Alex_21> Ok.
[02:45] <Alex_21> That is it?
[02:45] <twb> That's it.
[02:45] <Alex_21> Thanks a million
[02:45] <twb> You should also grab a copy of the install guide while you're at it, as it covers a lot of this.
[02:46] <Alex_21> Where?
[02:46] <twb> I dunno, on Ubuntu's website somewhere.
[03:13] <Alex_21> Thanks for all the help
[03:13] <Alex_21> Good night
[03:15] <genii> !ssh
[03:53] <twb> Why isn't there an ubuntu-server metapackage?
[03:55] <ScottK> It's done through tasksel, IIRC.
[03:55] <twb> Any particular reason it's different from ubuntu-standard and friends?
[03:55] <twb> I guess a "base" server basically *is* just ubuntu-standard...
[03:56] <ScottK> Because of that number of options, also.
[04:50] <oh_noes> I just addded "local1.info    /var/log/out.log" (with a tab) to my syslog.conf -- but it's not working
[04:51] <oh_noes> logger -p local1.info test
[04:51] <oh_noes> am I doing something wrong?  I CAN however see it go into the default /var/log/syslog
[04:57] <twb> Maybe you have to restart syslog?
[04:57] <twb> Are you using syslogd, or rsyslog?
[04:57] <oh_noes> Yep, no luck
[04:57] <oh_noes> syslog-ng
[04:57] <twb> syslog-ng doesn't read syslog.conf
[04:57] <twb> But I'd recommend rsyslog over it, because it has been adopted by Debian.
[05:02] <oh_noes> hrmm, your right.  Weird that I have syslog-ng actively running, but /etc/syslog.conf
[05:03] <twb> oh_noes: that would be because something like base-files fucked up
[05:03] <twb> Or because sysklogd is still configured, though not installed.
[05:03] <twb> i.e. you removed it instead of purging it.
[05:03] <oh_noes> ta
[05:05] <oh_noes> why would I have a /etc/init.d/syslog-ng script, even though apt-get remove syslog-ng stays its not installed?
[08:42] <rags> any one know how I can check the amout of data trnsfered through ssh? I am using Unison to sync data between two machines. Unisons doesn't provide any switch for tht.
[08:46] <jmarsden> rags: I think unison logs statistics like that if you give it the -log and -logfile options??
[08:47] <jmarsden> I've not used it for a while, but... I *think* unison can be made to tell you how much work it did :)
[08:47] <rags> jmarsden: ya I do have a log file, but no data tranfer info..:(. It just gives the list of coflicts and the files trnsfered.
[08:48] <jmarsden> Then there's a another switch that adds them to that log... let me look for it... did you read /usr/share/doc/unison/unison-manual.txt.gz for info about this?
[08:49] <rags> I just raed the online manual...although my version is older.
[08:50] <rags> I have just used teh logfile switch...not -log...should I use both..-log as well as -logfile?
[08:51] <rags> maybe tht would make a diff...but I think -log is implicit when I mention -logfile
[08:52] <jmarsden> Wouldn't hurt to try both.  Also you could try debug, although that might get you too much info :)
[08:53] <rags> ya...I'll try them...thx.
[08:57] <jmarsden> No problem.  You can try adding -v or -vv or -vvv to the ssh command too, but I think getting unison to tell you the info is better if you can do it :)
[08:57] <twb> rsync, at least, has summary options.
[08:57] <twb> But obviously unison/rsync won't include the ssh overhead.
[10:09] <twb> Any idea why 9.04, unlike 8.04, tries to read /proc/modules repeatedly when creating a ramdisk?
[10:09] <twb> I'm inside a chroot; there is no /proc.
[10:10] <twb> I wish Ubuntu would stop shipping CDs with broken /vmlinuz and /initrd.img symlinks in the squashfs.
[10:15] <twb> WTF is vmcoreinfo-2.6.28-11-generic
[10:15] <twb> Hmm, apparently no kernel in there.
[10:31] <bubba> good evening fellow. I need help in setting up a virtual host. any one?
[10:32] <bubba> anybody out here?
[10:32] <twb> bubba: no
[10:33] <bubba> i c
[10:33] <bubba> how do you change channels?
[10:33] <twb> I am busy trying to get JEDGAR to accept my mail-order anthrax business.
[10:34] <twb> bubba: /join #foo
[10:34] <bubba> how?
[11:41] <subchee> hello everybody
[11:46] <dazman> Hi
[11:46]  * dazman is in and out at the moment
[14:58] <sczgilae> hello everybody
[14:58] <sczgilae> i have an installation with LDAP configured. Now im configuring the users profile. i want to configure the "K" panel to all users and lock the desktop, but i dont know where is the file to configure that. anoybody knows?
[15:02] <sczgilae> anybody?
[15:04] <genii> sczgilae: Since this is also a KDE question you may want to enquire in #kde
[15:04] <sczgilae> genii: thanks
[15:11] <BrixSat> hello ;:)
[15:11] <sczgilae> hi
[15:11] <BrixSat> is there any torrent client with web interface?
[15:11] <sczgilae> utorrent?
[15:11] <BrixSat> i dont have gui
[15:11] <BrixSat> it need to be shell
[15:18] <BrixSat> rtorrent ;d
[15:27] <SuperRoach> I've got a vps setup remotely with ubuntu server 8. When I ssh in as root, ls shows all area's as empty. Is that normal behaviour? I was expecting to see at least the var and www folders.
[15:41] <mdz> kirkland: your related_packages call picks up ikvm, which (afaik) is unrelated to kvm
[15:41] <mdz> and libikvm-native
[15:41] <mdz> kirkland: kvm* rather than *kvm* might give you what you want with less noise
[15:48] <mathiaz> jdstrand: what's the state of auth-client-config?
[15:48] <mathiaz> jdstrand: is it still maintained and should its usage be pushed/recommended?
[15:51] <jdstrand> mathiaz: I do maintain it, but I am not actively developing it
[15:51] <jdstrand> (it does what it needs to for those who want it)
[15:52] <mathiaz> jdstrand: IIRC you've added support for the new pam-auth-update that landed in interpid
[15:52] <jdstrand> mathiaz: generally, people should be using pam-auth-update, and when that doesn't work, can consider auth-client-config
[15:52] <jdstrand> mathiaz: I did not add support-- I made sure to get out of pam-auth-update's way
[15:52] <mathiaz> jdstrand: ok - however pam-auth-update only deals with the pam stack
[15:53] <mathiaz> jdstrand: the nss stack still needs to be taken care of separately.
[15:53] <jdstrand> mathiaz: that is correct. slangasek mentioned at one point that he might do something similar with nss, but I don't know the status of that
[15:54] <jdstrand> the last I talked to him about it was UDS for Jaunty, and IIRC, you were present
[15:54] <mathiaz> jdstrand: ok.
[15:55] <mathiaz> jdstrand: considering that configuration a system to leverage a directory requires both modification to pam and nss I'm considering using auth-client-config
[15:55]  * jdstrand nods
[15:55] <mathiaz> jdstrand: *configuring* a system
[15:56] <mathiaz> jdstrand: ok - so dropping profiles in /etc/auth-client-config/profiles.d/ and then using auth-client-config is the best option for karmic
[15:56] <jdstrand> I can't speak to the 'best option' part, but it will work
[16:00] <kirkland> mdz: k
[16:00] <mdz> kirkland: not a big deal, just a suggestion to keep it clean and readable
[16:02] <kirkland> mdz: right, thanks
[16:03] <Max007> Is there something special to configure bind9 as a caching dns server ?
[16:04] <applex> helo
[16:06] <kirkland> mdz: fix uploaded to karmic, cheers
[16:15] <RoAkSoAx> ttx, ping
[16:18] <zoopster> Max007: no...a standard bind install is caching - just need to setup forwarders
[16:18] <Max007> zoopster: should I use the root servers or forwarders ? Which is quicker ?
[16:19] <zoopster> Max007: never use them as forwarders...use your local isp's servers
[16:19] <Max007> zoopster: i dont use them as forwarder... bind uses them by default
[16:21] <zoopster> Max007: not sure who "them" is, but a forwarder is who you pass requests to initially...it should NEVER be direct to root servers
[16:23] <Max007> Max007: by default, bind uses root servers (them
[16:23] <Max007> Max007: by default, bind uses root servers (them) to resolve. There's no forwarders. Should I keep it that way or use ISP dns as forwarder ?
[16:26] <jmedina> Max007: dont use root servers, they are a few, if you can use your ISP, or opends,.org
[16:28] <zoopster> Max007: forwarders by default are blank afaik, use a local ISP or opendns as jmedina mentions...you want your initial forward to be as close as possible to you or you will notice slowness in browsing
[16:34] <Max007> okay
[16:34] <Max007> thanks
[16:41] <sczgilae> i have an installation with LDAP configured. Now im configuring the users profile. i want to configure the "K" panel to all users and lock the desktop, but i dont know where is the file to configure that
[16:44] <jmedina> sczgilae: have you look at kde kiosk?
[16:45] <sczgilae> what's that?
[16:48] <sczgilae> jmedina: could you help me compañero?
[16:50] <jmedina> sczgilae: I thinks this questions go in #kde channel
[16:50] <jmedina> this is server channel
[17:00] <TJ`> hey guys im wondering if anyone can help me out with pptpd
[17:00] <TJ`> basically ive installed and it connects fine and registers on the network ok too
[17:01] <TJ`> only thing is it disconnects when i try to request a web page on the same server? (apache + pptpd are on the same box)
[17:01] <TJ`> any idea why?
[17:06] <TJ`> anyone?
[17:52] <phoenixz> I need to know the *name* of a process that every now and then is changing a file.. How can I monitor that file to get that process name?I need to know the *name* of a process that every now and then is changing a file.. How can I monitor that file to get that process name?
[17:54] <sczgilae> phoenixz maybe if you install "iotop" can you see
[17:59] <phoenixz> sczgilae: well, the change is very quick.. a rewrite actually.. the file is a small config file and is copied over.. I need to know what process does this..
[18:06] <simplexio> phoenixz: fuser could be one you are looing for
[18:58] <BrixSat> any one here uses rtorrent?
[19:08] <phaidros> BrixSat: I used to
[19:09] <giovani|work> BrixSat: yes
[19:09] <BrixSat> [phaidros]: why dont you use anymoere?
[19:09] <BrixSat> im having problems setting it up :S
[19:09] <giovani|work> be more specific
[19:09] <giovani|work> BrixSat: did you use the ubuntu package, first of all?
[19:09] <phaidros> not doing torrent on server anymore, took it back on dektop, hm, doing not much torrent lately
[19:09] <BrixSat> giovani|work:yes
[19:10] <giovani|work> BrixSat: then be specific about "having problems setting it up"
[19:10] <BrixSat> apt-get install rtorrent
[19:10] <BrixSat> i wanted to use wtorrent (web interface for rtorrent)
[19:10] <BrixSat> but i cant connect booth
[19:10] <giovani|work> ok, wtorrent is not "setting up rtorrent" though
[19:10] <giovani|work> is rtorrent functioning on its own?
[19:11] <giovani|work> it needs to be functioning before you add other things on
[19:11] <BrixSat> it runs
[19:11] <giovani|work> ok, so there is no problem with rtorrent?
[19:11] <giovani|work> contrary to what you said initially
[19:11] <BrixSat> but the directive scgi_port = localhost:5000 is not making efect on rtorrent.rc
[19:11] <BrixSat> that is why i say the problem is in rtorrent
[19:12] <giovani|work> consult #rtorrent
[19:12] <BrixSat> i never knew the had a channel
[19:12] <giovani|work> rtorrent is functioning properly in the ubuntu sense -- it sounds like you need help on a specific wtorrent configuration
[19:12] <giovani|work> the vast majority of open source projects do ...
[19:12] <BrixSat> :D
[19:16] <hollman> hello all, i have a problem trying to update my Ubuntu Server
[19:16] <hollman> http://ubuntu.pastebin.com/m64f3ce88
[19:16] <hollman> someone can help me ?
[19:17] <phaidros> hollman: that's a sources.list, I can see no problem with it
[19:17] <zoopster> hollman: what is the question/problem?
[19:18] <hollman> phaidros, zoopster excuseme
[19:18] <hollman> http://ubuntu.pastebin.com/m7c82f2d0
[19:18] <jbernard__> kirkland: have you seen the recent dpkg-divert error in byobu?
[19:18] <jbernard__>  http://ubuntu.pastebin.com/d70298c9a
[19:20] <hollman> phaidros, zoopster any idea ?
[19:21] <zoopster> hollman: in spanish? looks like an invalid request?
[19:22] <hollman> yes in spanish, im Colombian :P
[19:31] <kirkland> jbernard__: ?
[19:31] <kirkland> jbernard__: what error is that?
[19:36] <RoAkSoAx> kirkland, I have a quick question :) that i'm sure you can help me with. I'm merging openvpn. Should I drop lsb-base from debian/control if debian has dropped it too?? Or it needs to be there to support status_of_proc()
[19:37] <jbernard__> kirkland:  http://ubuntu.pastebin.com/d70298c9a
[19:37] <kirkland> RoAkSoAx: probably the latter
[19:37] <kirkland> jbernard__: i'm on it
[19:38] <jbernard__> kirkland: awesome, quick fix? or shall i file a bug?
[19:38] <RoAkSoAx> kirkland, cool thanks :)
[19:38] <kirkland> jbernard__: already there
[19:38] <kirkland> Bug 382462
[19:52] <darkpixel> hi there, im looking for a php-based webmail but i need the users to logging in without a email account, i need to have users, like user1, pass user1, and once logged in they would access to a preconfigured email account. Is there something like this out there?
[19:57] <kirkland> jbernard__: okay, i just uploaded a fix
[19:57] <kirkland> jbernard__: could you test byobu-2.7 when its available?
[19:57] <kirkland> jbernard__: ie, when the build completes?
[19:57] <kirkland> jbernard__: btw, had a good discussion at uds about update-motd and inotify
[19:57] <kirkland> jbernard__: keybuk is adding inotify watch capability to upstart very soon
[19:58] <kirkland> jbernard__: we'll use that as soon as he finishes it
[19:58] <kirkland> jbernard__: then we won't have to deal with MIR'ing one of the inotify daemons
[19:58] <kirkland> jbernard__: and we won't need an init script;  just a config file that upstart would process
[20:07] <W8TAH> can ubuntu server boot from an LVM partition?
[20:18] <giovani|work> W8TAH: I haven't tested -- I presume not
[20:18] <giovani|work> that's a (relatively) modern feature of grub
[20:24] <jbernard__> kirkland: im on it
[20:25] <jbernard__> kirkland: update went smooth, no failures
[20:30] <jbernard__> kirkland: for byobu, all looks well
[21:09] <W8TAH> ok - thanks - i ended up going with an ext3 boot partition and / on a raid 5
[21:10] <giovani|work> W8TAH: ext2 for /boot, sir
[21:10] <giovani|work> journaling is a waste of space on /boot
[21:39] <giovani|work> W8TAH: just fyi, 9.04 worked fine with an LVM /boot
[21:39] <giovani|work> I guess 9.04 went to lilo without me realizing?
[23:55] <[DeViL_KiLLs]> Hello ! i need some file from ubuntu 9.04 /desktop edition/ apache /etc/apache2/sites-enabled/default
[23:57] <[DeViL_KiLLs]> Please help me