[00:00] <TJ-> axisys: Well, if there are still free blocks (I think I recall seeing the usage was 53%) then it would need just the inode count increasing
[00:00] <axisys> this says still lot of inodes left.. or am I reading it wrong?
[00:01] <axisys> yeah 58%
[00:01] <axisys>  tune2fs -l /dev/mapper/volg0-usr | grep -i inode
[00:01] <axisys> Inode count:              366480
[00:01] <axisys> Free inodes:              103803
[00:01] <TJ-> axisys: Huh? I thought that was the free blocks.
[00:02] <TJ-> axisys: earlier you wrote: " df -i shows /usr is 100%"
[00:02] <axisys> ok let me re-report
[00:02] <axisys> df -i /usr/
[00:02] <axisys> /dev/mapper/volg0-usr 366480 364992  1488  100% /usr
[00:02] <axisys> df -h /usr
[00:02] <axisys> /dev/mapper/volg0-usr  5.5G  3.0G  2.3G  58% /usr
[00:04] <TJ-> axisys: OK. You'll need to create a new LV with suitable size and inode count (mke2fs -i ...) and copy the existing /usr/ file-system into it, then switch them
[00:04] <axisys> ok
[00:04] <TJ-> axisys: It's not possible to dynamically increase the inode count with tune2fs, etc.
[00:05] <axisys> or I could remove all linux header files from /usr/src?
[00:05] <axisys> aparently that is hurting others too
[00:05] <axisys> /dev/mapper/volg0-usr  5.5G  3.0G  2.3G  58% /usr
[00:05] <axisys> oops
[00:05] <axisys> http://askubuntu.com/questions/361529/usr-src-is-eating-up-all-inodes
[00:06] <TJ-> axisys: /usr/src/ is lots of small files
[00:07] <TJ-> axisys: maybe simply create a LV for /usr/src/ ?
[00:07] <axisys> I am no 3.2.0-60 .. I could purge all the older linux header files in this dir
[00:07] <axisys> TJ-: probably better idea.
[00:07] <TJ-> axisys: It keeps things simpler, and allows you more fine-grained control without disruption
[00:08] <axisys> right
[02:15] <axisys> what is the best way move /usr/src from /usr partition to /usr/src partition on live system? I already rsync -av /usr/src/ /mnt/. now ready to umount /mnt and mount the /dev/mapper/volg0-usrsrc /usr/src
[02:16] <axisys> should i just move /usr/src to /usr/oldsrc and then create /usr/src and mount it?
[02:16] <axisys> or there is a better way?
[02:18] <axisys> fuser /usr/src shows nothing using /usr/src right now
[02:20] <axisys> done
[09:17] <morenoh149> I"m pinging my desktop from my laptop through the lan. what command do I use on the server to see incoming pings?
[09:48] <lordievader> Good morning.
[09:49] <lordievader> morenoh149: tcpdump?
[09:51] <spicypixel> is ubuntu server meant to show a terminal on HDMI on first boot? I had to install openssh to access the box since I couldn't see anything on screen
[09:56] <RoyK> spicypixel: should work
[10:03] <morenoh149> lordievader: yes tcpdump did the trick :)
[10:03] <lordievader> morenoh149: Of course, tcpdump is awesome :D
[10:05] <morenoh149> anyone here manage a home server with ubuntu?
[10:05] <morenoh149> you just use ssh for that right?
[10:07] <lordievader> morenoh149: I run a home server. And ssh is not the only thing that manages it. Most is automated through Puppet.
[10:07] <lordievader> And various other scripts.
[10:07] <morenoh149> lordievader: I was eyeing ansible for that
[10:08] <morenoh149> I want to expose a postgres and mongo db for my webapps from my home server. Good/bad idea?
[10:10] <lordievader> morenoh149: As long as only your webserver has access and not the ~world.
[10:12] <morenoh149> lordievader: ah so you're suggesting running a webapp and api on my server? because things like heroku postgres and mongolab expose the db to the world
[10:14] <lordievader> That is one interpretation. Anyhow there usually is no need to expose a SQL sever to the ~world.
[10:18] <Sling> im getting really fed up with the ubuntu installer when trying to do a mdadm raid 1 while installing
[10:18] <Sling> is there a way to properly do this?
[10:18] <Sling> partitioning is a hell, it creates random 1MB free space partitions before my own created partition, causing me later on to not being able to install grub
[10:20] <Sling> im sure this is related to legacy vs uefi but its not even telling me about this
[12:00] <BukoLay> please help me to irc special setup?
[12:34] <LeMike> hello. I need some help with a RAID. the `cat /proc/mdstat` says nothing so I tried `lspci | grep -i raid` and found a controller. but how do I determine which kind of RAID it is?
[12:34] <Sling> LeMike: mdstat is for software raid
[12:34] <Sling> LeMike: which controller did you find?
[12:34] <henkjan> LeMike: what is the output of the lspci command?
[12:34] <Sling> each controller has its own binary interface
[12:35] <Sling> usually with vendor tools to communicate with it
[12:35] <Sling> also - does anybody know what selecting 'expert mode' in the ubuntu installer actually does, does it add a grub parameter to the booting of the installer?
[12:35] <henkjan> http://hwraid.le-vert.net/ has lots of info
[12:35] <henkjan> and .debs for most of the vendor provided tools
[12:37] <LeMike> it is "ATI Technologies Inc SB700/SB800 SATA Controller [Non-RAID5 mode]" . I find it in `lshw` but dunno where to read the raid
[12:39] <LeMike> if it is raid 5, then the 4 time 500 GB drives should end up in 1,5 GB but they actually make 2 GB.
[12:41] <LeMike> forget it. sorry. it is linear NRAID. I should get some coffee ...
[13:35] <devster31> Hi, I'd like some information updating nginx, I originally installed it from the ubuntu packages, but it's 1.4.6 and it's quite an old version, now I'd like to update it without losing my configuration, installing the 1.6.2 stable from the ppa, how can I do that?
[13:43] <patdk-wk> !ppa
[13:43] <patdk-wk> it's that simple
[13:43] <patdk-wk> your success depends on the *quality* of the person making the ppa though
[14:28] <hackeron> hey, anyone know a way to get a list of all listening ips? - e.g. like ifconfig shows but just the ips?
[14:37] <patdk-wk> ip addr show
[14:53] <hackeron> patdk-wk: thanks, but that shows everything in a very difficult to parse format - how would I get say just the interface and ip?
[14:53] <patdk-wk> how is it difficult?
[14:53] <patdk-wk> ip addr show | awk '/inet / { print $2; }'
[14:53] <hackeron> patdk-wk: oh, actually, it isn't - much easier than ifconfig :D - thank you!
[14:53] <lordievader> hackeron: ip link?
[14:53] <patdk-wk> ip addr show | awk '/inet6? / { print $2; }'
[14:54] <lordievader> Oh wait, that doesn't show ip.
[14:54] <patdk-wk> ya, ip's aren't links :)
[14:56] <hackeron> this does what I want :D <  ip addr show | awk '/inet / { print $NF" "$2 }'
[14:56] <hackeron> thank you!!
[15:02] <gtrmtx> hey guys. so im working inside my apache2.conf file and i have several password protected directories...i have it working requiring user A but i want to add a master pw that works in all sections...how do i iterate require user A or user B?
[15:03] <jpds_> gtrmtx: You're using auth basic?
[15:03] <gtrmtx> yeah
[15:03] <jpds_> gtrmtx: Just add another user to htpasswd.
[15:04] <gtrmtx> i have all the usernames set up already
[15:05] <gtrmtx> directory A needs user A pw to get in. a user of directory B doesnt need to be able to get into directory A.
[15:05] <gtrmtx> im trying to add a master pw for all directories so i dont have to constantly be typing in different pw's
[15:06] <gtrmtx> and i have a username/pw already set up for that purpose
[15:08] <gtrmtx> jpds_: http://hastebin.com/zurajesapo.apache
[15:11] <jpds_> gtrmtx: (On a side-note: why are you putting that in apache2.conf directly?)
[15:11] <gtrmtx> i was having issues getting .htaccess files working
[15:12] <gtrmtx> this at least works
[15:12] <gtrmtx> and if its not broke dont fix it know what i mean?
[15:21] <jpds_> gtrmtx: It's not really where that config is suppose to go, it's suppose to go with the site configuration.
[15:22] <gtrmtx> which is where by default?
[15:22] <jpds_>  /etc/apache2/sites-available and -enabled
[17:24] <spicypixel> to enable dvb usb sticks on ubuntu server do I need to install any packages?
[17:25] <jpds_> dvb?
[17:25] <spicypixel> tv tuner
[17:25] <spicypixel> works fine on regular ubuntu so wondering what's missing on ubuntu server by default
[17:25] <spicypixel> but the stick has had drivers in the kernel since 3.0
[17:26] <spicypixel> Bus 003 Device 006: ID 2013:024f PCTV Systems nanoStick T2 290e < lsusb output
[17:28] <jpds_> spicypixel: Do you have the linux-image-extra packages installed?
[17:28] <jpds_> spicypixel: dpkg -l | grep linux-image-extra
[17:28] <spicypixel> ii  linux-image-extra-3.16.0-29-generic   3.16.0-29.39                             amd64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP
[17:29] <jpds_> What do you do to make it work on regular ubuntu?
[17:29] <spicypixel> absolutely nothing, plug it in and it's working
[17:29] <spicypixel> weird
[17:29] <spicypixel> tried hotplugging the usb stick to see if it helped, didn't
[17:30] <jpds_> And dmesg sees it?
[17:32] <spicypixel> mhmmm
[17:32] <spicypixel> interesting
[17:33] <rbasak> spicypixel: you might need linux-firmware installed if you don't have it already. Depends on the exact hardware.
[17:33] <spicypixel> http://paste.debian.net/plain/143106
[17:33] <spicypixel> not encouraging
[17:33] <spicypixel> brb changing usb hub it's plugged into
[17:34] <spicypixel> same errors even on the usb3 host ports
[17:36] <spicypixel> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1313279/comments/6 seems related
[17:36] <RoyK> spicypixel: does it work without the usb hub?
[17:36] <spicypixel> nope
[17:36] <spicypixel> tried native ports, powered hub, usb2 and 3
[17:38] <spicypixel> pretty interesting though, was running fine on the 3.13.x branch with linux mint as the host OS, switched over to ubuntu server 14.10 for tvheadend headless operation and run into this with 3.16.x
[17:39] <spicypixel> does seem to be related to xHCI though
[17:41] <spicypixel> same dmesg error in any ports
[17:44] <spicypixel> just to rule it put, plugged it into my win8 laptop and the stick loads fine and displays a tv picture
[19:26] <spicypixel> jpds_: dist-upgrade and pulling the latest kernel and rebooting seems to have fixed it