[00:32] <EDocToor> How do I create a group called 'nobody' ;;; when I type sudo chown -hR root:nobody /pub ;;; Error chown: invalid group: 'root:nobody'
[00:34] <sarnold> EDocToor: if you want the files to be readable only by root, then root:root would be a better choice
[00:35] <EDocToor> I am creating a : nobody for my samba to access one directory on my lan
[00:35] <EDocToor> can a group nobody be created
[00:35] <sarnold> better would be to create a group with a more descriptive name :) who will use it?
[00:36] <EDocToor> as this tutorial assumes that I have knownledge
[00:36] <EDocToor> https://calomel.org/samba.html
[00:37] <EDocToor> is it addgroup?
[00:38] <sarnold> "The windows machines are going to access samba shares as the "nobody" user." *sigh*
[00:38] <sarnold> I'd find a better guide
[00:38] <EDocToor> LOL
[00:39] <sarnold> hrm, I thought for sure I had a nice long description on stackoverflow of something horribly stupd on that page, but google isn't finding it for me. thanks goog.
[00:39] <EDocToor> I love stackoverflow
[00:39] <EDocToor> I am edoctoor there as well
[00:40] <EDocToor> I created a script for adding a bot to a channel
[00:40] <EDocToor> using windows
[00:43] <EDocToor> Ok, when I search pages I get a lot of samba4 info... do you have a better tutorial or are you going to tell me the stupid part to avoid
[00:44] <EDocToor> PLEASE... oops forgot to nod my head and ask politely
[00:45] <sarnold> EDocToor: samba4 isn't yet in main, I'd suggest avoiding it for the time being. Obviously you're welcome to use it and file bugs :) but it probably won't be as reliable as samba3-based packages
[00:45] <sarnold> EDocToor: I don't know a better guide, but feel free to run away from just about anything that ever suggests you to use the 'nobody' user or 'nobody' group for anything. they're almost certainly wrong. :)
[00:45] <EDocToor> Yes, I have read about the END LESS loop of errors that follows samba4
[00:46] <sarnold> EDocToor: you can probably create a new group for this use, 'windows' or 'shared' or something..
[00:46] <EDocToor> and how would I do that Master
[00:47] <EDocToor> addgroup shared
[00:47] <sarnold> EDocToor: I think that's fine..
[00:48] <EDocToor> I typed addgroup --help and none of it makes any sense as I am not knownledgeable with the terms
[00:48] <EDocToor> Awesome..
[01:01] <sarnold> EDocToor: don't forget 'man addgroup' -- manpages often have examples and better descriptions of options...
[01:15] <EDocToor> sarnold, I am so glad that you mentioned that... I so forgot about the man manuals... thanks
[01:16] <sarnold> EDocToor: man -k is also wonderful, it'll search the manpage names and short descriptions to find relevant manpages -- try man -k compression for a good example :)
[01:21] <EDocToor> YES... this is exactly the tools I need... and I forgot that it was there... now when someone says "RTFM" I will know where the manual is.. I was to embarrassed to ask after such a comment
[01:26] <EDocToor> awesome so -k is like an peek to the subtitles so that you have // I have an Idea if I am opening the right manual... awesome tip...
[02:59] <EDocToor> Help: I wanted to create a backup root admin user called lets say 'cow' just incase I did something stupid like lock out my default root user.. I don't want to reinstall my whole server because I am learning passwd and chgpasswd commands... ::: That known; can anyone here assist me into creating a root level secondary user .. I have don't some reading.. but I almost locked myself out.. as described.. and would rather how to do it
[02:59] <EDocToor>  ... then be here asking how to fix my admin mistakes
[03:00] <EDocToor> what I have done so far
[03:01] <EDocToor> adduser --system cow
[03:01] <EDocToor> adduser cow sudo
[03:01] <EDocToor> but when I reboot and login with cow
[03:01] <EDocToor> and give password
[03:02] <EDocToor> the screen flickers and returns to the LOGIN screen
[03:02] <EDocToor> could it be because cow doesn't have an non-admin login set
[03:03] <bradm> EDocToor: you told it to create a user with shell /bin/false when you used the --system option, so what you're describing is expected behaviour
[03:03] <bradm> EDocToor: if you type getent passwd cow as another user you should see the shell is /bin/false
[03:03] <EDocToor> bradm, arrrrrrrrrgh...
[03:03] <EDocToor> k
[03:04] <bradm> EDocToor: something like usermod -s /bin/bash cow should change its shell
[03:04] <EDocToor> Exactly
[03:07] <EDocToor> bradm, ok done.. now when I type 'getent passwd cow' it shows /home/cow:/bin/bash
[03:08] <EDocToor> can I reboot now and test?
[03:08] <bradm> EDocToor: great - you should be able to login now
[03:09] <EDocToor> Thanks.. I was afraid to do anything.. ;;; I really apreacate it ... and I have locked myself out before.. not kidding
[03:09] <EDocToor> have a great /day/night/afternoon
[03:09] <EDocToor> depending where you are
[03:10] <bradm> no worries, you too
[03:13] <EDocToor> OMG.. your awesome bradm ... that worked as expected.....
[03:15] <bradm> good to hear.
[03:15] <EDocToor> one more.. before I get back at it... say I am logged in as root user 'cat' can I set the 'passwd cow' ?
[03:16] <bradm> when you say root user, what do you mean?
[03:16] <bradm> its a user who can sudo?
[03:16] <EDocToor> has admin right
[03:16] <EDocToor> yes
[03:16] <bradm> sudo passwd cow
[03:18] <EDocToor> Time to go and play... thanks again everyone...
[03:31] <mop> I have an 'unkown TCP' process run by root on nethogs. Should I be worried?
[03:34] <mop> also nethogs seems to get like 15% of cpu usage
[07:24] <pii3> Hi
[07:24] <pii3> i want to setup ubuntu as a gateway and capture all traffics passing from my gateway and Log them all for on year
[07:25] <pii3> i need to log all URL in http and https and for other protocols just source and destination address
[08:18] <byprdct> Hey guys what do I use if I want to use a password instead of a identityfile in my .ssh/config file?
[08:18] <byprdct> I tried Password but doesnt work
[08:55] <exnntech> Looking for multiple IP help
[08:56] <exnntech> Hey
[08:56] <exnntech> Won't lie, this channel is a bit dead
[08:59] <soren> byprdct: You can't. Also, why would you do that?
[09:01] <Daviey> byprdct: What are you trying to achieve ?
[09:01] <Daviey> exnntech: multiple IP help?
[09:02] <exnntech> Need Ubuntu server to have ip's 66.45.***.*** and 176.***.***.**
[09:03] <exnntech> Any idea how?
[09:05] <greppy> exnntech: edit /etc/network/interfaces
[09:05] <greppy> if you need more info 'man interfaces'
[09:06] <exnntech> Cheers, only used this for a week so bit of a noob
[09:13] <exnntech> Still don't know what I'm doing :P
[09:23] <exnntech> ..
[13:12] <jcastro> utlemming: we don't have any doc pages on vagrant do we?
[13:12] <jcastro> like workflows, etc.
[14:14] <girl> hi
[14:14] <girl> this is a good site of shoping
[14:14] <girl> http://team-browser.com/
[14:14] <girl> card visa maser .... all
[14:14] <girl> enjoy
[14:14] <girl> i have buy iphone 5
[14:14] <girl> good by
[14:23] <zul> jamespage/yolanda: https://code.launchpad.net/~zulcss/python-quantumclient/README-fix/+merge/169216
[14:53] <utlemming> smoser: Bug 1189571 has updated branches for Quantal and Raring. Validation on the updated branches is done.
[14:54] <Siebjee> Does anyone has experienced strange unexplainable performance differences between Dell PowerEdge M420's ?
[15:18] <smoser> utlemming, i'll take a look at that now.
[15:18] <smoser> one question for you, utlemming
[15:18] <smoser> have you done any work on that "*.json -> index.json" ?
[15:18] <smoser> (ie, for simpelstreams index.js merging stuff)
[15:19] <smoser> i'm interested in using it for http://bazaar.launchpad.net/~smoser/maas/netinst2ss/changes
[15:20] <utlemming> smoser: yes, I have, incidently. I was just switching gears to get that done. I think I just need to integrate it.
[15:20] <smoser> roaksoax, rbasak ^ your feedback on that simplestreams stuff would be appreciated.
[15:23] <smoser> http://paste.ubuntu.com/5761763/ is what the streams file looks like.
[15:23] <smoser> that'd be mirrored (with the files) some where.
[15:24] <smoser> netinst2ss just scrapes archive data (checks signatures, downloads ... )
[15:24] <smoser> rbasak, it is currently void of arm stuff
[15:24] <smoser> which is kind of why i'm asking your input
[15:26] <smoser> note, 'kernel-release' is there as 'base' meaning "precise if release is precise"
[15:26] <rbasak> smoser: thoughts, as they come into my head
[15:26] <rbasak> smoser: any plans on signature verification?
[15:26] <smoser> to differenciate it from quantal netboot kernel/intiramfs for installing precise (which is available, but I explicitly skip it at the moment)
[15:27] <smoser> rbasak, yes. obviously we'd add .sjson there also
[15:27] <smoser> its also missing 'size' on the items...
[15:27] <smoser> which is good ot have, but i have to http-stat all the urls to get it, and that just slows the process down
[15:28] <smoser> rbasak, i also dont know where i would get installer kernel/initramfs info for arm
[15:29] <smoser> found it.
[15:29] <smoser>  [DIR]	linaro-vexpress/	23-Apr-2012 20:04 	-
[15:29] <smoser> [DIR]	omap/	23-Apr-2012 20:04 	-
[15:29] <smoser> bah
[15:30] <smoser> http://ports.ubuntu.com/ubuntu-ports/dists/precise/main/installer-armel/current/images/
[15:30] <smoser> so i'd have to also hit ports.ubuntu for arm stuff.
[15:30] <smoser> netinst2ss would need additional support for that.
[15:31] <rbasak> smoser: sorry, I need to go afk for a bit. I'll get back to you. And about that other thing. Tomorrow I promise :)
[15:31] <roaksoax> smoser: looks good to me, and for my purposes i guess it is sort of enough infromation
[15:58] <smoser> roaksoax, for your purposes, at the moment you can just basically know tha tofr a release, you're interested in 'base.generic.initrd'
[15:58] <smoser> at the moment. that name might change.. but once we're settled, it wont
[16:00] <roaksoax> smoser: ok cool. Yeah wont start working on it right away so I don
[16:01] <roaksoax> smoser: ok cool. Yeah wont start working on it right away so I don't need it right now :)
[16:02] <smoser> roaksoax, if you need want to play with it, you can just branch that, run it, and then point the sync at the 'out.d' that it creates.
[16:02] <smoser> ie, out.d as the reote source
[16:02] <roaksoax> smoser: ok cool, so I guess we will be consuming those scripts in maas-import-*
[16:03] <roaksoax> smoser: r will those files be available on the mirrors
[16:04] <smoser> the data in 'out.d' will be available on some irror
[16:04] <smoser> either maas.ubuntu.com or cloud-images.ubuntu.com or possibly cdiamge.ubuntu.com (or somethign to that affect)
[16:05] <roaksoax> smoser: ok cool
[16:05] <smoser> but largely that doesn't atter, you just will sync with *some remote source* that looks like that (where 'remote' can even be local filesystem)
[16:05] <smoser> the sstream-sync doesn't care if it is file:/// or http:///
[16:05] <roaksoax> yeah
[16:05] <roaksoax> smoser: so these scripts will be packaged them and consumable
[16:05] <roaksoax> by maas-scripts*
[16:06] <smoser> sstream-sync is in raring, but not in a super great state..
[16:06] <roaksoax> smoser: i see, cause initially I thought to manually access the json files in the mirrors from maas-improt-p* beucase that way we don't depend on any external tool not within maas
[16:07] <smoser> the wway i'd at leat like to pursue is that some program 'maas-import-ephemeral' invokes 'sstream-sync' (which then hooks to another progra (or possibly the first) to do the work).
[16:08] <smoser> if that isn't deeed suitalle (usage of sstream-sync) , then we could write a Mirror class like (GlanceMirror) in python and use it from maas
[16:08] <roaksoax> smoser: right, but TBH it makes no sense to keep maas-import-pxe-files and maas-import-ephemerals, and I was hoping to merge thouse together and in python
[16:08] <smoser> either case, maas will depend on simplestreams.
[16:09] <roaksoax> ok
[16:09] <smoser> look at the way tools/hook-check-downloads works.
[16:10] <smoser> you invoke 'hook-check-downloads', it invokes sstream-sync and tells sstream-sync (via cmdline flags) to call it back to operate on 'insert item'  and such.
[16:11] <roaksoax> right
[17:01] <bananapie> hey, I just compiled a software using make and make install. It dumped some so files in /usr/local/lib/ and when I run the executable it can't find the files that are in the said directory. I added a .conf file in /etc/ld.so.conf.d/ which points to that folder. Do I have to run a script or something so that it updates?
[17:03] <bananapie> I have to run ldconfig
[17:03] <bananapie> thanks
[17:41] <autif> I am installing 12.04 server - xubuntu ISO is able to detect network drivers, while ubuntu-server ISO does not. Can I install server with networking using additional tools?
[17:42] <patdk-lap> able to detect network drivers?
[17:42] <patdk-lap> are you using 12.04? 12.04.1 or 12.04.2?
[17:45] <autif> patdk-lap:  12.04.2
[17:46] <autif> I meant detect network hardware
[17:46] <patdk-lap> well, that should have it, maybe try 12.04.1?
[17:48] <autif> xubuntu was 12.04 - will try server 12.04 instead of 12.04.2
[18:03] <TriJetScud> is it just me or does ubuntu server's oem-config package do really need all of those dependencies on a text-only server?
[18:04] <TriJetScud> http://pastebin.com/Vb1gr4cQ
[18:05] <TriJetScud> that pastebin for refrence if somebody is interested
[18:05] <Slyboots> Hello :)
[18:06] <Slyboots> lHaving some problems with an install of Ubuntu-server 12 :(  Process goes through the entire process but fails when it tries to install the GRUB boot-loader.  Its a 6x Disk system and, due to how its listing the disks I've installed Ubuntu onto /dev/sde, Grub by default goes to /dev/sda and fails
[18:07] <Slyboots> If I force it to /dev/sde, when the system reboots I.. just got a blinking underscore (no GRUB loader)
[18:08] <Slyboots> Im kind of stumped as to what I should do. I would ahve figured installing gRUB on the MBR of /dev/sde should work but...
[18:09] <sarnold> Slyboots: does your BIOS need to know which drive to boot as well?
[18:10] <Slyboots> Im nmot sure.. its a HP Microserver so its bios is a bit.... odd
[18:13] <Slyboots> Mm, hold on, it is something that simple..
[18:14] <Slyboots> DOh, yea that was it :P
[18:14] <Slyboots> wrong disk set to firstboot in bios
[18:15] <sarnold> yay :)
[18:16] <Slyboots> Uh.. maybe not
[18:16] <Slyboots> "/boot is not available or mount failed"
[18:16] <Slyboots> lol..
[18:18] <sarnold> Slyboots: yay :) that's a forward step.
[18:18] <sarnold> Slyboots: did you put your /boot into a raid5 or raid6 or something? grub is particular about what it can read.
[18:19] <Slyboots> no only 1 disk contains the OS, its a very basic flat /dev/sde1 is boot in ext4 and /dev/sde2 is /
[18:19] <Slyboots> lathough oddly the system still booted OK
[18:19] <Slyboots> Just told it to skip tryingto mount /boot and after afew seconds I was at the login screen
[18:23] <sarnold> o_O
[18:23] <Slyboots> Hm.. how do you get the UUID for a disk, maybe fstab id wrongt
[18:23] <Slyboots> .. somehow
[18:25] <sarnold> Slyboots: run blkid (as root; I understand it can return stale results if run as non-root)
[18:25] <Slyboots> Yea.. fstab was wrong
[18:25] <Slyboots> Thats pretty weird..
[18:26] <sarnold> Slyboots: the /dev/sd[abcde] order can change based on .. well, presumably adding / removing drives or controllers, maybe other situations
[18:26] <sarnold> Slyboots: perhaps it was correct at one point and is now wrong.
[18:26] <Slyboots> This is its first boot ^_^
[18:26] <sarnold> haha
[18:26] <sarnold> /dev/disk/by-*/ symlinks are nice
[18:26] <Slyboots> But just updated the UUID entry to the correct value and.. its good
[18:27] <Slyboots> sarnold, I thought that wa the point of UUID's that they should never change
[18:27] <sarnold> Slyboots: indeed, uuids shouldn't.
[18:27] <Slyboots> I guess the installer got a bit chewed up somehow
[18:28] <sarnold> (my pal who complained about the stale values was complaining about it -after- formatting the drives with a new filesystem)
[18:28] <Slyboots> Mmm
[18:28] <Slyboots> Right, so..
[18:28] <Slyboots> Do I use btrfs..
[18:28] <Slyboots> or ZFS
[18:31] <Slyboots> Shoot tahts right.. cant use btrfs -.-
[18:50] <EDocToor> Hello everyone; I have a brand new server and wonder if https://help.ubuntu.com/community/Samba/SambaServerGuide is the guide that applies to configuring samba on Ubuntu Server... I ask this question as I don't know if this guide only applies to the GUI Ubuntu... or... maybe you could reply with a link to configure Samba (the samba that was installed during the install)
[19:07] <RoyK> EDocToor: ubuntu server doesn't come with  gui
[19:08] <RoyK> EDocToor: is this a single server, or do you have something like ldap or active directory around for authentication?
[19:10] <Slyboots> Is there not a easy way to repeat a command several times in succession but change the values each time
[19:11] <Slyboots> For exampe, in this case, I need to run the command "zfs create tank/$VALUE" where value changes each time
[19:11] <EDocToor> RoyK, I understand that Ubuntu Server is Command line.. .. I am looking for a beginner tutorial to configure samba on a server so that my XP and other UBuntu can share files
[19:11] <Slyboots> So do you ahve to just keep retyping and retyping..
[19:11] <Slyboots> This comes up ALL the fecking time x.x
[19:12] <EDocToor> Slyboots, do you mean... UP ARROW
[19:12] <Slyboots> EDocToor, No I do not mean up-arrow
[19:12] <RoyK> or perhaps "for i in 1 2 3 4; do asdf $i ; done"
[19:12] <EDocToor> by bad
[19:12] <Slyboots> It would be preferable if I coudl so something like "zfs create tank/$value1,$value2.."
[19:12] <RoyK> Slyboots: pretty basic scripting
[19:13] <RoyK> Slyboots: why are you creating several pools?
[19:13] <RoyK> or was that filesystems?
[19:13] <RoyK> "datasets"
[19:13] <Slyboots> its a ZFS filesystem, different datasets for differnet datasets
[19:13] <Slyboots> :D
[19:13] <RoyK> for i in data rubbish porn private; do zfs create tank/$i ; done
[19:13] <Slyboots> lol
[19:13] <Slyboots> are you watching my console? :P
[19:13] <RoyK> :D
[19:14] <EDocToor> hehe
[19:14] <Slyboots> RoyK, Ah neat thats handier
[19:15] <RoyK> Slyboots: using zfsonlinux or zfs fuse?
[19:15] <Slyboots> zfsonlinux
[19:15] <RoyK> ok
[19:15] <Slyboots> ITs a little funky, their package doesnt bother checking if you have the kernel-headers installed :P
[19:15] <Slyboots> So it was broken when I installed it heh
[19:15] <RoyK> considering it myself after some bad data happens to come from a drive and I can't sort out which drive's bad...
[19:16] <RoyK> chose md because of flexibility, but seems that's overstated
[19:16] <Slyboots> Yea I couldnt be bothered building a mdadm array and waiting forever till it builds
[19:16] <Slyboots> I've used it in Nas4free and the like and its quite nice, although i dont use things like Dedup
[19:16] <RoyK> I don't care about build time, but I do care about data quality
[19:16] <Slyboots> Too memory hungry
[19:17] <RoyK> zfs dedup is rather hungry, yes
[19:17]  * RoyK has worked with zfs on open{indiana|solaris} for some years with half a peta of storage
[19:18]  * Slyboots nods "I was curuis to try brtfs but it doesnt have RAID5/6 style support yet, so it was a no-go
[19:18] <jcastro> it does now
[19:18] <lifeless> jcastro: orly?
[19:19] <RoyK> it does
[19:19] <lifeless> jcastro: just a few months back it was still only mirror capable
[19:19] <jcastro> yeah, I haven't tried a live migration yet
[19:19] <Slyboots> mm
[19:19] <jcastro> yep, it landed last major kernel release I think? let me look it up
[19:19] <RoyK> but it doesn't assemble disks autoamtically on boot
[19:19] <RoyK> which somewhat takes the fun away
[19:19] <lifeless> jcastro: https://btrfs.wiki.kernel.org/index.php/FAQ#Can_I_use_RAID.5B56.5D_on_my_Btrfs_filesystem.3F
[19:19] <jcastro> yeah, linux 3.9
[19:19] <sarnold> Slyboots: maybe also this would work: zfs create tank/{foo,bar,baz} -- the shell does some expansions like that in handy ways
[19:19] <lifeless> jcastro: 'The first drop of the code, in experimental form, is in the 3.9 kernel.'
[19:19] <lifeless> jcastro: I don't like the sound of that :>
[19:19] <Slyboots> sarnold, I'll give it a little try
[19:20] <lifeless> jcastro: goes on to say 'This is currently only suitable for testing, as it is known to not be crash-safe, and many important (or even vital) features are missing.'
[19:20] <RoyK> I tried it - wasn't too stable
[19:20] <jcastro> lifeless: nor me, which is why I'm sitting on my RAID1 mirrors still, though I might snag another HP Microserver to play with it
[19:20] <Slyboots> sarnold, hehyy, that works doo!
[19:20] <Slyboots> Thats even handier :)
[19:21] <lifeless> jcastro: gotta love the microservers.
[19:21] <jcastro> lifeless: "I solved my RAID4/6 problem by using 2 servers and Ceph instead with disks way bigger than I intended."
[19:21] <jcastro> I mean Raid5/6 of course
[19:21] <sarnold> Slyboots: and sometimes, after you've run a command, you can use ^foo^bar to make a change: try this, ls -l /etc  -- then ^etc^var
[19:22] <Slyboots> ...
[19:22] <Slyboots> *mind* *blown*
[19:22]  * Slyboots scribbles this stuff down
[19:23] <Slyboots> Hrm.. wait that cant be right
[19:23] <Slyboots> 5.28TB available with 6x 2TB disks?
[19:24] <RoyK> yes, difference between TB and TiB
[19:24] <RoyK> 1TB ~= .9TiB
[19:24] <RoyK> linux reports TiB, like most platforms
[19:24] <RoyK> try du -H
[19:24] <RoyK> erm
[19:24] <RoyK> df -H
[19:24] <Slyboots> How does 5 2TB disks only equal 5.28 o.O
[19:25] <Slyboots> Tahts nearly half the storage missing o.O
[19:25] <RoyK> Slyboots: reported from zpool status?
[19:25] <Slyboots> by zfs list
[19:25] <RoyK> pastebin zpool status
[19:25] <RoyK> and zfs list
[19:25] <Slyboots> I see the problem.. I made a Raidz2 array
[19:25] <Slyboots> Only supposed to be raidz :P
[19:25] <Slyboots> (2x parity, instead of 1)
[19:25] <RoyK> raidz2 is good (tm)
[19:26] <RoyK> since sector errors usually are observed during rebuild
[19:26] <Slyboots> Meh, not fo rmy use.  I keep backups of everything and theres nothing "critical"
[19:26] <RoyK> so better add another driev or two
[19:26] <RoyK> ok
[19:26] <RoyK> go on :)
[19:26] <Slyboots> hehe, the machines already full to the gills with disks :P
[19:27] <RoyK> small sas 92xx controller, external sas expander, lots of drives => lots of storage
[19:28] <Slyboots> haha, its a little HP Microserver for my media collection :)
[19:28] <Slyboots> I've already had to hijack the eSATA port so I had a disk to install the OS ^_^
[19:28] <Slyboots> I just keep mt TV/Movies.. some backups.. photos.. and anything thats not easly replaced I keep backed up to a external SATA disks
[19:29] <Slyboots> But RAIDz2 would be nice.. but Im not sure I Can justfiy the sizable drop in space
[19:30] <RoyK> zfs can handle some bad sectors without kicking the drive out
[19:30] <RoyK> but keep in mind to enable ERC if it's supported
[19:30] <RoyK> or increase drive timeout
[19:31] <Slyboots> Hmm
[19:31] <Slyboots> Well theses are WD "Red NAS" disks
[19:31] <RoyK> WD Red supports ERC
[19:31] <RoyK> Slyboots: http://paste.ubuntu.com/5762473/
[19:31] <RoyK> this is rather failproof
[19:32] <Slyboots> cool :)
[19:32] <RoyK> put that in /etc/rc.local
[19:32] <RoyK> perhaps I should have crafted one that parses /proc/partitions
[19:32] <RoyK> but then - you might want deep recovery for a single root drive
[19:33] <Slyboots> Hm?
[19:33] <RoyK> deep recovery is the mode of most desktop drives
[19:33] <RoyK> it can spend up to two minutes trying to recover a single sector
[19:33] <RoyK> doesn't work well in a raid setup
[19:33] <RoyK> the raid will kick out the drive rather early
[19:33] <Slyboots> Yea by that time it'll assume the disk is dead and drop it
[19:34] <RoyK> turning on ERC makes the drive return errors instead of timing out, which is fine in a raid setup, since it's got redundancy
[19:34] <Slyboots> Good tip, thanks :)
[19:35] <Slyboots> Oooh.. SATA port multipliers arnt cheap
[19:35] <RoyK> and they somewhat suck
[19:35] <RoyK> better get a good sas controller
[19:35] <RoyK> doesn't cost a lot more, and delivers far more bandwidth
[19:35] <Slyboots> heh, 2TB SAS disks would be nice but that .. quire require a lot more money, and pretty much a new setup
[19:36] <RoyK> the 1068-based controllers from LSI are rather cheap on ebay atm, but they don't support drives >2TiB
[19:36] <RoyK> you can connect SATA drives to a SAS controller, no problem
[19:36] <RoyK> just not the other way around
[19:36] <Slyboots> Holy crap LOL
[19:36] <Slyboots> £435 for a 2TB SAS? :P
[19:37] <Slyboots> Pass :P
[19:37] <RoyK> did you read what I just wrote above?
[19:37] <Slyboots> Oh right, hm intresting
[19:39] <RoyK> that price seems a bit high - in Norway, things usually cost a bit more, and I find this drive at NOK 1699 - http://www.komplett.no/k/ki.aspx?sku=646289 - GBP 187
[19:39] <RoyK> that's with 25% VAT
[19:39] <RoyK> so perhaps you were checking the wrong site?
[19:39] <Slyboots> I just happened to look at eBuyer
[19:40] <RoyK> GBP 150+vat
[19:40] <RoyK> not a lot more, and supports full duplex and better error handling
[19:40] <Slyboots> thats quite a bit cheaper, but yea.. would be overkill for my needs :D
[19:40] <RoyK> and better timing
[19:40] <RoyK> and ...
[19:40] <RoyK> still, you can attach SATA stuff to a SAS controller
[19:41] <RoyK> via a SAS expander or direct attach
[19:42] <Slyboots> Its certinally something to keep in mind, so would install a SAS card and attach a SAS expander
[19:42] <Slyboots> then just plug the disks int ito?
[19:43] <RoyK> yes
[19:43] <RoyK> or just attach the drives to the sas interface
[19:43] <RoyK> sas emulates sata
[19:43] <RoyK> no need for an expander
[19:43] <RoyK> the expander is just there if you need more drives attached to that controller
[19:44] <Slyboots> yea the SAS cards seem quite cheap actually on ebay
[19:45] <Slyboots> Like IBM ones etc for £20
[19:45] <Slyboots> for.. *whistle* 8 more drive ports :D just need a caddy to contain the disks heh
[19:46] <Slyboots> Oh thats actually intresting :) my Microserver uses SAS already
[19:46] <Slyboots> (SAS cable to a SATA .. "rank"
[19:46] <Slyboots> *rack
[19:46] <RoyK> mhm - some 8087 plug
[19:46] <RoyK> or 8086 - don't remember
[19:47] <RoyK> external plug is the infiniband plug
[19:47] <Slyboots> Aye, just need a half-hight card (Dont think this thing is big enough for a full sized)
[19:47] <RoyK> they are mostly half-height, those I've seen
[19:47] <RoyK> meaning, they come with a second bracket
[19:47] <Slyboots> Its certinally a tempting idea, I hadnt considered this before
[19:48] <Slyboots> You dont know of any cheap ish sort of.. hodler, that you coudl put the disks into (cause, disks still need power)
[19:48] <RoyK> card comes with an 8087 plug (iirc) and you need a splitter to split those 4 sata buses into separate cables
[19:49] <Slyboots> AYe I've seen a few of the auctions on ebay with the SATA splitter.  The only trick is still power though
[19:49] <RoyK> there are some 4-drives-in-3-5,25"-bay shelves around
[19:49] <RoyK> takes four sata connectors and some power and offers hotplug capabilities (given the OS driver supports it)
[19:49] <Slyboots> hehe, do they have actual names?
[19:50] <Slyboots> You mean like hot-swap bays?
[19:50] <RoyK> yes
[19:50] <RoyK> but external or internal?
[19:51] <Slyboots> Well Im thinking if I installed a SAS card and jacked in.. another 4 disks lets say.  It would be nice to just have a container to hold the disks and provide power to em
[19:51] <RoyK> try ebay or something
[19:51] <RoyK> there are several
[19:51] <Slyboots> Aye Im just trying to figure out the name for searching
[19:52] <Slyboots> Ah heres something, 5-bay enclosure
[19:53] <Slyboots> about £50ish odd quid..
[19:53] <RoyK> url?
[19:53] <Slyboots> expencive for what it is but still in the "Tempting" side of things
[19:53] <Slyboots> http://www.ebay.co.uk/sch/i.html?_trksid=p5197.m570.l1313.TR1.TRC0.A0&_nkw=sata+hot-swap&_sacat=0&_from=R40
[19:54] <Slyboots> Seem to be SATA / eSATA enclosures with power to the disks
[19:54] <RoyK> this one? http://www.ebay.co.uk/itm/SONNET-ENC-SATA-DT4-B-Fusion-400-External-Hot-Swap-4-port-Sata-Hard-drive-cage-/300916636732?pt=UK_Collectables_HardDriveEnclosures_RL&hash=item4610077c3c
[19:54] <Slyboots> Yea I mean they are about that price
[19:54] <Slyboots> I think thats the sort of thing I would want/need
[19:55] <Slyboots> Just plug that in, wire up the drives to the SAS card..  Lots-a-storage
[19:55] <RoyK> probably better if you find a chassis that takes an 8087 in the arse
[19:56] <Slyboots> haha, yea that might be better but Im just thinking from "This is the sort of thing I should be looking at" ratther than that specific model
[19:58] <Slyboots> Ahh Backplane, think thats the right name for em
[19:58] <RoyK> backplane is just a switchboard
[19:59] <Slyboots> Its a very tempting idea, maybe when payday comes around and my pet is no longer dying from metal poisoning I can think about it :P
[19:59] <Slyboots> hehe
[20:00] <Slyboots> I would be badly tempted to wipe the backup disks and just intergrate them all into the array in a big raid2z or whatever array
[20:01] <Slyboots> .. all that storrage lol
[20:01] <Slyboots> I dont know what I would do with it :P
[20:02]  * RoyK is more than slightly tempted to replace md with zfs after seeing silent errors only detected by ext4's metadata checksumming
[20:02] <Slyboots> Aye I've notcied a few of my videos taht I've known where good copies have tiny ammouts of corruption
[20:02] <Slyboots> Wa quite shocking, espically as even a little on video is super noticable
[20:03] <RoyK> did you see that zfs presentation?
[20:04] <RoyK> http://wiki.illumos.org/download/attachments/1146951/zfs_last.pdf
[20:04] <RoyK> only problem with zfs is that you have to give away flexibility for safety
[20:05] <Slyboots> aye you cant "grow" an array
[20:05] <Slyboots> That is kidna fustrating
[20:05] <RoyK> you can add more VDEVs as in single drives or raidz? or something, but not extend a VDEV
[20:06] <RoyK> or you can replace every drive with a larger one
[20:06] <Slyboots> You can create another "Pool" and merge them together.. but you cant say.. jam in a single 2tb disk and grow your main pool
[20:06] <RoyK> then, eventually, it'll grow
[20:06] <Slyboots> Its a little bit odd
[20:07] <RoyK> and since the drive producers are only three now, they tend to keep the prices high and no larger drives have appeared for almost two years
[20:07] <RoyK> no, it's not corruption, it's just craftmanchip, as if :P
[20:07] <Slyboots> heh
[21:19] <keithzg> Arghh. I hate MySQL so, so much. Read the logs? Oh, they're binary. Okay, cool there's a utility to read those....oh, despite being processed by mysqlbinlog the actual events are still written in binary not plaintext, so I still can't see the actual events, only the header comments. Sigh.
[21:20]  * keithzg suspects this might just be due to his company using MySQL as a backend for Fogbugz and Access 2000.
[21:55] <EDocToor> hi... I am still researching samba and anything IP confuses the crap out of me.. So I am going to politely ask for help.. or hints.. I am trying to share files from my Ubuntu Server to my Ubuntu with GUI.. What I have done is: smb.conf comment=Home Directories; browseable=yes;read only=no.. $ sudo smbpasswd -a cow $ sudo smbpasswd -e cow $ sudo smbd reload "temp enabled router DMZ" $ sudo chmod 0750 /home $ sudo chmod 0766 /home/
[21:55] <EDocToor> cow/Downloads $ sudo chown cow:cow Downloads... On the other GUI Ubuntu the error is Cannot display location cow@cow/home/cow/Downloads
[21:55] <EDocToor> Failed to mount windows share
[21:56] <EDocToor> I have done a lot of research.. it is that I am not that bright
[22:15] <Slyboots> This is such a pain in the ass
[22:15] <Slyboots> Trying to get fuckign permissions working right with a windows client -.-
[22:17] <Slyboots> Beh, going to bed.
[22:17] <sarnold> EDocToor: can you pastebin the output of ls -l /home /home/cow /home/cow/Downloads ; ps auxw | grep -i smb
[22:29] <EDocToor> sarnold... guess I should get ssh going first so I have access to paste bin
[22:29] <EDocToor> ok... thanks
[22:29] <EDocToor> I'll put samba on the shelve for now
[22:29] <sarnold> EDocToor: the 'pastebinit' package is also pretty useful :)
[22:29] <EDocToor> nice
[22:29] <EDocToor> brb
[22:40] <EDocToor> awesome first time with pastebinit http://paste.ubuntu.com/5763009/
[22:41] <EDocToor> Notice the Download folder/directory does not show
[22:42] <EDocToor> my bad
[22:42] <EDocToor> I must have done something wrong
[22:42] <EDocToor> let me do it again.. I rushed ...
[22:43] <sarnold> EDocToor: that might be because /home/edoc/Downloads is owned by root:root, not edoc:edoc
[22:44] <EDocToor> awwwwwwww
[22:44] <EDocToor> it is
[22:44] <EDocToor> something else strange
[22:44] <EDocToor> when I type edoc# ls -l Downloads
[22:45] <EDocToor> it displays
[22:45] <EDocToor> when I type edoc# ls -l /home/edoc/Downloads
[22:45] <EDocToor> it doesn't
[22:45] <EDocToor> I am having fun...
[22:45] <EDocToor> thanks
[22:47] <EDocToor> I can not see BLUE on a BLACK screen.. so I might have done a mistake
[22:47] <sarnold> no one can see blue on black :) I've tried a dozen times, it never works. hehe. :)
[22:47] <EDocToor> I will change it to yellow later
[22:47] <EDocToor> but that is how the default setup displays folders
[22:48] <EDocToor> I have the tutorial loaded... just haven't got there yet
[22:58] <EDocToor> sarnold, http://paste.ubuntu.com/5763039/
[23:00] <thumper> hallyn: ping
[23:01] <thumper> hmm... 6pm
[23:04] <sarnold> EDocToor: ~edoc/Downloads/ is now edoc:edoc 766 -- this means only edoc and root can read or write files in Downloads, and everyone can get directory listings of downloads..
[23:06] <EDocToor> sarnold, I take it ... that isn't what I want.. ;-)
[23:10] <EDocToor> smbclient -L 192.168.1.121 ... looks good and I can see a printers folder.. I just can not get my /home/edoc/Download folder to show up on client
[23:11] <EDocToor> oh... and I take it that I should $ sudo chmod 0750 /home
[23:12] <sarnold> EDocToor: or leave it at the default 755
[23:15] <EDocToor> yes... 755 was the default... but I read that I should add /etc/adduser.conf
[23:15] <EDocToor>  DIR_MODE=0750
[23:15] <EDocToor> as that is too advanced for me...
[23:15] <sarnold> that makes it significantly harder to share files among users on a system
[23:15] <EDocToor> I see that...
[23:16] <sarnold> fine if you want to prevent sharing :) but most places are fine to store private things in a directory under home with 700 permissions
[23:16] <EDocToor> My goal is to KISS and learn to slowly get more complicated
[23:17] <EDocToor> brb.. thanks
[23:21] <JoeBlacken> Hi, how can I disable boot messages in Ubuntu 12.04, I already disabled the splash, I also want to remove the text messages from boot
[23:25] <sarnold> JoeBlacken: adding loglevel=0 to your kernel command line (grub or whatever bootloader..) might help cut down on some
[23:25] <sarnold> JoeBlacken: look in the linux kernel's Documentation/kernel-parameters.txt file for more details
[23:26] <JoeBlacken> sarnold, is there a way to do that without re-compiling the kernel?
[23:27] <sarnold> JoeBlacken: just edit your kernel command line wherever it is set and reboot
[23:27] <JoeBlacken> sarnold, thank you, I will try that
[23:30] <JoeBlacken> sarnold, it worked, thank you again
[23:33] <sarnold> JoeBlacken: woo :)
[23:35] <EDocToor> sarnold, every day I am getting a tiny bit smarter.. thanks.. Note: I still haven't got it.. but I like to grind a bit before I dig here... I think I am missing a line in the smb.conf that tells samba what folder to share
[23:35] <EDocToor> bbl
[23:36] <sarnold> EDocToor: step #2 here.. https://help.ubuntu.com/12.04/serverguide/samba-fileserver.html
[23:37] <EDocToor> sarnold, tanks a million ;-)
[23:39] <EDocToor> https://help.ubuntu.com/community/CustomizingBashPrompt Nope this isn't is.. I can see the prompt.. I want to change the default DIRECTORY COLOR... can that be my next step
[23:39] <EDocToor> LOL
[23:40] <sarnold> EDocToor: man ls, you'll see the environment variable name in there...
[23:41] <EDocToor> perfect.. let me do some work.. but tell me what to read
[23:41] <EDocToor> so I get used to finding help within Ubuntu
[23:42] <EDocToor> ha ha man -k ls wow
[23:42] <EDocToor> I had no idea
[23:42] <sarnold> EDocToor: the manpage for dircolors, then your ~/.bashrc file
[23:42] <EDocToor> dircolors
[23:43] <EDocToor> cake