/srv/irclogs.ubuntu.com/2011/06/29/#ubuntu-server.txt

pythonirc1012cfdisk -- FATAL ERROR: Bad primary partition 1: Partition ends in the final partial cylinder -- whats wrong?01:04
pythonirc1012its a fresh machine, and i installed ubuntu server on one of the hard drives01:04
qman__pretty much exactly what it says01:05
qman__your partition doesn't end on a cylinder boundary01:06
qman__which may or may not be a problem01:06
qman__depending on how smart your software is01:06
pythonirc1012qman__: Why would that happen with a fresh install?01:06
pythonirc1012qman__: also, how do i find out if its a problem or not?01:06
qman__the installer probably used software which is smart enough to handle partitions that don't end on cylinder boundaries, while the software you're using is not01:07
pythonirc1012I see01:07
pythonirc1012cfdisk is what i was trying to use01:07
qman__that, or the software you're using is trying to ensure everything is aligned to 4k sectors01:07
pythonirc1012I'm trying to build a RAID5 with 4 disks apart from the disk i installed the OS on01:07
maxbcfdisk is probably just being paranoid and living in the past01:07
qman__I don't use cfdisk myself, so I honestly have no idea if it's a problem or not01:08
pythonirc1012I can ssh to the machine...was trying to use mdadm...thought would look at the disks using cfdisk01:08
qman__I just fdisk, n, p, 1, enter, enter, t, fd, w01:08
qman__just added five disks to my file server the other night that way01:08
pythonirc1012what exact command did you use?01:08
pythonirc1012did you build a raid on them?01:09
qman__fdisk /dev/sd?, where ? is the disk you want01:09
qman__and then using those letters in order in fdisk to create the partitions of the correct type01:09
qman__and then an mdadm command to add the disks to the array (or in your case create an array)01:09
qman__and then I grew my ext3 filesystem to fit after the array reshaped01:09
qman__on a new array you'd just make a new filesystem, or use LVM or whatever you're doing01:10
pythonirc1012k - question 1: how do i find out which disks are empty and what are their names...i usually use gnome-disk-utility for this, but dont know how to do this using text terminal01:10
qman__fdisk -l01:10
pythonirc1012WARNING: GPT (GUID Partition Table) detected on '/dev/sdh'! The util fdisk doesn't support GPT. Use GNU Parted.01:11
qman__AFAIK fdisk does not do 4k sectors by default01:11
qman__GPT, never done that myself01:11
qman__'parted' is GNU Parted01:11
qman__I don't know the exact commands in parted to do what you want though01:11
pythonirc1012ok /dev/sde is where my os is installed -- need to make raid5 from fghi01:12
patdk-lapya, I don't think anyone is really doing partitions by 4k, but mainly by 1meg now01:12
qman__you need to create partitions of type "Linux RAID Autodetect", or 'fd'01:13
qman__then mdadm can deal with them01:13
pythonirc1012http://paste.pocoo.org/show/422939/01:14
qman__yeah, you're using GPT, so fdisk won't work01:14
qman__you'll have to use a GPT aware partitioner01:14
patdk-lapuse parted01:14
patdk-lapor if you have gui installed, gparted?01:15
maxbooi, why are you using GPT?01:15
pythonirc1012I've no clue01:15
patdk-lapI'm only using gpt anymore01:15
qman__I have no need for it01:15
qman__my data disks are all one big partition anyways01:16
patdk-lapI have many raids that are >2tb01:16
patdk-lapmost of mine are hardware raided to >2tb01:16
pythonirc1012my disks are 2TB each01:16
pythonirc10124 disks -- want to put them in RAID 501:16
pythonirc1012what parted command do i need to run on each disk ?01:16
patdk-lapwell, you can just wipe the gpt off, and use fdisk01:17
patdk-lapbe simpler01:17
qman__I use 1TB disks right now01:17
pythonirc1012seems parted is better that fdisk in anycase? usage wise01:17
qman__next one will be a major overhaul01:17
qman__probably01:17
qman__I only suggested fdisk because that's what I know and use01:17
qman__I do not know parted01:17
patdk-lapfdisk is a dump partitioner, it does what you say01:17
patdk-lapparted is smarter01:18
pythonirc1012cant i just use "parted /dev/sdf" and then mkpart primary 0 2001G?01:18
pythonirc1012or is there a better way?01:18
pythonirc1012qman__: ok i do have partitions on the 4 disks i want to put in raid 5: http://paste.pocoo.org/show/422951/01:24
pythonirc1012will that work?01:24
pythonirc1012patdk-lap: is this partitioning any good or do i need to repartition in some other way for mdadm?01:24
qman__well, they shouldn't have filesystems on them01:25
patdk-lapmdadm doesn't care :)01:25
qman__I don't know what exactly that means in parted though01:25
pythonirc1012patdk-lap: what mdadm command do i need to create the raid 5 from 4 disks then?01:25
patdk-lapmdadm --create /dev/md0 --level=5 --raid-devices=4 /dev/sd?1 /dev/sd?1 /dev/sd?1 /dev/sd?101:26
qman__you might want to tweak other options like stripe size01:27
qman__but that'll create one with default settings01:27
patdk-lapstripe size is good, depending what what it is used for01:28
pythonirc1012I guess in my case I'll try this then: sudo mdadm --create --verbose /dev/md0 --level=5 --raid-devices=4 /dev/sdf1 /dev/sdg1 /dev/sdh1 /dev/sdi101:28
qman__my array is used mostly to store large (1GB+) files, so I increased my stripe size01:28
patdk-lap-c 128 is nice01:29
patdk-lap-c 1024 is good also for large streaming files01:29
pythonirc1012http://paste.pocoo.org/show/422955/ ?01:29
qman__the other thing is, you'll want to tweak your ext3/4 filesystem based on your stripe size01:29
pythonirc1012most of my files are a few MBs01:30
pythonirc1012like 10 MBs or so01:30
qman__more detailed info here: http://ubuntuforums.org/showthread.php?t=408461 and here: http://tldp.org/HOWTO/Software-RAID-HOWTO.html01:30
pythonirc1012512K default should be fine for that, isnt it?01:30
patdk-lapit depends on how it's used01:30
patdk-lapwhen those files change01:30
qman__the latter is very old, but the information is still relevant, just the commands have changed some01:30
patdk-lapdoes the while file change? or part of it?01:30
pythonirc1012most of my files are read only01:31
patdk-lapthan large is ok01:31
pythonirc1012how do i change the strip size to 1MB?01:31
patdk-lapI would stick with 512k probably though01:31
pythonirc1012perfect01:31
pythonirc1012mdadm: /dev/sdf1 appears to contain an ext2fs file system01:32
patdk-lapyou don't want to go too large and cause a single drive to slow it down :)01:32
pythonirc1012how do i goto ext4 or some other fs?01:32
patdk-lapyou don't01:32
qman__each drive partition should not contain a filesystem01:32
patdk-lapit should overrite it with the raid01:32
qman__they should just be partitions01:32
qman__the filesystem should be created on top of the RAID01:32
pythonirc1012perfect01:32
qman__that's why it's warning you01:32
qman__so you don't accidentally nuke a filesystem you shouldn't have01:32
pythonirc1012says /dev/md0 started01:32
pythonirc1012now i can get a FS on it?01:32
qman__you can either create a filesystem directly on md0, or use LVM01:33
patdk-lapnow watch in /proc/mdstat for progress01:33
patdk-lapif you care :)01:33
qman__that ^^01:33
qman__though it's designed to handle whatever you throw at it01:33
qman__I prefer to stay on the safe side, and ensure not to trust the raid until that's done01:33
pythonirc10125min speed=90111K/sec!?01:33
patdk-lapit nice to make sure it gets to 1% I think, before messing with it :)01:33
qman__not reboot the server, not fill more space on the array than the % completed01:34
pythonirc1012.4% right now01:34
qman__it takes a long time01:34
patdk-lapqman, I go both ways01:34
pythonirc1012done .5%01:34
patdk-lapsometimes I wait till it completes 100% before anything01:34
qman__yep01:34
patdk-lapother times I just don't01:34
pythonirc1012ok, so we dont add the FS onto it till its done 100%?01:34
qman__I did when reshaping my array01:34
qman__because I don't have a backup01:34
patdk-lappythonirc, it's fine now, it's just going be slow01:34
qman__you can create the fs01:34
qman__just don't start dumping files onto it01:35
qman__at least until it gets a bit through01:35
pythonirc1012sorry got booted01:35
qman__<qman__> you can create the fs01:36
qman__<qman__> just don't start dumping files onto it01:36
qman__<qman__> at least until it gets a bit through01:36
pythonirc1012its 1% done01:36
pythonirc1012what command do i need to create the fs?01:36
qman__while it will let you put more data on the array than is allocated01:36
qman__what exactly it does with that data is a mystery to me01:36
patdk-lapqman, it's safe :)01:36
patdk-lapit just goes ahead and inits that part of the time01:37
patdk-lapdrive01:37
patdk-laptechnically you are doing that ways01:37
patdk-lapcause ext throws the data randomly over the drive01:37
qman__mkfs.ext401:37
patdk-lapbut this also assumes it's bug free :)01:37
qman__though you should set the stride based on your stripe size for best performance01:38
qman__the numbers are much smaller because the document is old, but this section explains it well: http://tldp.org/HOWTO/Software-RAID-HOWTO-5.html#ss5.1101:39
qman__also, chunk size == stripe size01:40
pythonirc1012qman__: mkfs.ext4 /dev/md0 ? can you please tell the exact command01:40
pythonirc1012or mkfs -t ext4 /dev/md0?01:40
qman__both are equivalent01:40
pythonirc1012and thats what i need?01:40
pythonirc1012writing inode tables01:41
patdk-lapmkfs.ext4 -T largefile -E stride=512,stripe-width=3 /dev/md001:41
pythonirc1012i've 4 disks, strip-width=3 is fine?01:41
patdk-lapyou have 3 data disks01:42
pythonirc10124, right?01:42
patdk-lapyou have 3 data disks01:42
pythonirc1012oh one is parity?01:42
patdk-lapyes01:42
pythonirc1012patdk-lap: thanks01:43
pythonirc1012now mount ? or wait?01:43
qman__you can mount and use it normally, but it will be slow until it is done building01:44
pythonirc10122.8% done in /proc/mdstat01:44
pythonirc1012perfect.01:44
pythonirc1012ok, so moving on to the next raid, which is even worse...01:44
qman__I haven't created a file server since ext4 got stable, so I didn't know the command01:44
pythonirc1012i hope it doesnt crash :)01:44
qman__you can lower your build time with the following01:45
twb+1 for -binternal01:45
qman__echo "200000" | sudo tee /proc/sys/dev/raid/speed_limit_min01:45
pythonirc1012when i run parted, and do print all : Error: Invalid partition table on /dev/mapper/sil_bhagdgacbhai -- wrong signature 0. Ignore/Cancel? -- Why does this happen?01:46
patdk-lapqman, not going help him much, it's already going 90MB/s the max those drives go :)01:46
qman__ah01:46
qman__didn't notice that01:46
qman__that happens because you're using fakeraid01:46
qman__with nothing on it01:47
pythonirc1012can i just make a fs on it?01:47
qman__yes01:47
pythonirc1012ok, next question01:47
pythonirc1012/dev/mapper/sil_bhagdgacbhai -- 160GB is a 4 x 40GB OCZ drives01:47
pythonirc1012what FS should i use on it? what raid? I was hoping that this box would show up as one drive on ubuntu, but it does not. I am hoping to use RAID 0 on this one.01:48
qman__fakeraid is usually terrible01:48
qman__what type of controller is it?01:48
twbpythonirc1012: that sounds like some bullshit fakeraid controller, which you should avoid like the plague01:49
qman__or more importantly01:49
patdk-lapit is :)01:49
pythonirc1012http://www.provantage.com/ocz-technology-ocz3hsd1ibs1-160g~7OCZD018.htm01:49
qman__does it have an actual chip01:49
twbAlso, don't use RAID0 for anything but ephemeral data.01:49
qman__yuck01:49
patdk-lappythonirc, you should have turn off raid in your bios01:50
patdk-lapso you didn't have that sil_xxxxx thing, but instead a normal sd?01:50
twbpythonirc1012: unless you paid $400 for your RAID card, you should use Linux md RAID.01:50
qman__no, it's a black box SSD with a fakeraid built into it01:50
qman__so he's not going to be able to turn it off01:50
patdk-lapoh?01:50
twbAnything less than that won't be battery-backed hardware raid, but rather some kind of fakeraid.01:50
twbqman__: lame01:50
pythonirc1012qman__: I think i can turn it off01:51
patdk-lapnormally they don't have fakeraid in it, but that sandcontroller thing01:51
twbpatdk-lap: sandforce, it's an FTL01:51
pythonirc1012I'll try to switch it off tomorrow01:51
patdk-lapoh, it01:51
patdk-lap's a ibis01:51
pythonirc1012its at work, cant do it from home01:51
pythonirc1012what do you guys suggest for it? switch off the fake raid 0 , and then make a raid 0 using mdadm?01:52
qman__ordinarily yes, but I don't think you'll be able to do that with that hardware01:52
patdk-lapoh ya, they do display as a sil_xxx fakeraid, how evil01:52
qman__that, or buy a real RAID controller with dedicated CPU and cache01:52
patdk-lapqman, won't work, it has a custom connection01:53
patdk-lapthe drive is actually pcie x401:53
qman__yeah01:53
pythonirc1012i saw it in the bios to turn off the raid on that01:53
pythonirc1012why are you guys saying it wont work? the controller?01:53
patdk-lappythonirc, too much unknown, I haven't used one yet01:54
patdk-lapcause they aren't supported by vmware :)01:54
pythonirc1012patdk-lap: lets assume i've 4 40GB SSD drives that are visible to the os as /dev/sd?01:54
patdk-lapjust raid0 them :)01:54
patdk-lapusing mdadm01:54
qman__yep01:54
qman__fakeraid loads all the effort onto your main CPU anyway01:55
qman__you might as well use the most stable and optimized software raid, mdadm, instead of a one-off driver01:55
pythonirc1012just 512K default stripe?01:55
pythonirc1012what FS?01:55
patdk-lapwhatever fs you want01:55
pythonirc1012any that works well with SSDs? shouldnt i try to match the stripe length with whatever size the IO of SSDs are optimized for 4k?01:56
patdk-lapwho raid the ssd's are optimized for 4k01:57
patdk-lapI can tell you for sure they aren't01:57
patdk-lap64k, 128k or 256k maybe01:58
patdk-lapso 512k is probably best01:58
pythonirc1012patdk-lap: the IOPS they report is for 4k chunks, right?01:58
patdk-lapsometimes01:58
pythonirc1012then?01:58
pythonirc1012i need iops from this device01:58
patdk-lapif it's done by a proper benchmarking that is reputable, 4k yes01:58
patdk-lapstripesize doesn't offect iops01:59
patdk-lapman you really have no idea what your doing01:59
patdk-lapyou have no idea how flash works01:59
patdk-lapyour assuming it works the same as normal drives01:59
patdk-lapand even on normal drives you wouldn't use 4k strip size01:59
pythonirc1012thats right strip size doesnt have any effect on IOPS01:59
patdk-lapstripe size does affect iops01:59
pythonirc1012mdadm then should work fine, even if i want most for iops01:59
patdk-lapit affects it a crapload01:59
pythonirc1012does the FS have any effect on IOPS? what do benchmarkers use when they look into increasing iops?02:00
patdk-lapthe only way to increase iops is to add more drives02:00
patdk-lapto maximize iops per set raid02:01
pythonirc1012also: if i want to mount /dev/md0 at boot to /raid, do i just add it to /etc/fstab? or is there an easier way to do this automatically?02:01
patdk-lapyou want to max out the read buffer of the drive02:01
patdk-lapmost drives it's like 16 or 32 sectors02:01
patdk-lapor used to be02:01
patdk-lapbut flash is different02:01
pythonirc1012patdk-lap: in my case, i've 4 SSDs, so that should already give good IOPS, if i read randomly all over, isnt it?02:01
patdk-lapyou can write to flash, 8k at a time02:02
pythonirc1012my app is mostly read only...no writes02:02
patdk-lapbut if you have to erase a sector, that sector for flash can be 16k to 512k02:02
patdk-lapthat large block size is what you want to optimize for in flash stripe size02:02
patdk-lapcause you don't want to be writing half of that empty space at a time02:02
patdk-lapand you defently want to get it aligned02:03
pythonirc1012nice raid now shows 5.2T free, thanks02:04
pythonirc1012patdk-lap: is there an easy way to add more drives to the RAID 5 that i just created using mdadm?02:04
patdk-lapyep02:04
pythonirc1012how do i do that?02:04
patdk-lapgoogle :)02:04
pythonirc1012will i have trouble with ext4?02:05
pythonirc1012mdadm --add /dev/md1 /dev/sdj1 ?02:05
twbpythonirc1012: you cannot add drives to a RAID5 or 6 array.02:05
pythonirc1012what happens to the ext4?02:05
patdk-laphttp://ubuntuforums.org/archive/index.php/t-517282.html02:05
patdk-lapnothing02:05
patdk-lapafter the raid is fully grown02:06
patdk-lapthen you grow the fs02:06
patdk-lapso, mdadm --add /dev/md0 /dev/sd??02:07
patdk-lapmdadm --grow /dev/md0 --raid-devices=502:07
patdk-lapresize2fs /dev/md002:07
pythonirc1012nice02:07
pythonirc1012so twb is wrong then?02:07
twbThat is, you can add hot spares, and replacements, but not expand the array's effective size.02:07
patdk-lapyep02:07
patdk-lapsure you can, you have been able to for years02:07
patdk-lapsince like 0502:08
twbpatdk-lap: hmm, maybe that's an md feature02:08
patdk-lapyep we are talking mdadm :)02:08
twbThat rings a bell, actually02:08
twbIn the general case of the RAID5 algorithm, you can't02:08
patdk-lapheh, try to find a raid card that doesn't let you these days :)02:08
twbI expect mdadm does some rebalancing stuff02:08
patdk-lapno idea02:09
pythonirc1012patdk-lap: thanks a lot for all the help today.02:10
pythonirc1012qman__: Thank you as well.02:10
pythonirc1012my raid is almost built 10% now :)02:11
twbpythonirc1012: if you assemble the array with -binternal, it will be have a "write-intent bitmap", which is the RAID equivalent of a journal02:17
twbIt means that after a clean reboot or an unexpected outage, it won't have to resync the entire array (which will take hours for 2TB drives)02:18
patdk-lapit's 10% done after like 30min02:19
patdk-lapI don't think he should worry that much :)02:20
twbShrug02:21
twbIt's more for outages02:21
patdk-lapthat is what ups's are for :)02:21
twbAnd when did you last replace the batteries of yours :-P02:25
patdk-laplast month02:25
patdk-lapcost me $30002:26
twbNice02:26
twbHow many kWa you get for $300?02:27
patdk-lap3kw02:27
patdk-lapbut that is with an extra battery pack02:27
patdk-lapso like 38min runtime full load02:27
twb3 sounds a lot lower than the numbers ISTR02:28
patdk-lapheh?02:28
twbFor a fully populated 19" rack, we were looking at more like $1500 second-hand and $8000 new02:28
pythonirc1012its only done 12.5% now with 512mins remaining , and the speed is down to speed=55533K/sec02:28
twb(Including the device as well as the batteries, but I imagine the batteries are 80% of the cost)02:29
patdk-lapfor a fully populated 19" rack, I have two 5kw's02:29
pythonirc1012perhaps i really need -binternal?02:29
patdk-lappythonirc, if you want, I can't imagine that wouldn't default to that though02:29
twbhttp://paste.debian.net/121340/ are my old notes02:29
twbpatdk-lap: the WI bitmap won't make the initial sync faster02:30
twbSorry, bad completiong02:30
twbpythonirc1012: the WI bitmap won't make the initial sync faster02:30
twbpythonirc1012: it'll just mean that you don't need to do a full resync again02:30
patdk-laplooks like your old notes wanted like a 2kw02:30
pythonirc1012is there a way to add the WI bitmap to a prebuilt/mounted raid ?02:31
twbProbably I confused W with kW02:31
twb(I'm a bit distracted because the financials Windows VM is on its last legs, and it's the EOFY02:31
patdk-lap3000va ups :)02:32
twbIf I have an mdadm array with v1.2 metadata, can I downgrade in place to 1.0 metadata?02:32
twbAlso, what is the latest metadata version supported by hardy (2.6.24)?02:33
patdk-lapI don't think so02:33
patdk-lapI can check hardy02:33
twbplease do, thanks02:33
twbI can just blow away /boot to fix syslinux (which needs >= 1.0), but I don't want to have to blow away the main lvm one :-/02:33
patdk-lap1, 1.0, 1.1, 1.202:34
owen1everytime i ssh to a remote machine i have to type my passphrase. how to automate this?02:35
patdk-lapssh-agent02:35
pythonirc1012owen1: ssh-copy-id02:35
patdk-lappythonirc, copy-id only changes it from a password to a privatekey-password :)02:35
pythonirc1012patdk-lap: doesnt it make it passwordless?02:36
pythonirc1012i just generate a key and copy it around02:36
patdk-lapit makes ssh passwordless02:36
patdk-lapbut ssh has to ask for the privatekey password02:36
patdk-lapit just neversends that password over tcp02:36
pythonirc1012is that bad to use?02:37
patdk-lapno02:37
patdk-lapbut ssh-agent is what he wanted02:37
patdk-lapyou type your password into the agent02:37
patdk-lapthen when ssh needs to use your key file, it already knows the password02:37
owen1patdk-lap: looking into ssh-agent02:37
twbpatdk-lap: fantastic, thanks02:37
pythonirc1012I'm on zoneedit and i've a domain forwarded to a static ip-- what is TTL? Type (A,AAAA,CERT,MX,...)?02:38
patdk-lappythonirc101: BITMAP CHANGES02:39
patdk-lapA write-intent bitmap can be added to, or removed from, an active array. Either internal bitmaps, or bitmaps stored in a separate file can be added. Note that if you add a bitmap stored in a file which is in a filesystem that is on the raid array being affected, the system will deadlock. The bitmap must be on a separate filesystem.02:39
patdk-lappythonirc1012, how long that entry is valid for, till a recheck is required02:39
pythonirc1012patdk-lap: in my case i can easily add that since i've a separate 2TB drive.02:39
pythonirc1012is 7200 a good number for TTL ? which is better smaller or larger?02:40
patdk-lapdepends02:40
patdk-lapif you change it often, smaller02:40
patdk-lapif you don't, larger02:40
patdk-lapI just use 8640002:40
pythonirc1012i dont change it at all02:40
pythonirc1012like past 5 years, it was the same map02:41
patdk-lapmdadm --grow --bitmap=internal /dev/md002:42
twbpatdk-lap: ah, nice, I only ever passed -b to assemble and create02:42
pythonirc1012just that?02:42
twbIn a way, it's a pity mdadm will be subsumed by btrfs02:43
patdk-lapyep02:43
pythonirc1012where is the bitmap stored?02:43
patdk-laptwb, not really, depends on workload02:43
pythonirc1012raid itself?02:43
patdk-lapyep02:43
=== jkakar_ is now known as jkakar
patdk-laptwb, I'm sure over years, people will get used to using btrfs by default though02:43
pythonirc1012patdk-lap: #mdadm --grow --bitmap=internal /dev/md0  --- says --- mdadm: failed to set internal bitmap.02:44
patdk-lapprobably cause your raid isn't built yet02:45
patdk-lapit needs to be stable first02:45
patdk-laptry it tomorrow :)02:45
pythonirc101215% , will try tomorrow, thanks02:45
pythonirc1012patdk-lap: I'm trying to put a new server into my system so that i can take the load off an older machine02:46
patdk-laplooks like it can slow down the raid 10% though, for writes02:46
pythonirc1012i would like to distribute the network load for the http server on these two machines02:46
pythonirc1012the bitmap! that slow?02:46
patdk-lapya02:47
pythonirc1012k, i'll skip it then :002:47
patdk-lapbefore it writes anywhere on the raid, it has to update the bitmap that it is going to02:47
patdk-lapthen when it's done, clear that bitmap02:47
patdk-lapand that bitmap is mirrored on all raid drives02:47
twbpatdk-lap: re 10%, I have seen people saying "no problems here" and people saying "cripples my raid"02:47
patdk-lapI'm going by mdadm's numbers on their doc02:48
patdk-laphttps://raid.wiki.kernel.org/index.php/Write-intent_bitmap02:48
pythonirc1012patdk-lap: perhaps i should make the bitmap on my SSD RAID then?02:48
pythonirc1012how much space does it neeD? a few bits per 512K page?02:48
* twb reads02:48
patdk-lapI imagine that could kill an ssd fast02:48
twbAh, "up to 10%"02:48
patdk-lappythonirc, this only affects you when you pull the power wire out of the server02:49
pythonirc1012patdk-lap: if it does, it goes back to OCZ, with a thank you :)02:49
patdk-lapotherwise the bitmap won't *help*02:49
pythonirc10123 years warranty must count for something02:49
pythonirc1012patdk-lap: I'll skip...my power is pretty stable...once a year i get a power outage.02:49
patdk-lapheh, I've gone 5 years without a power outage02:50
patdk-laptill this year02:50
patdk-lapI couldn't handle a 76hour outage cleanly, stupid people kept tripping the generator breakers02:50
pythonirc1012does this show my real read or write speed :  speed=69614K/sec ? in mdstat?02:50
patdk-lapit shows both02:51
patdk-lapas it's reading+writing at that speed02:51
pythonirc1012is that ok for 4 drives ? 2TB seagates 7200rpms is what i have02:51
patdk-lapis that ok for your cpu? harddrive controller? southbridge?02:51
patdk-lapI assume you plugged them into the motherboard sata that are on the southbridge atleast02:52
pythonirc1012load average:1.33 1.19 1.16 -- shows 8 cores, anything barely being used02:52
pythonirc1012yes, motherboard sata02:52
pythonirc1012Xeon E3 quad core CPU - brand new02:52
patdk-laphmm, mdadm can only use a single core02:52
patdk-lapper md device, I believe02:53
twbpatdk-lap: per array, or total?02:53
twbLike if I have two arrays, can it use one core for each02:53
patdk-laptwb, probably02:53
patdk-lapI haven't checked02:53
patdk-lapbut I know crypto is per device02:53
pythonirc1012md0_raid5 is using 10% of one core02:53
patdk-lapyou looking at top?02:53
pythonirc1012yes02:53
patdk-lapwell, it has to read 3 drives, then write to 402:54
pythonirc1012whats the io for one drive these days?02:54
pythonirc1012how can i measure it easily?02:55
patdk-lapwhat kind drive you have?02:55
patdk-lapnormally it is 70-130mb/s02:55
pythonirc1012how do i measure it on my server easily?02:55
pythonirc1012for a particular directory , say /tmp02:55
patdk-lapheh?02:55
patdk-lapwhat does /tmp have to do with a drive?02:56
qman__you could time a dd02:56
qman__but that has nothing to do with a drive's ability02:56
qman__hdparm -tT to time disk reads02:56
pythonirc1012i've a separate drive on which my /tmp is02:56
patdk-lapif you used green drives, they will be slow02:56
patdk-lapbenchmarks will show them faster, cause well, your accessing them 100% of the time02:57
patdk-lapbut raid doesn't access them 100% of the time, so they keep going to sleep02:57
pythonirc1012 hdparam -tT /dev/sde2 --> Timing cached reads:   24572 MB in  2.00 seconds = 12299.78 MB/sec -- Timing buffered disk reads: 244 MB in  1.86 seconds = 131.41 MB/sec02:57
pythonirc1012if one of the disks is giving me 131Mb/sec, why are 4 giving me 70MB/sec?02:58
patdk-lapyou just tested a single drive read speed02:58
patdk-lapnot the amount of time it takes to read calc raid5 then write02:59
patdk-lapso really atleast cut that 131 in half02:59
pythonirc1012k, what can i expect my read/write speed from raid 5?02:59
qman__raid 5 doesn't really hit on reads so much02:59
qman__just writes02:59
qman__you can hdparm on md? to test02:59
qman__writes are harder to test though03:00
twbbonnie++?03:00
patdk-lapI made a fun write test program03:00
pythonirc1012says 337 MB /sec03:00
patdk-lapwhoa, it's almost dead on03:01
patdk-lapraid5, with 1 dead drive is 20% of full speed03:01
patdk-lapand since your raid isn't built, it basically has 1 dead drive03:01
patdk-lapthat is the horrible thing about raid503:01
patdk-lapif you need performance, and a drive dies, you lost all your performance03:01
pythonirc1012thats fine...i can live with that :) Tomorrow morning, i should start copying data to it :)03:02
pythonirc1012need to configure apache now...03:03
twbIs it "rootdelay=60" to make boot process not wait ten minutes for a root device it can't find?03:03
patdk-lapI thought that wuld wait 60seconds03:05
patdk-lapbut basic idea03:05
pythonirc1012when i say mymachine.com/~user -- why does  apache try to read the data from /var/www/~user instead of ~user/public_html? how can i configure it to do the usual?03:05
patdk-lapcause you didn't tell apache to use userdir's03:07
pythonirc1012patdk-lap: looking it up, thanks03:08
pythonirc1012patdk-lap: will this work: http://www.w3expert.com/2011/05/enable-userdir-in-appache-in-ubuntu.html ?03:11
pythonirc1012how do i move my home directory from /home/user to /raid/user?03:17
pythonirc1012sudo usermod -d /path/to/new/home -m ----> Is this how?03:18
twbWell, *I* do vipw and vipw -s, or sudo ldapmodify -YEXTERNAL03:19
twbre apache, you need to enable the userdir module03:19
pythonirc1012twb: found the command for that...thanks03:19
pythonirc1012i need to move my home directory from one place to the other03:20
twbIMO you're better off doing something like /home -> raid/home03:21
pythonirc1012sudo usermod --home /raid/user -m user -- says user is logged in...03:21
pythonirc1012twb: how do i do this?03:21
pythonirc1012i dont like symbolic links03:21
twbI can't help what you do and don't like03:22
twbUse a bind mount if that makes you feel better03:22
pythonirc1012ok how do i execute my command sudo usermod --home /raid/user -m user -- says user is logged in...03:23
pythonirc1012i've only one user on the system03:23
pythonirc1012can i just edit /etc/passwd and point it to /raid/user?03:25
twbpythonirc1012: sure03:32
twbI'm just saying I wouldn't do it that way03:32
pythonirc1012twb: do you know how to avoid this problem : sudo usermod --home /raid/user -m user -- says user is logged in...03:33
twbvipw03:34
pythonirc1012i dont understand, what does that have to do with sudo usermod?03:35
twbEr, you use it03:35
twbInstead of usermod03:35
pythonirc1012does that command only edit /etc/passwd?03:36
twbYes.03:36
twbI assume you're smart enough to manage the associated mv(1) on your own03:36
pythonirc1012twb: thanks03:45
twbShit, my collectd hub is OOMing03:54
twbAh, an inadvertent forkbomb03:55
overrider_i installed a simple gui (fluxbox) and slim as the login manager. Unfortunately, slim seems to hang my box (10.04) when booting. Booting into safe Mode and uninstalling Slim fixes all issues. Any ideas?04:12
twbDon't run slim, I guess04:15
twbWhile we discourage GUIs on servers, if you simply must have one, try nodm or xdm instead04:15
twbIt's probably a badly-written upstart job for slim, but I don't care enough to investigate04:16
pythonirc1011where is this stored in ubuntu+apache2 => http://paste.pocoo.org/show/423126/ ?04:24
twbIt's probably generated by apache from strings built into its binary04:56
pythonirc1011ah ok04:56
twbapache stuff might better be addressed to #httpd04:56
twb(Which is a channel just for "apache httpd", which they just call "httpd" because apache has lots of other projects and "what do you mean there are other httpds?").04:57
pythonirc1011http://serverfault.com/questions/91468/how-to-set-up-mod-wsgi-for-python-on-ubuntu -- gives me permission denied for test.wsgi05:09
pythonirc1011any ideas on how to fix that?05:09
pythonirc1011got it to work, thanks :)05:12
twbI'm surprised you need a dance that long05:14
twbMost third-party mod packages will by default set up sensible configuration and enable it in the postinst05:14
twbe.g. mod-fcgid05:14
twbIs the script file marked executable?05:15
pythonirc1011its working, thanks05:16
=== Jasonn is now known as JasonnAWAY
philipballewIf I wanted to Configure my computer's local lan ethernet address to 192.168.1.100, subnet 255.255.255.0, gateway 192.168.1.1 how would i do that?06:18
twbGrr06:19
twbStupid customers, blocking ICMP...06:19
twbphilipballew: "ip link set dev eth0 up", "ip address add dev eth0 brd + 192.168.1.100/24" and "ip route add 0/0 via 192.168.1.1"06:19
philipballewtwb im gonna flash ddwrt tonight and thats what it asked me to do :)06:21
twbI recommend OpenWRT over DD-WRT; AFAICT the latter doesn't have any package management.06:22
philipballewhow so?06:22
twbWell, suppose you want asterisk on your router.  On openwrt, that would be "opkg install asterisk" and it'll download and install it06:22
twbWhereas IIUC ddwrt provides you a fixed set of packages, and if you want something else, that's too bad06:22
philipballewit is cli only correct?06:25
philipballewthats fine with me06:25
twbSome releases ship with a web UI preinstalled, but you can always uninstall or reinstall it06:31
twbIt's also relatively easy to roll custom binaries with the packages you want pre-installed -- about as hard as rolling a custom kernel.06:31
philipballewis it harder to install compared to ddwrt?06:32
twbI haven't tried with ddwrt06:32
twbMy knowledge of DD-WRT is all second-hand06:32
philipballewno worries. i just bought a router for 3 bucks today and feel stock formware is to limiting for my network i want to build06:33
twbI wouldn't deploy a router with stock firmware.06:35
twbNot unless you needed onboard DSL modem (FOSS distros generally can't use DSL chipsets yet)06:36
philipballewcustiom firmware saves money to06:37
twbShrug07:01
twbif you're paying a service fee for firmware updates you are probably in a different market segment07:02
philipballewwho would pay for firmware updates? that should be standard twb07:04
twbthen what are you referring to?07:05
twb(And re who, both I and I believe cisco charge for firmware updates.)07:05
acidflashhi everyone07:31
acidflashi have a file which has mysteriously been deleted 3 times from the /root/ directory of my server07:31
acidflashthis is the only computer which its happening on, and its a clone of 9 others which are working perfectly07:31
acidflashwhat might the cause be?07:31
twbSomeone deleting it07:42
twbWhat file07:42
amelinwhat do you mean with "mysteriously been deleted" ?07:47
* twb pictures Scooby Doo investigating08:01
smosermdeslaur, http://paste.ubuntu.com/634893/10:12
smoseri can't seem to cnovince dnsmasq other than the libvirt one to run10:12
smoser(telling it explicitly to only listen on lo)10:13
mdeslaursmoser: darn :(10:14
mdeslaursmoser: are you sure it's actually reading that config file? how about specifying it explicitly on the command line?10:15
smosermdeslaur, woot! http://paste.ubuntu.com/634897/10:22
smoserbind-interfaces is what you need.10:22
lolmatichi guys10:23
mdeslaursmoser: well, it started, but will it give out dhcp addresses if you use bind-interfaces with an empty list10:23
mdeslaur?10:23
smoserread man page10:23
smoseri thought it expected a list there too10:24
lolmatici have no sound in diablo 2 and it crashes with "halt - unrecoverable error blah blah"10:24
smoserbut it does not.10:24
mdeslaursmoser: oh! right, cool10:24
lolmaticoops wrong channel :X10:25
smoserhttp://paste.ubuntu.com/634898/10:25
smosermdeslaur, there is little snippit with verification of it working10:25
smoser(fyi, half o f my discussion here is just so i can document it for myself)10:26
mdeslaurcool10:27
kirklandRoAkSoAx: ping11:24
uvirtbotNew bug: #803384 in openbsd-inetd (main) "Pleaes merge openbsd-inetd 0.20091229-1 (main) from Debain unstable (main)" [Undecided,New] https://launchpad.net/bugs/80338411:32
=== koolhead11|afk is now known as koolhead11
smoseradam_g, http://paste.ubuntu.com/634945/11:51
DMKitschhello all11:59
DMKitschmay somebody please help me with my apache2 server, i have tried password protecting them but it does not work11:59
remix_tjDMKitsch: password protecting?12:04
remix_tjwhat do you mean?12:04
DMKitschsorry, um adding a password to a specific URL12:15
DMKitschto a directory remix_tj12:16
koolhead11DMKitsch, https://help.ubuntu.com/community/ApacheMySQLPHP#Password-Protect%20a%20Directory12:17
koolhead11hope this is what your looking for12:17
remix_tjyes, is exactly what he needs- DMKitsch this is an example of .htaccess to protect the directory where is in: http://paste.ubuntu.com/634954/12:18
DMKitschok12:20
koolhead11i would strongly request to check ubuntu community documentation rather than popping up here and asking these questions. :)12:20
DMKitschi added a .htaccess12:20
DMKitschalso a .htpasswd12:20
koolhead11DMKitsch, please check the ownership as well12:20
DMKitschi found i had to add the AllowOverride All to the Sites Available document, not the httpd.conf12:21
DMKitschbut i am getting a Internal server error12:21
koolhead11please check the logfile12:22
DMKitschwhich is located where?12:22
koolhead11tail -f /var/log/apache2/error.log12:23
DMKitschok12:23
DMKitschwhoops that seems to have shown an error of mine12:24
DMKitschlet me see if this fixes it, one second12:24
DMKitschok i do not get an internal server error now12:27
DMKitschbut no login box is coming up12:28
jbernardhallyn: on bug 693594, sorry for the delay, I'll take a look today and let you know12:37
uvirtbotLaunchpad bug 693594 in libcgroup "cgroup-bin should not move kthreadd into a default cgroup" [High,Confirmed] https://launchpad.net/bugs/69359412:37
DMKitschwhy is chat always so quiet with so many people on12:55
xampartDMKitsch: no one's having problems12:57
xroHi, is there a reference tutorial about security and apache server on ubuntu server 11.04 64bits ?12:58
DMKitschi was, luckily i fixed it12:58
DMKitschhey13:11
DMKitschwhat do you guys like using as a web editor13:11
DMKitschGUI and CMD13:11
DMKitschCLU*13:11
DMKitschhi/13:14
DMKitsch?13:14
greppyDMKitsch: I pretty much use vi(m) if at all possible for any editing.13:20
DMKitschah cool13:20
DMKitschdoes it have syntax highlighting?13:20
PiciYes. And more.13:22
greppyvim does :) stock vi on a lot of systems won't13:25
Klavieri installed ubuntu server last version 64 bit. i activated serial ata drivers, i installed grub to MBR,13:39
Klavierbut system didnt opened13:39
Klavierinstallation finished successfuly than system reboot but i cant see grub13:39
Klavier:o(((((13:39
Klaviersir or madams13:40
xronobody knows a good tuto about secure apache on ubuntu server?13:41
amelinKlavier: how did you install it? via CD or USB ?13:54
jamespageRoAkSoAx: hey  - are you OK to sponsor a few NEW uploads for me?13:55
Klavieramelin i installed with DVD14:00
Klaviersorry CD14:00
amelinokay, so i guess you should check in the bios the boot order to see if it trys to boot from your disk, if it does you maybe need an livecd to check if the disk has the data, does the boot shows any error message?14:03
=== rsaidan is now known as nerens
adam_ghggdh: test rig free?14:13
hggdhadam_g: yes (but check with zul)14:13
adam_ghggdh: he's readin facebook14:16
hggdhoh. throw something at him (the heavier the better)14:16
hggdhadam_g: you should copy /home/cerdea/preseeds over to your account on tamarind14:17
hggdhI updated it to solve the hard link issue with bsdtar14:17
neo21_hi everyone14:19
RoAkSoAxjamespage surething... have the packages been divided already  between the sponsors?14:20
adam_ghggdh: cool. thanks14:25
DMKitschhi anybody used AWstats?14:32
pmatulisDMKitsch: is that your main question?14:37
DMKitschno14:41
DMKitsch<pmatulis> can i use it with no URL?14:41
RoAkSoAxTREllis: ping14:42
DMKitsch<pmatulis> and i am having a few problems using it, i'm new to linux14:42
TREllisRoAkSoAx: howdy, I see you patched koan for grub2 --replace-self option14:43
RoAkSoAxTREllis: hehe could you see if bug #760019 still applies?14:44
uvirtbotLaunchpad bug 760019 in cobbler "A profile's --kopts-post option does not work" [Low,Confirmed] https://launchpad.net/bugs/76001914:44
Ursinha_nhandler: hi, can I have a ubuntu/member cloak, please? :)14:45
DMKitschanybody mind talking through how to set up AWstat, I have no file to load in my WWW directory?14:45
TREllisRoAkSoAx: did you patch that out too?14:45
=== Ursinha_ is now known as Ursinha
RoAkSoAxTREllis: nope, just want to know the effect now that grub2 has been added as support14:49
pmatulisDMKitsch: did you use google?  first hit for 'awstats ubuntu': https://help.ubuntu.com/community/AWStats14:49
RoAkSoAxTREllis: cause I'd be helpful to see a way to reproduce it, and the error shown in the bug report14:50
DMKitschpmatulis yes i did but there is no link in my www to goto the stats14:50
TREllisRoAkSoAx: ah ok14:51
TREllisRoAkSoAx: not got a setup at the moment, our lab is busy14:52
RoAkSoAxTREllis: k no worries.. have to work on other stuff atm either way ;)14:52
jpdsDMKitsch: Open file://var/www/ in Firefox?14:53
xroHi, Is there a tutorial about secure apache on ubuntu server?14:54
TREllisRoAkSoAx: I'll check it out for sure tho14:54
jamespageRoAkSoAx: top three in the list are free still - just checked with zul (and I can't find Daviey)14:54
jpdsxro: #define secure14:54
jamespageRoAkSoAx: thx14:54
DMKitschjpds no that does not work14:55
RoAkSoAxjamespage: k i'll take care of them then14:56
jamespageRoAkSoAx: ta14:56
jpdsDMKitsch: well, replace for whevever the awstats output is.14:56
xrojpds, there should exist some tutorial about right apache configuration...14:56
jpdsxro: Well, that depends on what 'right' for you is.14:57
jpdsxro: https://help.ubuntu.com/10.04/serverguide/C/httpd.html ?14:57
DMKitschjpds i am confused14:57
neo21_someone got lighttpd + fastcgi running on 10.04.2?14:59
xrojpds, that is basic configuration... i think about security.. for example should i chroot apache and how? should i desactivate default site? what is the right way to restrict access?15:02
xrowhat should the file permissions be?15:04
uvirtbotNew bug: #803464 in squid (main) "package squid 2.7.STABLE9-2ubuntu5.1 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1" [Undecided,New] https://launchpad.net/bugs/80346415:07
pmatulisxro: you're going specific apache on us.  it's not really a ubuntu subject anymore15:12
pmatulisxro: i see you're in #apache, no luck there i guess?15:13
xropmatulis, so should i unactivate the default site in apache? (i asked it in #httpd and they said ask in #ubunt)15:13
jimmy51_i've installed ntp (apt-get install ntp) but running ntpdate says no servers can be used.  is this a firewall problem?15:14
pythonirc101I would like to make /dev/sde1 bootable and its boot record populated with grub. How can i do this. Seems like the boot was sitting somewhere else and i formatted this drive.15:30
pythonirc101I dropped inside using rescue mode15:30
pythonirc101seems like i broke my system, anyone can help me fix it please?15:35
pmatulishttps://help.ubuntu.com/community/Grub215:38
pmatulispythonirc101: ⤴15:38
pythonirc101pmatulis: my problem is this...15:39
pythonirc101I had a working system with a fake raid /dev/sdiasad and another drive /dev/sde15:40
pythonirc101i removed the fake raid, and it seems that my MBR or something else was sitting there, because of which now the machine wont boot15:40
pythonirc101I used the rescue CD to drop into the file system in /dev/sde1 and it looks fine15:40
pythonirc101how can i boot back using /dev/sde?15:41
pythonirc101the other problem is that i dont have network on this machine without booting into /dev/sde15:41
pythonirc101pmatulis: any ideas?15:44
pmatulispythonirc101: try re-installing grub on sde i guess.  fakeraid is always troublesome15:45
pythonirc101pmatulis: how can i do this?15:45
pythonirc101the only way i can get inside the system is in rescue mode15:46
pmatulispythonirc101: did you read the doc i gave you?15:46
=== smb` is now known as smb
pythonirc101nope -- reading it slowly...its a long document -- very long -- can  i jump to reinstalling grub2?15:46
pmatulispythonirc101: i guess.  what does this server do for you anyway?15:47
pythonirc101just instaling the OS15:51
pmatulispythonirc101: huh?  is the server in production?15:51
pythonirc101when i drop to install grub using the installer disc, it says No modifications can be made to the partition #3 of device SCSI6 for the reason: In use by LVM volume group jule15:51
pythonirc101no -- i need to get it in production at some point soon15:52
pythonirc101and i crashed it today15:52
pmatulispythonirc101: so just re-install15:52
pythonirc101I've a RAID built at /dev/md015:52
pythonirc101i had network and web server configured15:52
pythonirc101will sticking in a line in /etc/fstab -- /dev/md0 mount as /raid -- still work? Or do i have to rebuild the raid using mdadm?15:53
pmatulispythonirc101: so?  copy some files onto an external media and re-install15:53
pythonirc101i cud do that15:53
pythonirc101if i can find external media that is15:54
pmatulispythonirc101: and make sure all traces of fakeraid is gone and disabled in BIOS15:54
pythonirc101already done15:55
pythonirc101when i try to mount the raid from the rescue shell: mount: special device /dev/md0 does not exist. Is there any way to mount it?16:03
pythonirc101pmatulis: mdadm --details /dev/md0 -- cannot open : No such file or directory16:05
pmatulispythonirc101: are you using lvm?16:06
pythonirc101on md0 -- just raid 516:07
pythonirc101and ext416:07
pythonirc101on sde -- my os disk -- yes lvm -- seems like ubuntu uses it by default16:07
pythonirc101pmatulis: if i reinstall my os on sde -- do i have to recreate the raid 5 ? or can i just add a line in /etc/fstab and mount  it?16:08
pmatulispythonirc101: you'll have to redo everything16:09
pythonirc101my raid5 is gone with all its data?16:09
pythonirc101??16:09
pythonirc101pmatulis: dont tell me my intact raid is gone because my OS disk got corrupt?16:10
pmatulispythonirc101: you would do best to explain your entire setup.  i may not understand it completely16:12
pythonirc101pmatulis: i've sde == 1 OS drive == which croaked16:12
smbzul, I opened https://bugs.launchpad.net/ubuntu/+source/xen-common/+bug/803488 for getting blkback and netback started. Adding the modprobes to the initscript seemed to do the right thing.16:12
uvirtbotLaunchpad bug 803488 in xen-common "[Oneiric] Load xen_blkback and xen_netback on startup" [Wishlist,Triaged]16:12
pythonirc101I've 4 RAID 5 drives built using mdadm : /dev/md016:12
pythonirc101Right now I'm reinstalling the OS on the croaked drive /dev/sde16:12
pmatulispythonirc101: what is on sd[a-d] ?16:13
pythonirc1014 40GB drives that were on fakeraid...and have no data on them16:13
pythonirc101i formatted them, and hell broke loose16:13
pythonirc101i've no clue why16:13
pythonirc101actually my os drive hasnt croaked...i just formatted those 40GB drives and removed the fakeraid16:14
pmatulispythonirc101: you have 10 drives in total?16:14
pythonirc101and my box wont boot16:14
pythonirc101yes16:14
pythonirc1019 actually16:14
pythonirc1014+1+416:14
pmatulisright16:14
pmatulispythonirc101: did you remove the metadata from those drives via the BIOS?16:15
pythonirc101what metadata? I just removed the fakeraid setting and formatted them16:16
pythonirc101they are now visible to ubuntu as separate drives16:16
pmatulispythonirc101: so, yes, you should be able to import the array16:17
pythonirc101thanks16:17
pythonirc101at least its a good test run -- if the OS drive croaks, the raid survives16:18
pmatulispythonirc101: ok, good luck and please report back.  for importing array, investigate 'mdadm --assemble'16:19
RoAkSoAxjamespage: would you like me to do the uploads now or would you like to wait until some of the dependencies are in the archives?16:21
pythonirc101pmatulis: how do i get rid of these LVM Partitions on /dev/sde?16:22
jamespageRoAkSoAx: upload now; they will sort themselves out as soon as the deps are in the archive (discussed with zul)16:22
pmatulispythonirc101: are you in the installer now?16:22
pythonirc101yes16:22
pmatulispythonirc101: 'Configure Logical Volume Manager'16:23
pythonirc101I tried to erase the data on the LVM Partition -- but it takes too much time16:23
RoAkSoAxjamespage: k gonna add your PPA to my  pbuilder, test builds, and upload then16:23
jamespageRoAkSoAx: great - thankyou16:23
pythonirc101pmatulis: removed the logical paritions, now how do i partition /dev/sde?  it seems it still shows 1MB for biosgrub, 256MB ext2 and 2TB LVM16:25
uvirtbotNew bug: #803493 in clamav (main) "package clamav-base 0.95.3 dfsg-1ubuntu0.09.10.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 128" [Undecided,New] https://launchpad.net/bugs/80349316:26
pythonirc101pmatulis: was able to clean up /dev/sde16:26
RoAkSoAxjamespage: JAMES PAGE!!! (it's done btw)16:58
jamespageRoAkSoAx: thankyou!16:59
RoAkSoAxyw16:59
evilsushianyone using daemontools to monitor a service? could you paste your conf i could use an example.17:00
uvirtbotNew bug: #803520 in clamav (main) "clamd crash at startup ( segfault in libclamav.so.6.1.7 )" [Undecided,New] https://launchpad.net/bugs/80352017:21
smoserRoAkSoAx, around ?17:30
RoAkSoAxsmoser: yes17:31
smoserhttp://paste.ubuntu.com/635163/17:31
smoserany ideas what i did wrong there?17:31
RoAkSoAxsmoser: try: sudo cobbler import --name=natty-i386-mini --path=/mnt --breed=ubuntu --os-version=natty --arc=i38617:32
RoAkSoAxnote that I use the '='17:32
RoAkSoAxsmoser: is that in natty or oneiric btw?17:33
pythonirc101I've installed my ubuntu server on /dev/sde and i had a RAID 5 created on /dev/sdf1 -- /dev/sdi1. When I try to reassemble, I get mdadm: cannot open device /dev/sdf1: Device or resource busy \n mdadm: /dev/sdf1 has no superblock - assembly aborted17:34
pythonirc101any idea how to fix this?17:34
smoserRoAkSoAx, natty17:35
RoAkSoAxsmoser: what cobbler package do you have installed? latest?17:35
smoserhttp://paste.ubuntu.com/635169/17:38
smoserRoAkSoAx,17:38
smoserhttp://paste.ubuntu.com/635170/17:39
RoAkSoAxsmoser: ok, let me track it down cause this was supposed to be fixed in natty already17:39
RoAkSoAxsmoser: ok the import is successful, but it fails to create the repositories17:40
koolhead11RoAkSoAx, it worked 4 me without any error17:40
smoserRoAkSoAx, what does that mean for me?17:40
RoAkSoAxkoolhead11: I just tested and there's an error17:40
smoserthe repositories...17:40
smoserthis is a mini iso17:40
smoserfollowing https://help.ubuntu.com/community/Cobbler/Import17:40
koolhead11smoser, ooh. i have not checked mini ISO17:41
RoAkSoAxsmoser: that the import of the ISO is ok, but when importing a mini iso, since it doesn't ship any *.deb, then it creates the concept of "repositories" that are disabled. Don't worry about them though.17:41
smoserRoAkSoAx, so you think that i should be able to deploy from it?17:41
RoAkSoAxsmoser: yes, but you need to add a preseed first17:42
RoAkSoAxsmoser: that particular error wasn't really fixed in natty, but it is in oneiric17:43
RoAkSoAxsmoser: but the import doesn't fail17:43
smoserRoAkSoAx, thanks.17:43
RoAkSoAxsmoser: sudo cobbler report -> should show you the distro and profile added17:43
smoseryes it does17:44
RoAkSoAxsmoser: are you deploying with koan or PXE booting?17:45
pmatulispythonirc101: any luck?17:49
=== koolhead11 is now known as koolhead11|afk
pythonirc101pmatulis: http://paste.pocoo.org/show/423768/ and then http://paste.pocoo.org/show/423775/17:51
tiredddddfor I in {1..1000000}; do dd if=/dev/urandom of=/dev sda; done     (will this make impossible recover data)17:53
smoserRoAkSoAx, the goal is to do pxe booting17:54
RoAkSoAxsmoser: Ok, you guys will need to configure the router (or dhcp server) that the PXE server is the cobbler server17:56
RoAkSoAxsmoser: and, if you looking into deploying with koan, i'd recommend you to install virtinst from ppa:ubuntu-virt/ppa17:56
smoserRoAkSoAx, right.18:06
jimmy51_i'm having trouble getting kerberos to work to connect to my AD domain controller. i've installed kerberos, added my realm info, sync'd my servers with NTP, but i still get errors when i run kinit, or i get nothing at all.18:13
jimmy51_kinit: KDC reply did not match expectations while getting initial credentials18:13
jimmy51_i can ping my FQDN of the DC and i've checked the case sensitivity in my conf file.18:14
jimmy51_i'm not even seeing a log file to work with18:16
=== JasonnAWAY is now known as Jasonn
uvirtbotNew bug: #803554 in multipath-tools (main) "upgrading to multipath 0.4.9 presents incompatible config file changes" [Undecided,Confirmed] https://launchpad.net/bugs/80355418:26
muszekhi... some time ago (a year, more or less), ubuntu started asking me a password to my "password wallet" (or whatever it is) whenever I connect to another computer via ssh.  I used key-based authentication before and having to type in my pass bugs me a bit... is there any way to "fix" it?18:36
jimmy51_1kerberos18:41
jimmy51_!kerberos18:41
jimmy51_!info kerberos18:41
ubottuPackage kerberos does not exist in natty18:41
jimmy51_!info krb518:41
ubottuPackage krb5 does not exist in natty18:41
jimmy51_!info kerberos does not work at all for me!18:42
ubottu'does' is not a valid distribution: hardy, hardy-backports, hardy-proposed, kubuntu-backports, kubuntu-experimental, kubuntu-updates, lucid, lucid-backports, lucid-proposed, maverick, maverick-backports, maverick-proposed, medibuntu, natty, natty-backports, natty-proposed, oneiric, oneiric-backports, oneiric-proposed, partner, stable, testing, unstable18:42
pmatulis!find krb518:42
ubottuFound: krb5-config, libpam-krb5, freeradius-krb5, gosa-plugin-mit-krb5, gosa-plugin-mit-krb5-schema, krb5-auth-dialog, krb5-clients, krb5-ftpd, krb5-rsh-server, krb5-telnetd (and 26 others) http://packages.ubuntu.com/search?keywords=krb5&searchon=names&suite=natty&section=all18:42
uvirtbotNew bug: #803577 in postfix (main) "package postfix 2.8.2-1ubuntu2.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 75" [Undecided,New] https://launchpad.net/bugs/80357719:02
mecodecan anyone help me with a basic question? i created a group "developers" and i added a user "john" to the group. I then changed the /var/www to be of group "developers". however, john still can't write to the files. I even did "chmod -R 775 www" to the directory, but still no writing ability for john.19:31
chieffancypantsmecode: has john logged out since becoming a member of the group developers?19:35
mecodechieffancypants: that'll do it thanks ! what chmod do i use if they need access? is 775 too loose?19:36
chieffancypants774 is likely better19:39
tsimpsonprobably not a good idea to have all files executable too19:42
tsimpson*to not19:42
tsimpsonno, I was right the first time :)19:42
pythonirc101I created /dev/md1, i mounted it on /dev/raid1 , i rebooted...it showed me that there was some trouble with /dev/raid1 mounting...and now when i try to mount it manually, it says /dev/md1 does not exist20:12
pythonirc101any ideas what i did wrong? Its a raid 0 with 4 40gig drives20:12
pythonirc101I created a /dev/md1 -- raid 0 -- 4 drives...when i rebooted, it showed me a warning and now it mounted it on /dev/md127 instead of /dev/md1 -- anyone knows what i'm doing wrong and how to fix this?20:24
=== Jasonn is now known as JasonnAWAY
=== JasonnAWAY is now known as Jasonn
pythonirc101anyone understands mdadm/mkconf here? I've a uuid mismatch that i want to figure out20:59
pythonirc101anyone using mdadm/mkconf here?21:10
=== Jasonn is now known as JasonnAWAY
bsg_kwolfI'm trying to host a couple packages in a local repo, and I'm having trouble adding the repo to sources.list (via http).  Apache is configured and serving up the files fine, but I'm not sure if I can do this over http w/o some type of structure in the directory.21:14
bsg_kwolfI added to sources.list with "deb http://slam.backstoptest/local  /.", but I'm getting an error when when I run aptitude update of "E: Malformed line 67 in source list /etc/apt/sources.list (dist parse)"21:15
bsg_kwolfDo I need a specific structure to host it over http?21:15
uvirtbotNew bug: #798934 in lm-sensors (universe) "Lm-sensors's init script sets an unused variable" [Undecided,New] https://launchpad.net/bugs/79893421:16
=== JasonnAWAY is now known as Jasonn
genii-aroundbsg_kwolf: syntax is url dist repo        like ubuntu.com dapper main21:21
bsg_kwolfok, apt-get update gave me a better error message.21:23
bsg_kwolfAfter I changed the sources.list.21:24
bsg_kwolfW: Failed to fetch http://slam.backstoptest/local/dists/natty/main/binary-amd64/Packages  404  Not Found21:24
bsg_kwolfIs there an easy way to just serve a few newer packages from there, or do I need to create the proper directory structure?21:24
genii-aroundbsg_kwolf: You do need a fairly specific hierarchy, plus package lists and checksums, etc. Maybe look at http://wiki.freegeek.org/index.php/Debian_Package_Repositories21:27
bsg_kwolfOK.  thanks.21:27
* genii-around misses Seveas' Falcon package21:27
=== cloakable_ is now known as cloakable
=== med_out is now known as medberry
uvirtbotNew bug: #803655 in bacula (main) "package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1" [Undecided,New] https://launchpad.net/bugs/80365522:51
mtaylorzomg. why has making a grub menu.lst file gotten so weird?23:01
mtaylorwhat the heck do I run to re-generate menu.lst if I edit /etc/default/grub?23:01
JasonnI am getting this error: iptables service not started because of error (SVC_RUN_EXCEPT)23:29
Jasonnmtaylor: Find another menu.lst file online?23:29
uvirtbotNew bug: #803679 in bind9 (main) "package dnsutils 1:9.7.3.dfsg-1ubuntu2 failed to install/upgrade: corrupted filesystem tarfile - corrupted package archive" [Undecided,Invalid] https://launchpad.net/bugs/80367923:42

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