[00:00] <sarnold> jordanrandles: are there any errors or warnings logged in any log files that look relevant?
[00:02] <jordanrandles> sarnold: I wouldnt know, I dont have access to the log files. The server computer is in my server room but it wont let me input anything using a keyboard as if the USBs are not working but they are fine. Its ever since I 'tried' setting up openvpn
[00:12] <jordanrandles> Its not taking any input from the keyboard
[00:23] <jordanrandles> it seems like the server only does this using Linux 3.16
[00:24] <jordanrandles> But I just booted using Linux 3.13 and it works fine. Is there any way to make the server always boot into this version?
[00:26] <sarnold> you could edit your grub menu to only include the 3.13 kernel, or uninstall the 3.16 kernels..
[00:27] <sarnold> but more likely that's just a symptom of something else that didn't work, perhaps the initrd images weren't properly created for the 3.16 kernels..
[00:28] <jordanrandles> So what do I do to fix this?
[00:28] <jordanrandles> Or find out if that is the problem?
[02:21] <jvwjgames> No internet from my server need help
[02:21] <jvwjgames> I had to go earlier and was not able to fix the issue
[02:23] <sarnold> jvwjgames: start with the basics: make sure ethernet wires are fully seated, not wrapped around flourescant ballasts, etc.; make sure everything in the path is properly plugged in; check dmesg and log files for errors
[02:23] <sarnold> jvwjgames: make sure you've got good link light from both NICs; replace endpoints if you need to
[02:24] <sarnold> jvwjgames: check ip addr show and ip route show output on both hosts, make sure they make sense
[02:24] <jvwjgames> Whenever I ping or traceroute I get interface IP as reply regardless of what the destination is
[02:24] <sarnold> jvwjgames: start with simple protocols, ping to IPs, then nc to tcp and udp ports; if those work but larger packets don't work, maybe pmtu settings are broken?
[02:25] <jvwjgames> See my post above ^^
[02:27] <TJ-> jvwjgames: is the IP address assigned by DHCP, or manually set?
[02:27] <jvwjgames> Manually
[02:28] <jvwjgames> And I do know it's right cause I tested it before
[02:28] <sarnold> jvwjgames: does "ip addr show" and "ip route show" look correct on both hosts?
[02:28] <TJ-> jvwjgames: can you pastebin (transfer via USB maybe) the "/etc/network/interfaces" file if that is where you've defined the interface
[02:29] <jvwjgames> Ok
[03:43] <DammitJim> I'm having issues with a domain user authenticating when I try to log on
[03:43] <DammitJim> the workstation has been joined to the domain
[03:49] <hellslinger> hi guys, does anyone know where UFW gets started in the boot process? where can I find out?
[07:04] <neurotus> i'm having problems enabling htaccess on my apache2 ubuntu 14.04
[07:06] <neurotus> i have default install and have done .htaccess and .htpasswd with a webgenerator site, it says "Forbidden" currently the dir with .htaccesss
[07:07] <neurotus> i have AllowOverride All
[07:07] <neurotus> dont have htpasswd program that many guides refer to
[07:10] <neurotus> now have htpasswd from apache2-utils
[07:14] <neurotus> did htpasswd -c /var/www/html/poly/.htpasswd poly
[07:15] <neurotus> so everything should be okay
[07:16] <lordievader> Good morning
[07:17] <neurotus> morning lordievader
[07:18] <neurotus> -> cig
[07:18] <lordievader> Hey neurotus
[07:19] <neurotus> lordievader: any help with apache2 .htaccess would be appreciated
[07:21] <lordievader> What are you trying to accomplish?
[07:22] <neurotus> lordievader: basic user-auth
[07:24] <lordievader> Ok, where is the directory defined?
[07:25] <lordievader> That is where I have configured the basic auth.
[07:26] <neurotus> /var/www/html/poly
[07:28] <lordievader> neurotus: That is the directory, not apache's definition of it.
[07:28] <lordievader> Those are usually somewhere in /etc/apache2/
[07:39] <neurotus> darn, now the whole /var/www/html is protected and doesnt ask for password and not only the html/poly folder
[07:41] <lordievader> How did you configure the basic auth?
[07:45] <neurotus> i get 403 FORBIDDEN and it doest not ask for a password
[07:46] <lordievader> How did you configure the basic auth?
[07:46] <neurotus> lordievader: i just put .htaccess in /var/www/html/directory and put in apache2.conf AllowOverride All
[07:46] <lordievader> So you didn't configure anything?
[07:46] <neurotus> and did .htpasswd in directory
[07:46] <Ben64> if you remove .htaccess does the folder work
[07:51] <neurotus> Ben64: nope
[07:51] <Ben64> then fix that first
[07:54] <jamespage> morning all
[07:59] <neurotus> -> away
[10:36] <neurotus> i get "Forbidden" when i try to access my apache2, have purged apache2-data and apache2 and done a clean install
[10:37] <neurotus> i'm gonna purge them again and move /var/www as it isn't empty and check /etc
[10:50] <neurotus> ok, now working, had to do something with my contents of /var/www/html
[10:52] <neurotus> as they were not removed on purge of apache2
[11:10] <neurotus> what was that package that checked after apt-get update that no processess are using old files ?
[11:12] <jamespage> coreycb, I re-merged python-pbr from experimental but I had todo it the hard way
[11:12] <jamespage> downloaded the source package directly from ftp.debian.org and did it by hand
[11:12] <jamespage> coreycb, I think we can do 'syncs' the same way
[12:27] <jamespage> coreycb, syncs might be functional again in a bit - launchpad team are working on it
[13:08] <jordan_> does anyone here use openvpn-as?
[13:09] <coreycb> jamespage, ok good thanks
[13:09] <jordan_> does anyone know if there is a way to get openvpn-as on a intel server??
[13:15] <jordan_> |
[13:21] <jamespage> coreycb, ok syncs are possible again now - ceilometerclient done :-)
[13:21] <coreycb> jamespage, \o/
[13:22] <jamespage> coreycb, I think you can sync all of the clients yourself right?
[13:22] <jamespage> they are mostly/all seeded
[13:22] <jamespage> coreycb, ping me if you hit something not right
[13:23] <coreycb> jamespage, ok going to take a pass through them now
[13:23] <jamespage> coreycb, awesome
[13:23] <jamespage> that should make the core packages for rc1 build and uploadable
[13:24] <jordan_> does anyone know if there is a way to get openvpn-as on an intel server??
[13:26] <jpds> openvpn-as?
[13:27] <jordan_> Openvpn-access server. All I can find are packages for AMD servers but I have intel servers
[13:28] <RoyK> jordan_: why don't you just use the oss openvpn?
[13:28] <RoyK> jordan_: amd64 is the architecture intel uses these days
[13:28] <jordan_> ;-; I dont know how to setup the normal openvpn package
[13:28] <RoyK> jordan_: there are lots of docs out there, and it's not hard, also openvpn is free
[13:28] <RoyK> openvpn-as is not
[13:29] <jordan_> I see, Ill try and set it up because of you
[13:29] <RoyK> :)
[13:32] <jordan_> fails with 'dh1024.pem': No such file or directory ?????
[13:36] <Pici> jordan_: what does?
[13:42] <jpds> jordan_: Did you create that file?
[13:42] <jpds> jordan_: It's part of the openvpn RSA set up process
[13:49] <samba35> i have 8 gb ram with 3 guest and 2 guest with memory ballooning but it seems it is not using bollooning
[13:49] <samba35> it is using swap file
[13:50] <samba35> on kvm 14.04.3
[14:01] <jamespage> coreycb, problem with pysaml2?
[14:02] <coreycb> jamespage, yeah, haven't gotten back to it today but for some reason tests seemed to be running code in the .pc/ dir
[14:03] <RoyK> samba35: how much memory have you given those guests?
[14:03] <patdk-wk> 64kb
[14:03] <samba35> 2 gb and 2gb allocated with 1 gb ballon
[14:04] <jamespage> coreycb, is that required for keystoneclient?
[14:04] <coreycb> jamespage, yes
[14:05] <samba35> 64kb is suppose to be use ?
[14:05] <samba35> patdk-wk: ?
[14:05] <jamespage> coreycb, are we sure?
[14:05] <coreycb> jamespage, checking
[14:05] <jamespage> coreycb, i can't see it in either requirements or test-requirements
[14:05] <jamespage> coreycb, zigo had this wrong before
[14:06] <jamespage> in the packaging that is
[14:06] <coreycb> jamespage, ok yeah let me drop it and try building
[14:06] <jamespage> coreycb, zigo also added memcached - I lack context for why that's been added
[14:07] <patdk-wk> well, if your using cp/m or an apple][, sure
[14:07] <RoyK> samba35: he's probably just trolling as usual ;)
[14:08] <patdk-wk> :)
[14:08] <coreycb> jamespage, they both get hits when grepping the code
[14:10] <jamespage> coreycb, really?
[14:10]  * jamespage looks again
[14:10] <coreycb> jamespage, I think memcache is optional for tests
[14:11] <jamespage> coreycb, I really cant see any evidence of requirement for those two deps in keystoneclient
[14:11] <jamespage> keystone - yes - client -no
[14:11] <coreycb> jamespage, I don't think saml2 is needed, the only import of saml2 happens to be a keystoneclient file named saml2
[14:12] <jamespage> yes
[14:12] <coreycb> jamespage, I'm dropping them and rebuilding
[14:12] <jamespage> ok
[14:14] <jamespage> smb, is the dpdk in the NEW queue exactly the same as in your PPA?
[14:15] <smb> jamespage, It should be, though I forgot whether arges has not made some minimal changes like removing comments about fixme
[14:16] <jamespage> smb, I really need that into the archive
[14:16] <jamespage> I have todo the ovs bits as well
[14:16] <jamespage> and I'm running out of time window
[14:16] <smb> jamespage, we need some aa or are you one?
[14:24] <gQuigs> is there a chance to do a a 2.22 -> 2.23 bump for python-novaclient https://bugs.launchpad.net/cloud-archive/+bug/1499510?
[14:24] <gQuigs> or should I just do a request for the specific fix I need?
[14:25] <gQuigs> btw, do I want to get it into vivid first, and then it get's synced to CloudArchive?
[14:35] <smb> jamespage, ok so its not identical to the ppa but to what is in the lp git tree (ubuntu-wily branch)
[14:36] <smb> jamespage, beside the fixme there is one relevant change to call dh_install in binary indep which causes the examples to be packaged
[14:53] <mnaser> Would anyone know why a md raid-10 array have this type of io pattern? http://paste2.org/YDLGaLJW
[14:57] <RoyK> mnaser: what's in /proc/mdstat?
[14:58] <mnaser> RoyK: http://paste2.org/La4aHdHm
[14:58] <RoyK> mnaser: no idea - perhaps there's only a little space used and all that is on the first four drives?
[14:59] <RoyK> (first two mirrors=
[14:59] <RoyK> (first two mirrors)
[15:00] <mnaser> RoyK: it's a fresh new server so yes, but shouldn't reads come from all stripes?
[15:00] <RoyK> mnaser: perhaps better to ask on #linux-raid
[15:00] <RoyK> mnaser: I've never used r10 with md
[15:01] <mnaser> RoyK: thanks, i'll have a poke there
[15:58] <jamespage> coreycb, as I tagged keystone, I uploaded just now
[15:59] <coreycb> jamespage, thanks
[15:59] <jamespage> coreycb, heat versioning can be fixed up and re-uploaded as we got the broken one dropped from proposed
[15:59] <coreycb> jamespage, ok
[15:59] <coreycb> jamespage, keystoneclient py3 tests are not happy, 40 failures
[16:00] <coreycb> jamespage, most of the other clients are in good shape now though
[16:00] <jamespage> coreycb, ack
[16:09] <jamespage> coreycb, that should unblock alot of core package uploads - test everything via PPA first and then shove them in the queue for release team to review
[16:13] <coreycb> jamespage, ok. I'm testing in here btw: https://launchpad.net/~corey.bryant/+archive/ubuntu/wily
[16:14] <jamespage> coreycb, awesome
[18:40] <nch> hello, I moved the content of / of my mdadm raid lvm volume to a new hard drive partition and installed grub manually on the new hard drive, the system is running but I cant start several services and when I try to use tab for autocompletion in directory navigation it tells me: -bash: cannot create temp file for here-document: Permission denied
[18:41] <nch> what is wrong here? The syslog file is also clear :\
[18:42] <sarnold> nch: feels like you might have incorrect permissions on a directory somewhere
[18:42] <sarnold> nch: /tmp feels quite likely; try ls -ld /tmp
[18:42] <nch> sarnold: it gives me that: "drwxr-xr-t 5 1777 root 4096 Sep 25 20:40 tmp"
[18:43] <sarnold> aha, that's probably it ;)
[18:43] <sarnold> nch: chown 0:0 /tmp ;  chmod 1777 /tmp  ; check it again
[18:45] <nch> now it gives me that: drwxrwxrwt 5 root root 4096 Sep 25 20:45 tmp
[18:46] <nch> but it is still not working
[18:46] <nch> sarnold: any other idea why syslog gets no entries and my apps are not starting due to permission errors I guess?
[18:47] <sarnold> nch: hmm, you may have more permissions problems; I was hoping that'd be the only one
[18:48] <sarnold> I don't know off-hand any way to automate looking for them on ubuntu system
[18:48] <nch> sanold: but why? I just copied the whole content of / with cp :\
[18:49] <sarnold> nch: cp doesn't copy permissions and owner and group information unless you request it specifically with e.g. cp -a or fiddle with --preserve ...
[18:49] <nch> well shit -.-
[18:49] <sarnold> nch: if you copied a whole system withuot cp -a you may find it easier to start over
[18:50] <nch> Ok now I dont have the original / is there any way to change the permissions for the whole system?
[18:50] <sarnold> nch: another possibility is to fix errors one at a time until you get a point tha tyou can run apt-get install --reinstall ... on every package on the system
[18:52] <nch> sarnold: well shit
[18:52] <sarnold> nch: that sounds like a pretty fair summary of the situation :)
[18:53] <nch> sarnold: well yes, I have no plan what to do now :\
[18:53] <sarnold> nch: I'm actually surprised it booted far enough for you to get to a shell that lets you solve problems. it could be worse.
[18:54] <sarnold> nch: but there's no denyuing that fixing this will be painful.
[18:54] <nch> sarnold: yes the boot was no problem, also samba and its network shares are working fine but the rest not^^
[18:55] <sarnold> nch: check ls -ld output for a huge number of directories; /etc /etc/init* /etc/rc* /bin /usr/bin/ /sbin/ /usr/sbin/ etc etc..
[18:56] <nch> nch@media:/$ ls -ld /etc drwxr-xr-x 112 root root 4096 Sep 25 20:03 /etc
[18:56] <nch> nch@media:/$ ls -ld /bin drwxr-xr-x 2 root root 4096 Sep 25 04:45 /bin
[18:56] <nch> sarnold: well that looks good so far
[20:14] <Slugs_> I’m trying to setup a raid using mdadm ( i don’t have dmraid installed) and i have created 4 partitions using fdisk.  When i try to create the array i get …..
[20:14] <Slugs_> openstack@openstack:~$ sudo mdadm --create --verbose /dev/md0 --level=stripe --raid-devices=4 /dev/sd[abcd]1
[20:14] <Slugs_> mdadm: super1.x cannot open /dev/sda1: Device or resource busy
[20:14] <Slugs_> mdadm: ddf: Cannot use /dev/sda1: Device or resource busy
[20:14] <Slugs_> mdadm: Cannot use /dev/sda1: It is busy
[20:14] <Slugs_> mdadm: cannot open /dev/sda1: Device or resource busy
[20:17] <RoyK> Slugs_: first of all, why partitions?
[20:18] <Slugs_> Hi RoyK
[20:18] <Slugs_> well, that’s one of the guides i followed online
[20:18] <Slugs_> don
[20:18] <Slugs_> i can delete the partitions
[20:19] <RoyK> Slugs_: and --level=stripe - is that like russian roulette
[20:19] <Slugs_> lol
[20:19] <Slugs_> yeah i know you and i discussed this, i didn’t care about data loss
[20:20] <jrwren> partitions are good.
[20:20] <RoyK> jrwren: nah
[20:20] <RoyK> jrwren: using raw disks is better
[20:20] <jrwren> why?
[20:20] <RoyK> jrwren: helps things when you want to extend
[20:20] <jrwren> how?
[20:20] <RoyK> jrwren: why do you want those partitions anyway?
[20:20] <jrwren> need everything to start offset a few MB so I can keep bootsectors at start of disk.
[20:21] <RoyK> jrwren: hey! I have a partition! it's 2TB!
[20:21] <jrwren> right, 2TB minus 2MB so that I can boot from any disk in the set
[20:21] <RoyK> jrwren: don't use the OS disks for data
[20:21] <jrwren> why?
[20:21] <RoyK> jrwren: use data disks for data, use separate OS disks
[20:21] <jrwren> why?
[20:21] <RoyK> jrwren: because it makes things easier
[20:21] <RoyK> jrwren: recovery etc
[20:22] <jrwren> how?
[20:22] <Slugs_> lol
[20:22] <RoyK> jrwren: but then, I've only worked with this for 20+ years :P
[20:22] <jrwren> could it be the same year 20 times? :p
[20:22] <RoyK> jrwren: take a good advice, please
[20:22] <jrwren> why?
[20:23] <RoyK> jrwren: just google it
[20:23] <jrwren> ok.
[20:23]  * RoyK is not in a mood of teaching idiots how to ignore advices
[20:23] <Slugs_> ok so i have 4 disks, all 4TB a peice
[20:23] <Slugs_> used only for data
[20:23] <RoyK> Slugs_: why raid0
[20:24] <Slugs_> i was doing it for speed.
[20:24] <Slugs_> but i think yiou migfht have said not really good performance with 4 TB disks anyway
[20:24] <RoyK> Slugs_: you'll get the same speed of a raid5 with 3 drives as a raid0 of 4 drives, sequencially
[20:24] <Slugs_> what do i do with the other disk?
[20:24] <RoyK> Slugs_: and it saves a day or three if you use raid5
[20:25] <RoyK> when that one drive dies
[20:25] <RoyK> and it will
[20:25] <Slugs_> yeah
[20:25] <Slugs_> ok
[20:25] <Slugs_> what do i do with the 4th disk though?
[20:25] <jrwren> Slugs_: alternatively, you can test it both ways and measure for your specific application and use which works best for you.
[20:26] <Slugs_> yeah makes sense
[20:26] <RoyK> Slugs_: just use a single drive, even a thumb drive, for the root
[20:26] <RoyK> Slugs_: then use the 4TB things in raid5
[20:26] <Slugs_> yeah i have 1 500 gb for root
[20:26] <Slugs_> and 4, 4TB drives for data
[20:26] <RoyK> nice
[20:27] <RoyK> Slugs_: then create a raid5 on those
[20:27] <RoyK> Slugs_: you can change to raid0 later if you want
[20:27] <jrwren> Slugs_: so your 1 500GB is /dev/sde ?
[20:27] <Slugs_> ok so i can do raid5 on 4 disks then
[20:27] <Slugs_> jrwren: yes exactly
[20:27] <RoyK> Slugs_: just use raid5 on those, directly on the disks
[20:27] <RoyK> Slugs_: no partitions needed
[20:27] <jrwren> Slugs_: good. just making sure it isn't sda. :)
[20:28] <Slugs_> how did you know thaT?
[20:28] <RoyK> lsscsi?
[20:28] <RoyK> jrwren: it doesn't matter if it it's called sda or not
[20:28] <jrwren> RoyK: it would matter if the 500GB disk is sda, and he just ran mdadm passing sda1 as a partition to use.
[20:29] <RoyK> jrwren: it wouldn't work
[20:29] <jrwren> Slugs_: good luck.
[20:29] <jrwren> RoyK: exactly. and Slugs_ said, 'this command doesn't work"
[20:29] <jrwren> specifically /dev/sda1 in use.
[20:29] <RoyK> Slugs_: pastebin lsscsi or output of /proc/partitions, please
[20:30] <RoyK> or both
[20:30] <RoyK> or output of lsblk
[20:30] <Slugs_> ok
[20:31] <Slugs_> i just deleted the parttions though… one sec
[20:31] <Slugs_> http://pastebin.com/bT6faShV
[20:32] <RoyK> ok, sde is the root?
[20:32] <Slugs_> yes it has the OS on it
[20:32] <Slugs_> http://pastebin.com/4R5w304i
[20:33] <Slugs_> here is the output of lsblk
[20:33] <RoyK> then mdadm --create --level=5 --raid-devices=4 /dev/md0 /dev/sd{a..d}
[20:33] <Slugs_> i don’t have lsscsi
[20:33] <RoyK> no need
[20:33] <RoyK> you can install it later
[20:33] <Slugs_> mdadm: cannot open /dev/sda: Device or resource busy
[20:34] <Slugs_> oh wait i did have this error
[20:34] <Slugs_> one sec
[20:34] <RoyK> what does mount say?
[20:34] <RoyK> is sda1 mounted?
[20:34] <Slugs_> not in df -h
[20:34] <jrwren> Slugs_: i noticed the openstack vg name. are you going to run swift on that storage?
[20:34] <Slugs_> is there another way to tell?
[20:35] <Slugs_> jrwren: id like to use it as blockstorage yes
[20:35] <Slugs_> cinder
[20:35] <jrwren> Slugs_: swift backed cinder?
[20:35] <RoyK> Slugs_: raid0 for blockstorage?
[20:35] <RoyK> you must be insane
[20:36] <Slugs_> i was testing out speed, it wasn’t a final configuration
[20:36] <Slugs_> just testing
[20:36] <Slugs_> not planning on using it…
[20:36] <jrwren> Slugs_: i'll assume it is not production and not call you names :)
[20:36] <Slugs_> ;)
[20:36] <Slugs_> thanks
[20:36] <RoyK> what does /proc/mdstat have to say?
[20:36] <RoyK> or pvs
[20:37] <Slugs_> Personalities :
[20:37] <Slugs_> unused devices: <none>
[20:37] <Slugs_>   PV         VG           Fmt  Attr PSize   PFree
[20:37] <Slugs_>   /dev/sde5  openstack-vg lvm2 a--  465.52g 52.00m
[20:37] <RoyK> ok
[20:37] <RoyK> can fdisk access /dev/sda?
[20:37] <Slugs_> yes
[20:37] <RoyK> and delete that partition?
[20:38] <Slugs_> WARNING: Re-reading the partition table failed with error 25: Inappropriate ioctl for device.
[20:38] <Slugs_> The kernel still uses the old table. The new table will be used at
[20:38] <Slugs_> the next reboot or after you run partprobe(8) or kpartx(8)
[20:38] <Slugs_> then i ran partprobe
[20:38] <Slugs_> didn’t give any errors, but i guess something is still confused
[20:39] <RoyK> remove the partition and reboot
[20:39] <Slugs_> ok
[20:39] <Slugs_> rebooting ....
[20:43] <RoyK> ...
[20:43] <Slugs_> it’s back up
[20:44] <Slugs_> oh boy
[20:44] <RoyK> pastebin lsblk again
[20:44] <Slugs_> ok
[20:44] <RoyK> or did mdadm --create work?
[20:44] <Slugs_> http://pastebin.com/aECe1zwt
[20:44] <Slugs_> no the drive names changed
[20:45] <Slugs_> good thing i didn’t just run it
[20:45] <Slugs_> well like you said it might not have letme
[20:45] <Slugs_> let me*
[20:45] <RoyK> ok, so mdadm --create /dev/md0 --raid-devices=4 --level=5 /dev/sd{b..e}
[20:46] <RoyK> dev names change
[20:46] <RoyK> md uses UUIDs to determine which drives are what
[20:46] <Slugs_> it worked
[20:47] <RoyK> then vgcreate
[20:47] <RoyK> and lvcreate
[20:47] <RoyK> and put a filesystem on top of the lv
[20:47] <Slugs_> the guide said , assemble
[20:47] <Slugs_> so… this is diff
[20:47]  * Slugs_ is looking up vgcreate and lvcreate
[20:47] <RoyK> assemble is what you do when things mess up
[20:48] <Slugs_> i see
[20:48] <RoyK> apt-get install lvm2
[20:48] <RoyK> but that's probably installed already
[20:48] <RoyK> pvcreate /dev/md0
[20:48] <Slugs_> it is
[20:48] <RoyK> vgcreate mysuperdata /dev/md0
[20:49] <RoyK> lvcreate -l 100%FREE veryimportantdata mysuperdata
[20:49] <RoyK> or something about that
[20:50] <jrwren> Slugs_: what guide?
[20:50] <Slugs_> one that sucks i guess
[20:50] <Slugs_> https://help.ubuntu.com/community/Installation/SoftwareRAID
[20:51] <RoyK> Slugs_: did you create the pv or vg?
[20:51] <Slugs_> yes RoyK just working on the lvcreate and seeing what that did
[20:52] <RoyK> it creates a logical volume
[20:52] <jrwren> Slugs_: server guide has this: https://help.ubuntu.com/lts/serverguide/advanced-installation.html  for future reference
[20:52] <RoyK> one you need for putting a fs on
[20:52] <Slugs_> ok
[20:52] <Slugs_> jrwren: thank you
[20:52] <RoyK> so after creating the lv
[20:52] <RoyK> what did you name it? what did you name the vg?
[20:53] <Slugs_> vg = data
[20:53] <Slugs_> what’s the veryimportantdata part?
[20:53] <RoyK> just a name
[20:53] <Slugs_> descrioption/?
[20:53] <Slugs_> ok
[20:54] <RoyK> you can rename it or remove it
[20:55] <Slugs_> hmm
[20:55] <Slugs_> root@openstack:/home/openstack# lvcreate -l 100%FREE /dev/md0 data
[20:55] <RoyK> lvs
[20:55] <Slugs_> ?
[20:55] <Slugs_>   Volume group "md0" not found
[20:55] <RoyK> if you didn't give it a name, it'll be named automatically
[20:56] <RoyK> erm
[20:56] <Slugs_> oh i see
[20:56] <Slugs_>   Logical volume "lvol0" created
[20:56] <RoyK> lvcreate -n myname -l 100%FREE data
[20:56] <Slugs_>   lvol0  data         -wi-a----  10.92t
[20:56] <Slugs_> i can rename it then,,, ok
[20:56] <RoyK> lvrename
[20:58] <Slugs_> what’s the path for the logical volume
[20:58] <Slugs_> root@openstack:/home/openstack# lvrename lvol0 UMS
[20:58] <Slugs_>   Path required for Logical Volume "lvol0"
[20:58] <RoyK> Slugs_: from the manual        lvrename /dev/vg02/lvold vg02/lvnew
[20:59] <Slugs_> ok got it
[21:00] <Slugs_> now i guess all i need is a filesystem on it?
[21:00] <RoyK> then put a filesystem on it
[21:00] <RoyK> I'd suggest xfs for most use
[21:00] <RoyK> ext4 isn't too good on large things
[21:00] <RoyK> I spent eight hours waiting for a 8TB ext4 filesystem doing fsck two days back
[21:00] <Slugs_> mkfs.xfs /dev/mapper/data-lvol0
[21:01] <Slugs_> oh my
[21:01] <RoyK> mhm
[21:01] <Slugs_> ok
[21:01] <RoyK> then add to /etc/fstab
[21:01] <RoyK> mount -a
[21:01] <RoyK> the normal things
[21:02] <Slugs_> ive seen so many different posts on what to put in your fstab file
[21:02] <qman__> I personally have misgivings about xfs but I admit it's from anecdotal experiences
[21:03] <RoyK> Slugs_: /dev/mapper/data-lvol0 /mountpoint xfs defaults 0 0
[21:03] <RoyK> qman__: probably anectdotal
[21:04] <ianorlyn> I think the unable to shrink it makes it not be defualt for lots of desktop but not really sure why most servers you would want to shrink a partition that much
[21:04] <ianorlyn> although sparse files is  a nice feature
[21:04] <qman__> I've lost data several times with xfs, never with ext3 or ext4
[21:04] <RoyK> ianorlyn: most filesystems won't be shrunk
[21:04] <Slugs_> RoyK: is mount -a supposed to just automuont this new fs?
[21:04] <RoyK> Slugs_: yes
[21:04] <sarnold> the only filesystem I've seen shrink was FAT, via the fips tool. scary as hell.
[21:05] <Slugs_> nothing appears to happen when i type df, or is it not suppoosed to show up there/
[21:05] <RoyK> Slugs_: but that data-lvol0 may be different when you changed the name of the lv
[21:05] <Slugs_> im not going to bother changing it
[21:05] <jrwren> how is the sparse files feature different in xfs v. ext4?
[21:05] <RoyK> Slugs_: pastebin lvs
[21:06] <RoyK> jrwren: hardly
[21:06] <Slugs_> http://pastebin.com/eFjJA9zy
[21:07] <jrwren> i've shrunk ext4 many times. it works nicely.
[21:07] <sarnold> jrwren: that's even scarier :)
[21:07] <RoyK> Slugs_: so /dev/data/lvol0 /data xfs defaults 0 0
[21:07] <Slugs_> ok
[21:07] <qman__> I've also run into the problem with xfs where you can't add any more files even though there's more space because the first block thing is full
[21:08] <RoyK> Slugs_: just create /data first
[21:08] <qman__> I forget what it's called
[21:08] <jrwren> sarnold: i should have been more scared than I was. i shrunk without backup! ;]
[21:08] <sarnold> jrwren: brave brave brave :) hehe
[21:09] <RoyK> qman__: I have this neat 25TB filesystem on xfs - works well
[21:09] <qman__> I've shrunk ext file systems without problems too
[21:09] <Slugs_> RoyK: Thank you!
[21:09] <RoyK> Slugs_: ;)
[21:09] <Slugs_> 11 TB
[21:09] <ianorlyn> although the man pages for xfsprogs and e2fsprogs contain some nice looking options
[21:09] <qman__> RoyK: this was a 110tb fs that was expanded
[21:09] <RoyK> qman__: oops
[21:10] <qman__> Yeah, customer made some unwise choices, nothing I could do by the time I got to it
[21:10] <RoyK> qman__: a restore from tape to that would take some time
[21:10] <jrwren> sarnold: i'm too stupid to be brave :)   truthful, its my data, I considered the risk of doing it with backup and not, and made a decision
[21:10] <qman__> They let it fill 100% then expanded
[21:11] <RoyK> Slugs_: does it work?
[21:11] <ianorlyn> worst backup solution ever raid 0 tape drives
[21:11] <Slugs_> RoyK: yes
[21:11] <Slugs_> I guess it’s initializing or something
[21:11] <Slugs_> i did /proc/mdstat
[21:11] <Slugs_> and it appears to be initializing i guess
[21:11] <RoyK> Slugs_: give it a reboot to see if it's coming up correctly
[21:12] <Slugs_>       [>....................]  recovery =  4.2% (167079192/3906887168) finish=491.0min speed=126940K/sec
[21:12] <Slugs_> what about this...
[21:12] <RoyK> Slugs_: it needs to initiate the raid
[21:12] <RoyK> or initialise
[21:12] <Slugs_> should i reboot now or wait
[21:12] <RoyK> wait
[21:12] <Slugs_> ok
[21:12] <qman__> Makes no difference really
[21:12] <qman__> If you reboot it will resume
[21:13] <Slugs_> oh, not start over?
[21:13] <RoyK> qman__: does ubuntu boot with degraded now?
[21:13] <Slugs_> i read a post it did
[21:13] <qman__> Oh, that might be a headache, forgot about that
[21:14] <RoyK> Slugs_: dpkg-reconfigure mdraid
[21:14] <RoyK> Slugs_: and choose boot degraded
[21:14] <Slugs_> it’s not a boot drive though, is that ok?
[21:15] <RoyK> Slugs_: some idiots have chosen ubuntu not to boot with degraded raid
[21:15] <RoyK> that's what raid is for for fscks sake
[21:15] <Slugs_> wow, so if your raid becomes degraded……. you can’t boot of your non raid boot drive?
[21:15] <Slugs_> off*
[21:15] <qman__> Because it's "safer" for those who don't monitor their systems
[21:16] <RoyK> qman__: heh
[21:16] <qman__> Forces them to fix it rather than let it die
[21:16] <RoyK> qman__: doesn't make sense
[21:16] <Slugs_> am i right and what your saying?
[21:16] <qman__> Yeah, I don't agree with it either, but that's the reasoning
[21:17] <RoyK> qman__: a system that lets you do an rm -f anywhere and not letting the system boot without a drive in a raid?
[21:17] <qman__> I also don't agree with grub halting on failure to boot
[21:17] <qman__> Causing lots of annoying unnecessary dispatches that
[21:18] <RoyK> Slugs_: just reconfigure that and try a reboot
[21:18] <Slugs_> http://pastebin.com/EwqXCWMB
[21:18] <RoyK> Slugs_: it'll show how well the system works with a failed drive
[21:18] <qman__> The power flickering a couple times shouldn't stop the system from booting when it comes back
[21:19] <RoyK> Slugs_: that's the data storage, not your boot device
[21:19] <Slugs_> ok
[21:19] <RoyK> Slugs_:
[21:20] <Slugs_> ok rebooting
[21:20] <Slugs_> down...
[21:22] <RoyK> damn - home server went down :(
[21:29] <Slugs_> back up RoyK
[21:29] <Slugs_> df -h
[21:29] <Slugs_> looks like it picked up where it left off
[21:30] <Slugs_> so if i wouldnt have installed dmraid, and a drive when down i would not be able to boot/>
[21:30] <Slugs_> ?
[21:30] <Slugs_> i have to write all this down...
[21:38] <qman__> I use partitions not only because of the boot feature, but also to prevent data loss in the event of a misguided partitioning tool or grub install, and also because I've run into instances where one type of hard drive is just slightly larger or smaller than another
[21:39] <qman__> A 2mb buffer can save you when the replacement disk you bought is a block smaller than the one it's replacing
[21:41] <qman__> It also makes it apparent what's on the disk in a recovery scenario
[22:38] <th3s3_3y3s> Where is the module block list. Looks like I disabled blutooth due to an ipv6 network runnung by default.
[23:23] <th3s3_3y3s> Ruben
[23:23] <th3s3_3y3s> Do you want to install man in eden folder?
[23:24] <th3s3_3y3s> Enough shah on me yet?
[23:24] <th3s3_3y3s> What is the lady in red for?
[23:24] <th3s3_3y3s> Is there a different rib?
[23:28] <th3s3_3y3s> The pabdora network U disabled.
[23:29] <th3s3_3y3s> Youns need to plug into my skynet.
[23:29] <th3s3_3y3s> Usb has a 30 ft radius. This is red security zone.
[23:30] <th3s3_3y3s> So far looking bad.
[23:30] <th3s3_3y3s> Send chopper to pick up man and install man in a 30 ft shielded room.
[23:32] <th3s3_3y3s> Usb bluetooth has been causing a priblem.
[23:32] <th3s3_3y3s> Its been shooting out signals.