/srv/irclogs.ubuntu.com/2013/04/26/#ubuntu-server.txt

adam_gjamespage, http://people.canonical.com/~agandelman/ca/folsom/2012.2.3/  CA rebuilds of the SRUs that were released today00:24
=== tgm4883_ is now known as tgm4883
LargePrimeIs a Swap File just as fast as a swap partition?  Ubuntu 12.04 server.01:31
sarnoldLargePrime: a swap partition allows the kernel to direct the hard drive to seek directly to a location to read or write; a swap file means the kernel must look up off disk the location of blocks for the file, and then seek to those blocks. there may be three or four block lookups before the kernel can retrieve the specific address to seek to.01:33
sarnoldLargePrime: so, in theory, a swap partition should be a touch faster than a swap file. however, by the time you're going to disk to get data, you're already going significantly slower than if the data were in memory in the first place.01:33
=== pug is now known as Guest82922
sarnoldLargePrime: so if you have a chance to make a swap partition ahead of time, that makes sense; but if you need a swap file instead, there's nothing horribly wrong with that..01:34
LargePrimeso the advantage is negligible when compared to slow disks.01:35
LargePrimeThe issue i am facing is the tool the host gave me does not allow raid 0 on swaps01:35
sarnoldyes. I expect the kernel can cache those indirection blocks in memory, so if it is -always- using the file, it might not even be a real penalty..01:35
LargePrimeso a swap file could be on a raid 0 partition01:35
sarnoldcould you just create a swap partition on each of the drives and manually add them one at a time?01:36
sarnoldgranted you wouldn't get the striping speedup that way...01:36
LargePrimeI guess.  Can i change that?01:37
sarnoldLargePrime: the swapfile would let you do that.01:37
LargePrimecan i chage my swap partitions from RAID 1 to RAID 001:37
LargePrimemanually?01:37
sarnoldsorry, that's out of my experience01:38
sarnoldmy guess is you could remove them, create new raid 0, and then mkswap on that, but .. I've never tried.01:38
sarnoldLargePrime: hah, I was wrong: https://raid.wiki.kernel.org/index.php/Why_RAID%3F#Swapping_on_RAID01:39
sarnold""The kernel itself can stripe swapping on several devices, if you just give them the same priority in the /etc/fstab file. "01:39
LargePrimethanks you sarnold01:46
=== shirgall_ is now known as shirgall
adam_gzul, can you comment on https://launchpad.net/ubuntu/+source/cinder/+bug/1150720 please? can't verify the SRU with the test case you proovided03:17
uvirtbotLaunchpad bug 1150720 in cinder "[SRU] There is now a dependency on paramiko v1.8.0" [High,In progress]03:17
bitbltanyone here running mysql on server>12.04 have a moment to check something for me?04:14
=== Endafy is now known as Guest96815
bitbltany idea why if, on an already running service, you issue "service X start" they return 0, except for mysql, which returns 1?04:17
=== Guest96815 is now known as Endafy`
blackjackhow to fix Invalid Partition Table05:39
Frezehi all06:17
ndeehi there, I try a publickey login on a remote server, with ssh -vvv remote, I get following message: debug3: Not a RSA1 key file /var/www/public_www/.ssh/id_dsa. I know that it's not a RSA file but a DSA file, shouldn't that also work as publickey auth?06:51
ndeeah, a little later, I see: debug1: identity file /var/www/public_www/.ssh/id_dsa type 2 so that shouldn't be a problem06:52
ndeethe problem is, I can't login with "ssh -2 -vvv remotehost" although the public_key is added to the authorized_keys file, that file has 600 permission and the .ssh directory also has 600.06:53
ndeeI am an idiot06:54
=== yofel_ is now known as yofel
swHi, can someone explain what the --delete-after option does in rsync as I don't quite understand the man. Does it mean that files/folders that are on the destination but not source any longer are removed?07:21
ShogootHi people!. The issue: I got a server that i installed vsftpd on, made a user and connected to the server. When the server connects it connects to root... and i have been trying to make /var/www/html as default ftp root and that the user has write/read to that folder as this person is going to upload/download its own html pages and resources...  Another strange  thing is that when i change directory i can change to any directory that is not /var/www07:22
Shogoot/html (???) - Anyone that can help me find the solution to this?07:22
spidernik84sw, from my understanding rsync cleans the files on the destination that are missing in the source (real sync)07:23
spidernik84the --delete-after tells rsync to remove them at the end of the entire synch operation, not before07:24
spidernik84again, from my understanding07:24
swspidernik84, So ^ then? So confusing.07:24
spidernik84sw have you checked this? http://superuser.com/questions/156664/rsync-delete-options07:25
spidernik84might shed some light07:25
spidernik84still, I'm a basic rsync user. It has so many options :)07:26
swspidernik84, Ah great thanks, I'd only looked at the man.07:26
spidernik84np :)07:29
ShogootHi people!. The issue: I got a server that i installed vsftpd on, made a user and connected to the server. When the server connects it connects to root... and i have been trying to make /var/www/html as default ftp root and that the user has write/read to that folder as this person is going to upload/download its own html pages and resources...  Another strange  thing is that when i change directory i can change to any directory that is not /var/www07:34
Shogoot/html (???) - Anyone that can help me find the solution to this?07:34
=== smb` is now known as smb
=== lool- is now known as lool
stoogledoes anyone know anything about introducing new additional hdd's into a external raidarray on ubuntu?07:54
AtuMstoogle, that's something for the external raidarray admin to worry about.07:54
AtuMstoogle, however if you use DAS/SAN you can hot-add volumes/disks on the fly.07:55
stooglewelllll i have one at my house, i have 4 x 1tb drives mounted. they are currently running as file storage. i have just slotted in another 8 or so 1tb drives07:56
AtuMso are you experiencing problems?07:56
stoogleIt was mounted in console along time ago with the 4x hdd's. the problem is now it still only shows 4tb even with the new drives. this would be due to the original mount size im guessing? i installed dell openmanage which showed me this status on the HDD's: http://www.freweb.com.au/whatitscurrentlyshowing.txt07:57
AtuMso where's the problem?07:58
stooglethe problem is in ubuntu its still showing 4tb not 14 x 4tb or what ever it is.07:58
stoogle14 x 1tb rather07:58
AtuMthat's not the problem with ubuntu/linux07:59
AtuMyou should learn a bit more abour raid arrays and management of PERC adapters07:59
stoogle:(   im trying. im a bit confused.07:59
AtuMyou need to expand the raid array it you need more space within the current volume07:59
stoogleso how would i include the Foreign disks into the mount and make them online?08:00
AtuMthat's what you can do within the Perc bios util - there might be utilities to do it online.. i'm guessing this is dell.. so ask dell for software08:00
AtuMforget about mount!08:00
stooglelol sorry.08:00
AtuMlinux won't make them online.. it shouldn't.. you must configure those disks within the raid adapter itself08:01
jamespageadam_g, they all lgtm08:01
AtuMlinux has no role there.. it just gets what that adapter offers08:01
stoogleah ok, with you now. linux only reads what the adapter says. so its all hardware side really?08:01
AtuMthat's correct08:02
AtuMraid array is a layer in-between the hardware and the OS.08:03
stoogleso frustrating. to my knowledge i should be able to go into dell openmanager web based. which i can. if i click on virtual disks it shows the original 4 x drives. i seleceted reconfigure, now this option is meant to allow me to add additional new hdd's and it doesnt show them. If i get out of that and click on the raidarray info it shows all 14drives with the info that was in that text08:04
stooglefile. very frustrating.08:04
AtuMmost adapters can be managed online via a special tool from the vendor.. so you could expand your current volume using that from within your ubuntu.. but linux itself has no say in it.. there are many things you can do wrong trying to extend your array if you've never done it before08:05
stoogleas above, i did get the software from vendor. i must have done something incorrectly.....  as its different from what everyone else is doing which i listed above.08:06
AtuMok.. so that's the question for openmanager developers.. most tools do allow hot-adding disks and expanding volumes online..  it is after doing that that you should check with us on how to get that "mount" bigger :)08:06
stooglelol ok. thank you for your time and patients AtuM08:07
AtuMas you will still have a partition of the same size aswell as the filesystem.. so there's work to do after expanding the volume08:08
=== klaas- is now known as klaas
AtuMstoogle, sometimes reboot helps.. might even have more luck bringing up the adapter's bios util to expand the volume..08:09
AtuMstoogle, hope I helped make things more clear.. :)08:10
swSo if someone is logged in via password they appear in users but when using SSH keys they don't?08:14
swi.e. if I login on two sessions with the password users shows root twice, but not when one of those is via SSH keys.08:15
ruben23h guys i  have mysqlk server but does not run, i wa able to restart but when login it say socket /var/run/mysqld. scok 208:22
kaihi folks.08:29
kaibefore I go and download the 13.04 server installer, does that have a sane interface to set up LUKS-based encrypted LVM of parts of the disk while still allowing me to "partition" the encrypted LVM?08:30
kaithe graphical installer fails miserably at that08:30
ruben23guys this is my error -----> http://pastebin.com/BaTyqZWR08:32
swSo if someone is logged in via password they appear in users but when using SSH keys they don't?08:40
swi.e. if I login on two sessions with the password users shows root twice, but not when one of those is via SSH keys.08:40
xnoxkai: yes it does. it has a one click option for that, which will then ask for a password as well.09:02
xnoxkai: mind you desktop installer has that as well, but server cd is more flexible as it allows manual partitioning for lvm & crypt as well.09:02
kaixnox: the latter is what I'm looking for. the 1-click option is fine, but I don't want to take the performance hit of encryption for my data partition where I keep open source code and publicly available data09:03
kaibut I clearly want / and swap encrypted. :)09:05
=== gema_ is now known as gema
kaiok, now I just need to figure out how to connect to the wireless network via the command line and set up the radius magic09:11
LargePrimeWhen I run smartctl as root i get permission denied.  Can't find any info.  Thoughts?10:55
=== klaas_ is now known as klaas
=== mikeeey is now known as mikeey
smoserzul, could you loook at comments in https://bugs.launchpad.net/bugs/109868812:38
uvirtbotLaunchpad bug 1098688 in python-warlock "python-warlock insists on jsonschema==0.2 breaks glance" [Undecided,Fix released]12:38
smoser(last ones rguarding cloud archive)12:38
zulsmoser:  should be fixed in grizzly12:39
zulsmoser: havent looked at folsom yet12:40
=== gstudent2 is now known as germanstudent
=== LargePrime is now known as Guest4472
=== baba is now known as megha
=== wedgwood_away is now known as wedgwood
=== gary_poster is now known as gary_poster|away
stoogleasking for some suggestions, i have a md1000 raid array running raid 5 with 13 x 1 tb hdds.. i want to take a external backup of everything to take home once a week for safe keeping incase of fire/flood or raid failure. what is the best way to do this? i can get another md1000 with 13 x 1tb hdds in it also, put them into a padded brief case and take them home once a week. insert another14:12
stoogle13 x 1 tb hdd in there and then copy everything over again until i swap again? i just need it to be reliable!14:12
swIs it possible with rsync to only copy files that are new or have been modified, or is that behaviour standard?14:13
xnoxsw: look at rsnapshot.14:14
swAt the moment using: rsync -avz --delete-after.14:14
swxnox, Is there not an option in rsync?14:14
xnoxsw: rsnapshot is what you want.14:15
xnoxit's a script around rsync more or less.14:15
swxnox, So are you saying that rsync is not capable of this? Or just that we should use rsnapshot? :b14:15
stoogleasking for some suggestions, i have a md1000 raid array running raid 5 with 13 x 1 tb hdds.. i want to take a external backup of everything to take home once a week for safe keeping incase of fire/flood or raid failure. what is the best way to do this? i can get another md1000 with 13 x 1tb hdds in it also, put them into a padded brief case and take them home once a week. insert another14:16
stoogle13 x 1 tb hdd in there and then copy everything over again until i swap again? i just need it to be reliable!14:16
swOh, appears it works as we want by default anyway.14:17
xnoxstoogle: you dropped a connection. look at incremental back ups to tape. as by taking a copy home you simply add a redundancy against physical location, but not e.g. silent corruption of data in _both_ arrays (the one at primary location and the one at home)14:18
xnoxand / or cloud storage & backups which are becomming very cheap for very large data sets.14:19
stooglemmm. cloud probably would not work due to the huge ammount of data. i understand doing daily backups of only new or modified data onto a cloud. but it would take a week to download on adsl14:20
stooglepeople have suggested tape drives but it really does put me off as i heard they are really unreliable14:21
=== gary_poster|away is now known as gary_poster
=== kirkland` is now known as kirkland
GrueMasterHmm, he left.  I was going to say that I have successfully restored data from some of my old QIC-80 tapes (250M) from my consulting days in the early 90's.  Hardest part was resurecting an old 486 with floppy controller, dos, and Central Point Backup (had to dig deep into my archives for that).15:26
=== NomadJim_ is now known as NomadJim
markthomasHappy $LOCALTIME, everyone.  Does anyone know how I can simulate a udev device insertion event for a USB device I don't have?  In older versions, I think there was a udevtest utility, but I can't find one in Precise.16:37
=== gary_poster is now known as gary_poster|away
=== gary_poster|away is now known as gary_poster
zulhallyn:  http://www.gossamer-threads.com/lists/openstack/dev/26505?do=post_view_threaded#2650517:23
adam_gzul:  http://people.canonical.com/~agandelman/ca/folsom/2012.2.3/17:30
zuladam_g:  +1 (im not here btw)17:31
hallynzul: ?17:34
GeorgeJHello folks!17:42
GeorgeJIs there any guide one could follow to install ubuntu 13.04 server with a btrfs root?17:42
xnoxGeorgeJ: use manual partitioning, select btrfs, see Ubuntu Server Guide on how to enter manual partitioning.17:44
sarnoldGeorgeJ: (a) I'm not sure btrfs is mature enough for that use yet (b) I think it is just selecting a different fstype in the installer, right? (c) I understand you can convert ext3 or ext4 to btrfs inplace afterwards .. check wikipedia for info there17:44
xnoxGeorgeJ: note, I would not recommend you to use btrfs =)17:44
xnoxbest to install straight away onto btrfs, rather than conversion17:44
sarnoldxnox: ack, thanks :)17:45
GeorgeJIt's a personal webserver, theres no important data. And, I've read some recent reviews of BTRFS, there's usually no loss of data involved, even in tested, production load environments.17:46
GeorgeJxnox: Do the same limitations described here apply? https://help.ubuntu.com/community/btrfs#Fresh_Install_on_11.04_Natty17:46
GeorgeJDisregard the section, I ment to link to "Ubuntu-specific subvolume layout in 11.04 and later"17:47
xnoxyes.17:48
xnoxGeorgeJ: i'm not sure why are you installing btrfs then.....17:49
GeorgeJxnox: Snapshots.17:49
xnoxGeorgeJ: install with lvm2 and use snapshots. They are far more stable & easier than btrfs snapshots.17:49
xnoxlvm2 is the default option when doing server install, with one click.17:50
GeorgeJI'm allready using LVM, it's really not the same thing.17:50
GeorgeJLVM doesn't know about the FS, it just keeps COWs blocks afaiks. Also, snapshot require pre-set sizes. While on BTRFs I can create as many snapshots as I want, without having to worry about much.17:52
GeorgeJThere's even a plugin to apt to snapshot before each apt-get operation.17:52
xnoxwith lvm2 when you run out of space a snapshot is dropped; with btrfs you run out of disk space on your '/' and it all becomes very sad =)17:53
GeorgeJI'm mostly just giving it a whirl, to test it out. I'll probably test it on my personal laptop aswell if I'm pleased.17:53
GeorgeJYeah, that seems to be an issue.17:53
sarnoldGeorgeJ: thanks for giving it a test :)17:54
GeorgeJsarnold: Hehe, I'd test ZFS too, but, there seem to be some performance issues.17:54
GeorgeJI like ZFS's volume managing better than BTRFS tbh. But atm, the only thing that ZFS implements that BTRFS doesn't(yet) is deduping, which I don't care much for, tbh.17:56
GeorgeJGotta love that most usb creators fail to create a good usb instalation drive, and dd works without a single issue.18:01
GeorgeJAfter creating an usb drive, with the usb installer creators, the instalation fail to find a cd drive.18:01
Praxidoes this message say that I'm using USB 2 on the port I plugged a drive into?  usb 2-2: new high-speed USB device number 12 using ehci_hcd18:10
genii-aroundPraxi: ehci is USB2, yes18:19
GeorgeJAutomatic partitioning has setup an UEFI partition, however, ubuntu doesn't seem to boot from the HDD. However, UEFI boot works with the usb pendrive, is there any reason for this?19:15
HSakHello, I did some apt-get update on ubuntu server 12.04 2 days ago. After the restart, I'm getting "The disk drive for / is not ready yet or not present Continue to wait; or Press S to skip mounting or M for manual recovery."19:41
HSakAre there anything I can do to fix it?19:41
RoyKHSak: start with m19:44
RoyKHSak: apt-get update won't upgrade anything, though, it just updates the apt index19:44
RoyKHSak: on a raid?19:44
HSakhmm I wonder what's wrong then. Because that's the only thing I did19:44
HSakYes19:44
HSakI have raid 519:44
RoyKprobably a dead drive19:44
HSakhmm I don't think so.19:45
RoyKpastebin /proc/mdstat19:45
HSakThe hdd is around 1 month old19:45
RoyKdoesn't matter19:45
HSakand that can happend after restart too?19:45
HSaki readed somewhere it could be fstab is the problem19:45
RoyKdrives usually die either the first few months or after a year or five19:45
HSakhmm ic19:46
RoyK21:45 < RoyK> pastebin /proc/mdstat19:46
HSakI'm not with the server atm.19:46
RoyKno ssh access?19:46
HSaknope, not even internett want to start19:46
HSaki did skip skip and got in, connected to internett. Couldn't connect to it with ssh from laptop19:46
HSakI'm heading home in 1-2hours. Then I will try and do /proc/mdstat19:48
RoyKwell, ask again when you have console access. it can be anything19:48
HSakokey19:48
HSakthanks19:48
RoyK"cat /proc/mdstat"19:49
RoyKmdstat isn't a command :P19:49
HSakokey : )19:51
HSakI will probably ask again when I'm home19:51
glitchdhello all19:59
glitchdanyone have any experience with openbox?19:59
RoyK!ask | glitchd20:00
ubottuglitchd: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience20:00
glitchdRoyK,  my server with open box installed will not start x, the startx command just reads back ".Xauthority" errors.20:01
RoyKglitchd: sorry - just barking - I don't know openbox20:01
glitchdshit.20:01
glitchdwell for anyone that might think they know, this is the exact output of "startx"20:02
glitchd:~$ sudo startx20:02
glitchdxauth:  error in locking authority file /home/glitchd/.Xauthority20:02
glitchdxauth:  error in locking authority file /home/glitchd/.Xauthority20:02
glitchdFatal server error:20:02
glitchdServer is already active for display 020:02
glitchdIf this server is no longer running, remove /tmp/.X0-lock20:02
glitchdand start again.20:02
glitchdPlease consult the The X.Org Foundation support20:02
glitchd at http://wiki.x.org20:02
glitchd for help.20:02
RoyK!pastebin | glitchd20:02
ubottuglitchd: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.20:02
glitchd ddxSigGiveUp: Closing log20:02
RoyKalso, X questions belong in #ubuntu, not here, this is a server-centric channel20:03
glitchdwelp, i just figured it out..lol20:03
glitchdi guess i had a zombie X session still running somewhere some how20:04
glitchd"sudo pkill X" fixed the problem for me20:04
glitchdi tried "killall X" but killall is depreciated so i had to use pkill20:05
glitchd*pkill X20:05
RoyKglitchd: X isn't related to servers20:05
glitchdRoyK, well im not always the best at command line, so i run a gui on my server20:06
glitchda gui requires X20:06
glitchdso my server has X20:06
RoyKglitchd: really!20:07
glitchdRoyK, yupyup20:07
RoyKglitchd: it doesn't take you long to learn the commandline20:07
RoyKglitchd: this channel is for servers, meaning commandline20:07
RoyKperiod20:07
glitchdthats kind of a shitty way not offer help, thx anyways, i figured my problem out.20:08
glitchd*thats kind of a shitty way to not offer help, thx anyways, i figured my problem out.20:08
RoyKsome people don't get the idea of what a server is - glitchd certainly had a glith there :P20:26
GeorgeJRoyK: Well, the X server IS a server. So.. heh20:30
RoyKheh20:31
RoyKit's not a server thing, though20:31
GeorgeJIsn't it? What if he needed remote X sessions, and the server is still a headless box?20:32
RoyKhe was talking about X running on a server20:32
genii-aroundGeorgeJ: xvfb ?20:33
Arrickcan someone point me to the ubuntu server specific man page for getting NTLM SSO working with apache2?20:39
Arrickspecifically I am trying to follow this, but nothing matches for commands.20:40
Arrickhttp://code.google.com/p/mod-auth-external/wiki/Installation20:40
=== DaIRCKing is now known as GTAXL
GeorgeJWhat tool could one use to test a network connection? I'm interested in speed, dropped packets, etc.20:53
GeorgeJI've got two ubuntu machines running on the same network.20:53
sarnoldGeorgeJ: ping -f is a good first-attepmt20:54
sarnold(just don't aim against an os x box, they rate-limit icmp packets)20:54
GeorgeJI don't think that's enough. I'm trying to test this NIC I modiified: http://imgur.com/a/uwKtH20:55
GeorgeJI want to check wether extending the port like that affects network performance20:56
sarnoldGeorgeJ: hahaha, that's awesome. and a bit terrifying. :)20:58
GeorgeJYeah, I'm brave(crazy) like that.20:58
sarnoldGeorgeJ: you can specify some 'payload' data to send in your ping packets, you can grow the packets quite large, so you're not just stuck testing little 56 byte packets all day long...20:59
GeorgeJIs the integrity of the data checked?20:59
sarnoldGeorgeJ: if you fiddle with the payloads, you can check if it'll swap 0 bits to 1 bits or the other way around...20:59
sarnoldGeorgeJ: every packet is crc32'd at wire level; you can see error counts with ifconfig20:59
GeorgeJAh, fair enough. And I guess it should count as dropped packets.21:00
sarnoldgranted crc32 won't catch them all, but it'll catch a lot. I think ping will repotr the others, but .. I haven't injected those sorts of faults to find out :)21:03
HSakaRoyK you there?21:12
HSakaI'm here now21:12
RoyKI am21:12
HSakajust booted now, I've got this. " Ext4-fs(sdb1):re-mounted. Opts: errors=remount-rp.21:13
RoyKrp? or ro?21:13
HSakahda-intel: no codecs found! the fisk drive for /dev/mapper/cryptswap1 is not ready yet or not present and it says the same for /mnt/big21:14
HSakaro21:14
HSakasorry typed wrong21:14
RoyKfakeraid?21:14
HSakawhat do you mean?21:15
RoyKHSaka: pastebin /dev/mdstat21:15
RoyK!pastebinit21:15
ubottupastebinit is the command-line equivalent of !pastebin - Command output, or other text can be redirected to pastebinit, which then reports an URL containing the output - To use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit -b http://paste.ubuntu.com21:15
HSakaRoyk, It's not possible for me to write everything in pastebin. cuz it's happening on the other computer21:16
HSakaphysicaly21:16
RoyKis it mdraid or some sort of hardware raid_21:16
RoyK?21:16
HSakamdraid is software raid right?21:16
RoyKys21:17
RoyKyes21:17
HSakayeah it is mdraid21:17
RoyKso what /dev/mdstat has to tell?21:17
RoyKs/has/have/21:17
HSakai need to skip it first?21:18
RoyKHSaka: just cat /etc/mdstat21:19
RoyKif something is broken, it'll show21:19
RoyKerm21:19
RoyKcat /proc/mdstat21:20
HSakai type " /etc/mdstat" it sayd no suck file or directory21:20
RoyKmy fault21:20
HSaka?21:20
RoyKcat /proc/mdstat21:20
HSakaPersonalities: raid 6, raid 5, raid 4, linear, multipath, raid 0, raid 1 raid 221:21
RoyKnothing about the raid?21:22
HSakamd0 : active raid5 sdc[1], sdd[3], sda[0]. 5860270080 block super 1.2 level 5, 512k chunk, algorithm 2[3/3] [UUU]21:22
HSakaunused device: none21:22
RoyKthat's a healthy raid-521:23
RoyKmount it21:23
RoyKor run fsck -f /dev/md021:23
RoyKdon't fsck a mounted filesystem21:24
HSakaif you want to check the consistency of an xfs filesystem or repair a damged file system, see xfs_check(8) and xfs_repair(8)21:25
RoyKyes21:25
RoyKmake sure the filesytem isn't mounted, check it and peraps do a repair21:26
HSakacould uou tell me step by step how to do it? I'm still new to linux21:27
RoyKpastebin df -h21:27
RoyK!pastebin | HSaka21:27
ubottuHSaka: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.21:27
HSakak21:30
HSakahttp://pastebin.com/WDx748YE21:32
RoyKand /proc/mdstat?21:35
RoyKpastebinit21:35
HSakapermission denied21:36
RoyKcat21:37
RoyKyou can't run a text file21:37
RoyKcat /proc/mdstat | pastebinit21:37
genii-aroundIf it's a straight text file you can just do: pastebinit /filepath/filename21:38
HSakahttp://pastebin.com/YCrCkKpG21:40
HSakaI have to write everything over to laptop21:40
IszakI've got a ubuntu 12.04 LTS server, It's already installed, anyone got a guide on setting up RAID?21:44
Iszaks/RAID/RAID 1/21:44
ScottKIszak: Did you look in the server guide that's listed in the channel topic?21:44
IszakNo, will take a look.21:45
HSakaRoyk, any clue?21:45
=== VD is now known as Guest54130
halvors1How do i setup an ubuntu-server as a router, which routes between 2 subnets? Subnet 1 is internet and subnet 2 is lan.22:17
halvors1Subnet 1 has a gateway which nats :)22:18
ScottKhalvors1:  Did you look in the server guide that's listed in the channel topic?22:23
halvors1ScottK: Nothing about it there...22:39
ScottKhalvors1: OK.  It's been long enough since I've done it, I don't have any great suggestions.  Please, while you're doing it, take good notes and we'll write them up and get that fixed, ok?22:40
ScottKDocumentation written by people who already know stuff is usually useless to people that don't, so we need someone like you to help.22:41
shaunois there anything on 'subnet 1' that needs to reach 'subnet 2' ?22:48
sarnoldhalvors1: potentially useful to you -- though it won't be any help at all for what to write to which configuration files: http://www.lartc.org/22:49
shaunoit should be as simple as net.ipv4.ip_forward = 1, but the gotcha will be architectual; subnet 1 doesn't know to use the server as a gateway to reach subnet 2 (and the existing gateway won't know to point subnet 2's replies at the server).  the easy out is just the classic nat/masq with subnet 2 as the 'inside'23:03
GeorgeJAwesome, no packet loss whatsoever!23:09
sarnoldGeorgeJ: nice23:09
=== wedgwood is now known as wedgwood_away
RoyK 23:29
halvors1ScottK: I thought it was just to enable ip forwarding in /etc/sysctl.conf? Anything more i have to do? That setup is working with masquarading...23:59
ScottKnot sure23:59

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