/srv/irclogs.ubuntu.com/2015/09/25/#ubuntu-server.txt

sarnoldjordanrandles: are there any errors or warnings logged in any log files that look relevant?00:00
jordanrandlessarnold: 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 openvpn00:02
jordanrandlesIts not taking any input from the keyboard00:12
jordanrandlesit seems like the server only does this using Linux 3.1600:23
jordanrandlesBut 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:24
sarnoldyou could edit your grub menu to only include the 3.13 kernel, or uninstall the 3.16 kernels..00:26
sarnoldbut 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:27
jordanrandlesSo what do I do to fix this?00:28
jordanrandlesOr find out if that is the problem?00:28
=== markthomas is now known as markthomas|away
jvwjgamesNo internet from my server need help02:21
jvwjgamesI had to go earlier and was not able to fix the issue02:21
sarnoldjvwjgames: 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 errors02:23
sarnoldjvwjgames: make sure you've got good link light from both NICs; replace endpoints if you need to02:23
sarnoldjvwjgames: check ip addr show and ip route show output on both hosts, make sure they make sense02:24
jvwjgamesWhenever I ping or traceroute I get interface IP as reply regardless of what the destination is02:24
sarnoldjvwjgames: 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:24
jvwjgamesSee my post above ^^02:25
TJ-jvwjgames: is the IP address assigned by DHCP, or manually set?02:27
jvwjgamesManually02:27
jvwjgamesAnd I do know it's right cause I tested it before02:28
sarnoldjvwjgames: 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 interface02:28
jvwjgamesOk02:29
=== _Jeepbeats is now known as Jeepbeats
DammitJimI'm having issues with a domain user authenticating when I try to log on03:43
DammitJimthe workstation has been joined to the domain03:43
hellslingerhi guys, does anyone know where UFW gets started in the boot process? where can I find out?03:49
=== CiPi is now known as cipi
=== cipi is now known as CiPi
neurotusi'm having problems enabling htaccess on my apache2 ubuntu 14.0407:04
neurotusi have default install and have done .htaccess and .htpasswd with a webgenerator site, it says "Forbidden" currently the dir with .htaccesss07:06
neurotusi have AllowOverride All07:07
neurotusdont have htpasswd program that many guides refer to07:07
neurotusnow have htpasswd from apache2-utils07:10
neurotusdid htpasswd -c /var/www/html/poly/.htpasswd poly07:14
neurotusso everything should be okay07:15
lordievaderGood morning07:16
neurotusmorning lordievader07:17
neurotus-> cig07:18
lordievaderHey neurotus07:18
neurotuslordievader: any help with apache2 .htaccess would be appreciated07:19
=== wmp is now known as Guest59283
=== Guest59283 is now known as wiuempe
lordievaderWhat are you trying to accomplish?07:21
neurotuslordievader: basic user-auth07:22
lordievaderOk, where is the directory defined?07:24
lordievaderThat is where I have configured the basic auth.07:25
neurotus/var/www/html/poly07:26
lordievaderneurotus: That is the directory, not apache's definition of it.07:28
lordievaderThose are usually somewhere in /etc/apache2/07:28
neurotusdarn, now the whole /var/www/html is protected and doesnt ask for password and not only the html/poly folder07:39
lordievaderHow did you configure the basic auth?07:41
neurotusi get 403 FORBIDDEN and it doest not ask for a password07:45
lordievaderHow did you configure the basic auth?07:46
neurotuslordievader: i just put .htaccess in /var/www/html/directory and put in apache2.conf AllowOverride All07:46
lordievaderSo you didn't configure anything?07:46
neurotusand did .htpasswd in directory07:46
Ben64if you remove .htaccess does the folder work07:46
neurotusBen64: nope07:51
Ben64then fix that first07:51
jamespagemorning all07:54
neurotus-> away07:59
=== jordan_ is now known as T3DDY
=== trick is now known as Guest81882
neurotusi get "Forbidden" when i try to access my apache2, have purged apache2-data and apache2 and done a clean install10:36
neurotusi'm gonna purge them again and move /var/www as it isn't empty and check /etc10:37
neurotusok, now working, had to do something with my contents of /var/www/html10:50
neurotusas they were not removed on purge of apache210:52
neurotuswhat was that package that checked after apt-get update that no processess are using old files ?11:10
jamespagecoreycb, I re-merged python-pbr from experimental but I had todo it the hard way11:12
jamespagedownloaded the source package directly from ftp.debian.org and did it by hand11:12
jamespagecoreycb, I think we can do 'syncs' the same way11:12
=== Lcawte|Away is now known as Lcawte
jamespagecoreycb, syncs might be functional again in a bit - launchpad team are working on it12:27
jordan_does anyone here use openvpn-as?13:08
coreycbjamespage, ok good thanks13:09
jordan_does anyone know if there is a way to get openvpn-as on a intel server??13:09
jordan_|13:15
jamespagecoreycb, ok syncs are possible again now - ceilometerclient done :-)13:21
coreycbjamespage, \o/13:21
jamespagecoreycb, I think you can sync all of the clients yourself right?13:22
jamespagethey are mostly/all seeded13:22
jamespagecoreycb, ping me if you hit something not right13:22
coreycbjamespage, ok going to take a pass through them now13:23
jamespagecoreycb, awesome13:23
jamespagethat should make the core packages for rc1 build and uploadable13:23
jordan_does anyone know if there is a way to get openvpn-as on an intel server??13:24
jpdsopenvpn-as?13:26
jordan_Openvpn-access server. All I can find are packages for AMD servers but I have intel servers13:27
RoyKjordan_: why don't you just use the oss openvpn?13:28
RoyKjordan_: amd64 is the architecture intel uses these days13:28
jordan_;-; I dont know how to setup the normal openvpn package13:28
RoyKjordan_: there are lots of docs out there, and it's not hard, also openvpn is free13:28
=== Lcawte is now known as Lcawte|Away
RoyKopenvpn-as is not13:28
jordan_I see, Ill try and set it up because of you13:29
RoyK:)13:29
jordan_fails with 'dh1024.pem': No such file or directory ?????13:32
Picijordan_: what does?13:36
jpdsjordan_: Did you create that file?13:42
jpdsjordan_: It's part of the openvpn RSA set up process13:42
samba35i have 8 gb ram with 3 guest and 2 guest with memory ballooning but it seems it is not using bollooning13:49
samba35it is using swap file13:49
samba35on kvm 14.04.313:50
jamespagecoreycb, problem with pysaml2?14:01
coreycbjamespage, yeah, haven't gotten back to it today but for some reason tests seemed to be running code in the .pc/ dir14:02
RoyKsamba35: how much memory have you given those guests?14:03
patdk-wk64kb14:03
samba352 gb and 2gb allocated with 1 gb ballon14:03
jamespagecoreycb, is that required for keystoneclient?14:04
coreycbjamespage, yes14:04
samba3564kb is suppose to be use ?14:05
samba35patdk-wk: ?14:05
jamespagecoreycb, are we sure?14:05
coreycbjamespage, checking14:05
jamespagecoreycb, i can't see it in either requirements or test-requirements14:05
jamespagecoreycb, zigo had this wrong before14:05
jamespagein the packaging that is14:06
coreycbjamespage, ok yeah let me drop it and try building14:06
jamespagecoreycb, zigo also added memcached - I lack context for why that's been added14:06
patdk-wkwell, if your using cp/m or an apple][, sure14:07
RoyKsamba35: he's probably just trolling as usual ;)14:07
patdk-wk:)14:08
coreycbjamespage, they both get hits when grepping the code14:08
jamespagecoreycb, really?14:10
* jamespage looks again14:10
coreycbjamespage, I think memcache is optional for tests14:10
jamespagecoreycb, I really cant see any evidence of requirement for those two deps in keystoneclient14:11
jamespagekeystone - yes - client -no14:11
coreycbjamespage, I don't think saml2 is needed, the only import of saml2 happens to be a keystoneclient file named saml214:11
jamespageyes14:12
coreycbjamespage, I'm dropping them and rebuilding14:12
jamespageok14:12
jamespagesmb, is the dpdk in the NEW queue exactly the same as in your PPA?14:14
smbjamespage, It should be, though I forgot whether arges has not made some minimal changes like removing comments about fixme14:15
jamespagesmb, I really need that into the archive14:16
jamespageI have todo the ovs bits as well14:16
jamespageand I'm running out of time window14:16
smbjamespage, we need some aa or are you one?14:16
gQuigsis 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
ubottuLaunchpad bug 1499510 in python-novaclient (Ubuntu) "In Kilo Upgrade python-novaclient to 2.23" [Undecided,New]14:24
gQuigsor should I just do a request for the specific fix I need?14:24
gQuigsbtw, do I want to get it into vivid first, and then it get's synced to CloudArchive?14:25
smbjamespage, ok so its not identical to the ppa but to what is in the lp git tree (ubuntu-wily branch)14:35
smbjamespage, beside the fixme there is one relevant change to call dh_install in binary indep which causes the examples to be packaged14:36
mnaserWould anyone know why a md raid-10 array have this type of io pattern? http://paste2.org/YDLGaLJW14:53
RoyKmnaser: what's in /proc/mdstat?14:57
mnaserRoyK: http://paste2.org/La4aHdHm14:58
RoyKmnaser: no idea - perhaps there's only a little space used and all that is on the first four drives?14:58
RoyK(first two mirrors=14:59
RoyK(first two mirrors)14:59
mnaserRoyK: it's a fresh new server so yes, but shouldn't reads come from all stripes?15:00
RoyKmnaser: perhaps better to ask on #linux-raid15:00
RoyKmnaser: I've never used r10 with md15:00
mnaserRoyK: thanks, i'll have a poke there15:01
=== markthomas|away is now known as markthomas
jamespagecoreycb, as I tagged keystone, I uploaded just now15:58
coreycbjamespage, thanks15:59
jamespagecoreycb, heat versioning can be fixed up and re-uploaded as we got the broken one dropped from proposed15:59
coreycbjamespage, ok15:59
coreycbjamespage, keystoneclient py3 tests are not happy, 40 failures15:59
coreycbjamespage, most of the other clients are in good shape now though16:00
jamespagecoreycb, ack16:00
=== Lcawte|Away is now known as Lcawte
jamespagecoreycb, that should unblock alot of core package uploads - test everything via PPA first and then shove them in the queue for release team to review16:09
coreycbjamespage, ok. I'm testing in here btw: https://launchpad.net/~corey.bryant/+archive/ubuntu/wily16:13
jamespagecoreycb, awesome16:14
=== CiPi is now known as cipi
=== cipi is now known as CiPi
=== Lcawte is now known as Lcawte|Away
nchhello, 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 denied18:40
nchwhat is wrong here? The syslog file is also clear :\18:41
sarnoldnch: feels like you might have incorrect permissions on a directory somewhere18:42
sarnoldnch: /tmp feels quite likely; try ls -ld /tmp18:42
nchsarnold: it gives me that: "drwxr-xr-t 5 1777 root 4096 Sep 25 20:40 tmp"18:42
sarnoldaha, that's probably it ;)18:43
sarnoldnch: chown 0:0 /tmp ;  chmod 1777 /tmp  ; check it again18:43
nchnow it gives me that: drwxrwxrwt 5 root root 4096 Sep 25 20:45 tmp18:45
nchbut it is still not working18:46
nchsarnold: any other idea why syslog gets no entries and my apps are not starting due to permission errors I guess?18:46
sarnoldnch: hmm, you may have more permissions problems; I was hoping that'd be the only one18:47
sarnoldI don't know off-hand any way to automate looking for them on ubuntu system18:48
nchsanold: but why? I just copied the whole content of / with cp :\18:48
=== wmp is now known as Guest36842
sarnoldnch: 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
nchwell shit -.-18:49
sarnoldnch: if you copied a whole system withuot cp -a you may find it easier to start over18:49
=== bitbyte_ is now known as bitbyte
nchOk now I dont have the original / is there any way to change the permissions for the whole system?18:50
sarnoldnch: 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 system18:50
nchsarnold: well shit18:52
sarnoldnch: that sounds like a pretty fair summary of the situation :)18:52
nchsarnold: well yes, I have no plan what to do now :\18:53
sarnoldnch: 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:53
sarnoldnch: but there's no denyuing that fixing this will be painful.18:54
=== TheEternalAbyss is now known as Guest44026
nchsarnold: yes the boot was no problem, also samba and its network shares are working fine but the rest not^^18:54
sarnoldnch: check ls -ld output for a huge number of directories; /etc /etc/init* /etc/rc* /bin /usr/bin/ /sbin/ /usr/sbin/ etc etc..18:55
nchnch@media:/$ ls -ld /etc drwxr-xr-x 112 root root 4096 Sep 25 20:03 /etc18:56
nchnch@media:/$ ls -ld /bin drwxr-xr-x 2 root root 4096 Sep 25 04:45 /bin18:56
nchsarnold: well that looks good so far18:56
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]120:14
Slugs_mdadm: super1.x cannot open /dev/sda1: Device or resource busy20:14
Slugs_mdadm: ddf: Cannot use /dev/sda1: Device or resource busy20:14
Slugs_mdadm: Cannot use /dev/sda1: It is busy20:14
Slugs_mdadm: cannot open /dev/sda1: Device or resource busy20:14
RoyKSlugs_: first of all, why partitions?20:17
Slugs_Hi RoyK20:18
Slugs_well, that’s one of the guides i followed online20:18
Slugs_don20:18
Slugs_i can delete the partitions20:18
RoyKSlugs_: and --level=stripe - is that like russian roulette20:19
Slugs_lol20:19
Slugs_yeah i know you and i discussed this, i didn’t care about data loss20:19
jrwrenpartitions are good.20:20
RoyKjrwren: nah20:20
RoyKjrwren: using raw disks is better20:20
jrwrenwhy?20:20
RoyKjrwren: helps things when you want to extend20:20
jrwrenhow?20:20
RoyKjrwren: why do you want those partitions anyway?20:20
jrwrenneed everything to start offset a few MB so I can keep bootsectors at start of disk.20:20
RoyKjrwren: hey! I have a partition! it's 2TB!20:21
jrwrenright, 2TB minus 2MB so that I can boot from any disk in the set20:21
RoyKjrwren: don't use the OS disks for data20:21
jrwrenwhy?20:21
RoyKjrwren: use data disks for data, use separate OS disks20:21
jrwrenwhy?20:21
RoyKjrwren: because it makes things easier20:21
RoyKjrwren: recovery etc20:21
jrwrenhow?20:22
Slugs_lol20:22
RoyKjrwren: but then, I've only worked with this for 20+ years :P20:22
jrwrencould it be the same year 20 times? :p20:22
RoyKjrwren: take a good advice, please20:22
jrwrenwhy?20:22
RoyKjrwren: just google it20:23
jrwrenok.20:23
* RoyK is not in a mood of teaching idiots how to ignore advices20:23
Slugs_ok so i have 4 disks, all 4TB a peice20:23
Slugs_used only for data20:23
RoyKSlugs_: why raid020:23
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 anyway20:24
RoyKSlugs_: you'll get the same speed of a raid5 with 3 drives as a raid0 of 4 drives, sequencially20:24
Slugs_what do i do with the other disk?20:24
RoyKSlugs_: and it saves a day or three if you use raid520:24
RoyKwhen that one drive dies20:25
RoyKand it will20:25
Slugs_yeah20:25
Slugs_ok20:25
Slugs_what do i do with the 4th disk though?20:25
jrwrenSlugs_: alternatively, you can test it both ways and measure for your specific application and use which works best for you.20:25
Slugs_yeah makes sense20:26
RoyKSlugs_: just use a single drive, even a thumb drive, for the root20:26
RoyKSlugs_: then use the 4TB things in raid520:26
Slugs_yeah i have 1 500 gb for root20:26
Slugs_and 4, 4TB drives for data20:26
RoyKnice20:26
RoyKSlugs_: then create a raid5 on those20:27
RoyKSlugs_: you can change to raid0 later if you want20:27
jrwrenSlugs_: so your 1 500GB is /dev/sde ?20:27
Slugs_ok so i can do raid5 on 4 disks then20:27
Slugs_jrwren: yes exactly20:27
RoyKSlugs_: just use raid5 on those, directly on the disks20:27
RoyKSlugs_: no partitions needed20:27
jrwrenSlugs_: good. just making sure it isn't sda. :)20:27
Slugs_how did you know thaT?20:28
RoyKlsscsi?20:28
RoyKjrwren: it doesn't matter if it it's called sda or not20:28
jrwrenRoyK: it would matter if the 500GB disk is sda, and he just ran mdadm passing sda1 as a partition to use.20:28
RoyKjrwren: it wouldn't work20:29
jrwrenSlugs_: good luck.20:29
jrwrenRoyK: exactly. and Slugs_ said, 'this command doesn't work"20:29
jrwrenspecifically /dev/sda1 in use.20:29
RoyKSlugs_: pastebin lsscsi or output of /proc/partitions, please20:29
RoyKor both20:30
RoyKor output of lsblk20:30
=== markthomas is now known as markthomas|away
Slugs_ok20:30
Slugs_i just deleted the parttions though… one sec20:31
Slugs_http://pastebin.com/bT6faShV20:31
RoyKok, sde is the root?20:32
Slugs_yes it has the OS on it20:32
Slugs_http://pastebin.com/4R5w304i20:32
Slugs_here is the output of lsblk20:33
RoyKthen mdadm --create --level=5 --raid-devices=4 /dev/md0 /dev/sd{a..d}20:33
Slugs_i don’t have lsscsi20:33
RoyKno need20:33
RoyKyou can install it later20:33
Slugs_mdadm: cannot open /dev/sda: Device or resource busy20:33
Slugs_oh wait i did have this error20:34
Slugs_one sec20:34
RoyKwhat does mount say?20:34
RoyKis sda1 mounted?20:34
Slugs_not in df -h20:34
jrwrenSlugs_: 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:34
Slugs_jrwren: id like to use it as blockstorage yes20:35
Slugs_cinder20:35
jrwrenSlugs_: swift backed cinder?20:35
RoyKSlugs_: raid0 for blockstorage?20:35
RoyKyou must be insane20:35
Slugs_i was testing out speed, it wasn’t a final configuration20:36
Slugs_just testing20:36
Slugs_not planning on using it…20:36
jrwrenSlugs_: i'll assume it is not production and not call you names :)20:36
Slugs_;)20:36
Slugs_thanks20:36
RoyKwhat does /proc/mdstat have to say?20:36
RoyKor pvs20:36
Slugs_Personalities :20:37
Slugs_unused devices: <none>20:37
Slugs_  PV         VG           Fmt  Attr PSize   PFree20:37
Slugs_  /dev/sde5  openstack-vg lvm2 a--  465.52g 52.00m20:37
RoyKok20:37
RoyKcan fdisk access /dev/sda?20:37
Slugs_yes20:37
RoyKand delete that partition?20:37
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 at20:38
Slugs_the next reboot or after you run partprobe(8) or kpartx(8)20:38
Slugs_then i ran partprobe20:38
Slugs_didn’t give any errors, but i guess something is still confused20:38
RoyKremove the partition and reboot20:39
Slugs_ok20:39
Slugs_rebooting ....20:39
RoyK...20:43
Slugs_it’s back up20:43
Slugs_oh boy20:44
RoyKpastebin lsblk again20:44
Slugs_ok20:44
RoyKor did mdadm --create work?20:44
Slugs_http://pastebin.com/aECe1zwt20:44
Slugs_no the drive names changed20:44
Slugs_good thing i didn’t just run it20:45
Slugs_well like you said it might not have letme20:45
Slugs_let me*20:45
RoyKok, so mdadm --create /dev/md0 --raid-devices=4 --level=5 /dev/sd{b..e}20:45
RoyKdev names change20:46
RoyKmd uses UUIDs to determine which drives are what20:46
Slugs_it worked20:46
RoyKthen vgcreate20:47
RoyKand lvcreate20:47
RoyKand put a filesystem on top of the lv20:47
Slugs_the guide said , assemble20:47
Slugs_so… this is diff20:47
* Slugs_ is looking up vgcreate and lvcreate20:47
RoyKassemble is what you do when things mess up20:47
Slugs_i see20:48
RoyKapt-get install lvm220:48
RoyKbut that's probably installed already20:48
RoyKpvcreate /dev/md020:48
Slugs_it is20:48
RoyKvgcreate mysuperdata /dev/md020:48
RoyKlvcreate -l 100%FREE veryimportantdata mysuperdata20:49
RoyKor something about that20:49
jrwrenSlugs_: what guide?20:50
Slugs_one that sucks i guess20:50
Slugs_https://help.ubuntu.com/community/Installation/SoftwareRAID20:50
RoyKSlugs_: did you create the pv or vg?20:51
Slugs_yes RoyK just working on the lvcreate and seeing what that did20:51
RoyKit creates a logical volume20:52
jrwrenSlugs_: server guide has this: https://help.ubuntu.com/lts/serverguide/advanced-installation.html  for future reference20:52
RoyKone you need for putting a fs on20:52
Slugs_ok20:52
Slugs_jrwren: thank you20:52
RoyKso after creating the lv20:52
RoyKwhat did you name it? what did you name the vg?20:52
Slugs_vg = data20:53
Slugs_what’s the veryimportantdata part?20:53
RoyKjust a name20:53
Slugs_descrioption/?20:53
Slugs_ok20:53
RoyKyou can rename it or remove it20:54
Slugs_hmm20:55
Slugs_root@openstack:/home/openstack# lvcreate -l 100%FREE /dev/md0 data20:55
RoyKlvs20:55
Slugs_?20:55
Slugs_  Volume group "md0" not found20:55
RoyKif you didn't give it a name, it'll be named automatically20:55
RoyKerm20:56
Slugs_oh i see20:56
Slugs_  Logical volume "lvol0" created20:56
RoyKlvcreate -n myname -l 100%FREE data20:56
Slugs_  lvol0  data         -wi-a----  10.92t20:56
Slugs_i can rename it then,,, ok20:56
RoyKlvrename20:56
Slugs_what’s the path for the logical volume20:58
Slugs_root@openstack:/home/openstack# lvrename lvol0 UMS20:58
Slugs_  Path required for Logical Volume "lvol0"20:58
RoyKSlugs_: from the manual        lvrename /dev/vg02/lvold vg02/lvnew20:58
Slugs_ok got it20:59
Slugs_now i guess all i need is a filesystem on it?21:00
RoyKthen put a filesystem on it21:00
RoyKI'd suggest xfs for most use21:00
RoyKext4 isn't too good on large things21:00
RoyKI spent eight hours waiting for a 8TB ext4 filesystem doing fsck two days back21:00
Slugs_mkfs.xfs /dev/mapper/data-lvol021:00
Slugs_oh my21:01
RoyKmhm21:01
Slugs_ok21:01
RoyKthen add to /etc/fstab21:01
RoyKmount -a21:01
RoyKthe normal things21:01
Slugs_ive seen so many different posts on what to put in your fstab file21:02
qman__I personally have misgivings about xfs but I admit it's from anecdotal experiences21:02
RoyKSlugs_: /dev/mapper/data-lvol0 /mountpoint xfs defaults 0 021:03
RoyKqman__: probably anectdotal21:03
ianorlynI 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 much21:04
ianorlynalthough sparse files is  a nice feature21:04
qman__I've lost data several times with xfs, never with ext3 or ext421:04
RoyKianorlyn: most filesystems won't be shrunk21:04
Slugs_RoyK: is mount -a supposed to just automuont this new fs?21:04
RoyKSlugs_: yes21:04
sarnoldthe only filesystem I've seen shrink was FAT, via the fips tool. scary as hell.21:04
Slugs_nothing appears to happen when i type df, or is it not suppoosed to show up there/21:05
RoyKSlugs_: but that data-lvol0 may be different when you changed the name of the lv21:05
Slugs_im not going to bother changing it21:05
jrwrenhow is the sparse files feature different in xfs v. ext4?21:05
RoyKSlugs_: pastebin lvs21:05
RoyKjrwren: hardly21:06
Slugs_http://pastebin.com/eFjJA9zy21:06
jrwreni've shrunk ext4 many times. it works nicely.21:07
sarnoldjrwren: that's even scarier :)21:07
RoyKSlugs_: so /dev/data/lvol0 /data xfs defaults 0 021:07
Slugs_ok21: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 full21:07
RoyKSlugs_: just create /data first21:08
qman__I forget what it's called21:08
jrwrensarnold: i should have been more scared than I was. i shrunk without backup! ;]21:08
sarnoldjrwren: brave brave brave :) hehe21:08
RoyKqman__: I have this neat 25TB filesystem on xfs - works well21:09
qman__I've shrunk ext file systems without problems too21:09
Slugs_RoyK: Thank you!21:09
RoyKSlugs_: ;)21:09
Slugs_11 TB21:09
ianorlynalthough the man pages for xfsprogs and e2fsprogs contain some nice looking options21:09
qman__RoyK: this was a 110tb fs that was expanded21:09
RoyKqman__: oops21:09
qman__Yeah, customer made some unwise choices, nothing I could do by the time I got to it21:10
RoyKqman__: a restore from tape to that would take some time21:10
jrwrensarnold: 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 decision21:10
qman__They let it fill 100% then expanded21:10
RoyKSlugs_: does it work?21:11
ianorlynworst backup solution ever raid 0 tape drives21:11
Slugs_RoyK: yes21:11
Slugs_I guess it’s initializing or something21:11
Slugs_i did /proc/mdstat21:11
Slugs_and it appears to be initializing i guess21:11
RoyKSlugs_: give it a reboot to see if it's coming up correctly21:11
Slugs_      [>....................]  recovery =  4.2% (167079192/3906887168) finish=491.0min speed=126940K/sec21:12
Slugs_what about this...21:12
=== PrudentMav is now known as PrudentMav[away]
RoyKSlugs_: it needs to initiate the raid21:12
RoyKor initialise21:12
Slugs_should i reboot now or wait21:12
RoyKwait21:12
Slugs_ok21:12
qman__Makes no difference really21:12
qman__If you reboot it will resume21:12
Slugs_oh, not start over?21:13
=== PrudentMav[away] is now known as PrudentMav
RoyKqman__: does ubuntu boot with degraded now?21:13
Slugs_i read a post it did21:13
qman__Oh, that might be a headache, forgot about that21:13
=== PrudentMav is now known as PrudentMav[away]
=== PrudentMav[away] is now known as PrudentMav
RoyKSlugs_: dpkg-reconfigure mdraid21:14
RoyKSlugs_: and choose boot degraded21:14
Slugs_it’s not a boot drive though, is that ok?21:14
RoyKSlugs_: some idiots have chosen ubuntu not to boot with degraded raid21:15
RoyKthat's what raid is for for fscks sake21: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 systems21:15
RoyKqman__: heh21:16
qman__Forces them to fix it rather than let it die21:16
RoyKqman__: doesn't make sense21:16
Slugs_am i right and what your saying?21:16
qman__Yeah, I don't agree with it either, but that's the reasoning21:16
RoyKqman__: 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 boot21:17
qman__Causing lots of annoying unnecessary dispatches that21:17
RoyKSlugs_: just reconfigure that and try a reboot21:18
Slugs_http://pastebin.com/EwqXCWMB21:18
RoyKSlugs_: it'll show how well the system works with a failed drive21:18
qman__The power flickering a couple times shouldn't stop the system from booting when it comes back21:18
RoyKSlugs_: that's the data storage, not your boot device21:19
Slugs_ok21:19
RoyKSlugs_:21:19
Slugs_ok rebooting21:20
Slugs_down...21:20
RoyKdamn - home server went down :(21:22
Slugs_back up RoyK21:29
Slugs_df -h21:29
Slugs_looks like it picked up where it left off21:29
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
=== markthomas|away is now known as markthomas
Slugs_i have to write all this down...21:30
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 another21:38
qman__A 2mb buffer can save you when the replacement disk you bought is a block smaller than the one it's replacing21:39
qman__It also makes it apparent what's on the disk in a recovery scenario21:41
th3s3_3y3sWhere is the module block list. Looks like I disabled blutooth due to an ipv6 network runnung by default.22:38
=== Lcawte|Away is now known as Lcawte
=== Lcawte is now known as Lcawte|Away
=== CiPi is now known as cipi
th3s3_3y3sRuben23:23
th3s3_3y3sDo you want to install man in eden folder?23:23
th3s3_3y3sEnough shah on me yet?23:24
th3s3_3y3sWhat is the lady in red for?23:24
th3s3_3y3sIs there a different rib?23:24
=== kickinz1 is now known as kickinz1|eow
th3s3_3y3sThe pabdora network U disabled.23:28
th3s3_3y3sYouns need to plug into my skynet.23:29
th3s3_3y3sUsb has a 30 ft radius. This is red security zone.23:29
th3s3_3y3sSo far looking bad.23:30
th3s3_3y3sSend chopper to pick up man and install man in a 30 ft shielded room.23:30
th3s3_3y3sUsb bluetooth has been causing a priblem.23:32
th3s3_3y3sIts been shooting out signals.23:32

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