/srv/irclogs.ubuntu.com/2015/02/28/#ubuntu-server.txt

votlonhello all!00:00
votlonhey guys i installed openvpn on ubuntu 14.04 on a virtual machine, and im not able to connect to it to test it. Would i not be able to access it from the host machine?00:00
votlondat double hello<300:00
votlonThe server.conf for open vpn is kinda empty. http://pastebin.com/zygUTR0u Leads me to assume that maybe my configuration is wrong?00:01
votlonIf anyone knows anything bout openvpn here ^.^00:02
=== markthomas is now known as markthomas|away
fukicould anyone help me figuring out an issue with a new ubuntu-server installion hanging while regenerating the grub configuration file?03:22
=== Lcawte|Away is now known as Lcawte
=== bilde2910|away is now known as bilde2910
zottaIs there a limit to how many files can be stored on a disk? (assuming it has enough free space)12:51
bekkszotta: The number of inodes on the filesystem is the upper limit.12:52
bekksAdditionally, you can use quotas.12:52
zottaI just want to write a script and using the file system would be easyer and faster for me than an actual database. But it would create at least 100k temp files at once.12:53
bekks100k temp files? o.O12:54
zottajust wondering is that would work, because less effot for me12:55
zotta*if12:56
bekksIF you have enough free space and enough unused inodes, it will work.12:56
zottaat 2kb per file that would be ~200mb12:57
bekksWhat does your script do? :)12:58
zottait's a step for building a new acoustic model for the german language13:01
bekksThat sounds interesting. :)13:02
zottaonly if you don't look too closely13:02
zottaanyway: how do i set that inode thing?13:02
bekksIt is an entity of the filesystem, you cannot change it after creating the filesystem.13:03
bekksFor ext2/3/4, you can use tune2fs for displaying all entities.13:04
zottabekks: ok found it, got 2M free :)13:07
bekksThat should suffice for a few tests :)13:07
=== martinst is now known as martins-afk
=== martins-afk is now known as martinst
=== zz_DenBeiren is now known as DenBeiren
=== lp|away is now known as lazyPower
sudormrfhey guys.  having an issue with MDADM.  I build the array, everything is good.  I create a file system, that all goes good.  I mount it, everything good there.  update-initramfs, everything good.  reboot and the array no longer exists :S.16:47
sudormrffound this thread: http://superuser.com/questions/746112/ubuntu-server-14-04-raid5-created-with-mdadm-disappears-after-reboot16:48
sudormrfthat guy is using raid 5, I am using raid10, but he was having the exact same issue.16:48
sudormrfI am trying to figure out what I did wrong.  starting over means I will have to wait another 10 hours or so while the array builds itself16:50
Slingsudormrf: how/when did you build the array, in the installer?16:53
sudormrfSling, tried to build it yesterday, rebooted (from work) and it failed to boot because the array disappeared.  tweaked my fstab and added "nobootwait" and "nofail" so it wouldn't completely fail to boot up if the array were not showing16:54
sudormrfrebuilt it last night16:55
sudormrfjust woke up and tried all the steps over again16:55
sudormrfrestarted16:55
sudormrfpoof, gone.16:55
sudormrfthen came in here :)16:55
Slingand this raid5 array is some storage besides your main partition scheme?16:58
sudormrfraid 1016:58
Slingraid10*16:58
sudormrfmy main drive is separate from this array16:58
sudormrfthis box has 5 drives, 4 of which are to be used in the raid 10 array, one drive is the boot drive16:58
Slingand the disks are still there in fdisk -l ?16:58
Slingwhat does cat /proc/mdstat show?16:58
sudormrffdisk -l shows all drives16:59
sudormrfhttp://paste.ubuntu.com/10471304/16:59
sudormrfshows that there is no array16:59
Slingthe mdadm superblocks should still be there on the disks I suppose17:00
sudormrfany way for me to check that?17:00
Slingmdadm --assemble --scan17:00
Slingor mdadm --examine /dev/sd* (or whatever disks they are)17:01
sudormrftried mdadm --assemble --scan earlier17:01
sudormrflet me try it again17:01
sudormrfjust did it, then did cat /proc/mdstat and nothing is happening17:02
sudormrfthere was no output from the assemble scan command either17:02
Slingdo you have your raidset defined in mdadm.conf ?17:02
sudormrfhttp://paste.ubuntu.com/10471367/17:03
sudormrfthat is the conf17:03
sudormrfdoes that look correct to you?17:03
sudormrfI obfuscated the email address17:04
Slingyea the 4 member disks are there and the array is defined as /dev/md017:04
Slingwhat does mdadm --examine /dev/sd[bcde] show?17:04
sudormrfhttp://paste.ubuntu.com/10471380/17:04
sudormrfnot sure what to make of that, btw.17:05
Slingtry starting it again with mdadm --assemble /dev/md0 /dev/sdb /dev/sdc /dev/sdd /dev/sde17:05
sudormrfok, sec17:05
sudormrfmdadm: Cannot assemble mbr metadata on /dev/sdb17:06
sudormrfmdadm: /dev/sdb has no superblock - assembly aborted17:06
Slinghm17:06
Slingthe 'ee' type is "Indication that this legacy MBR is followed by an EFI header"17:07
Slingnot sure how that works in combination with mdadm17:07
Sling(@ the 4 disks, they all seem to contain 1 partition)17:08
Slingi'd recreate empty partition tables there with a 'fd' type partition on each disk17:08
Slingthats the normal partition type for mdadm/raid containing the superblocks etc17:08
sudormrfsorry, how do I do that? I used gparted to do the formatting/partitioning of the drives initially.  still not *that* used to doing disk formatting/partitioning from the CLI.17:09
sudormrfcfdisk?17:09
sudormrfsfdisk17:09
Slingfdisk /dev/sdb17:10
Slingthen 'p' to print the partition table17:10
Slingwith 'd' you can delete any existing partitions, and 'n' creates a new one17:10
sudormrfok17:10
sudormrfthen p17:10
sudormrfor e?17:10
sudormrfp17:10
Slingprimary17:10
Slingthen with 't' you can set the type I think17:11
Slingselect 1st partition, set type to 'fd'17:11
Slingthen 'w' to write the new partition table17:11
ikoniam/win 2617:11
ikoniaoops17:11
sudormrfhmm. not seeing fd in the list17:11
Slingits just a hex code, try entering it17:12
sudormrfooohhh17:12
sudormrflol17:12
sudormrflinux raid auto17:12
sudormrfsee it now17:12
Slingyup17:12
sudormrfok.  going back through and doing this for all of them.  sec17:13
sudormrfhttp://paste.ubuntu.com/10471562/17:14
sudormrfreflecting the change17:14
Slingok17:15
sudormrfnow I have to rebuild the array, correct?17:15
Slingnow: mdadm --create /dev/md0 --run --level=10 --raid-devices=4 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde117:15
sudormrfhmm.  any reason to use sdb1 vs just sdb?17:15
sudormrfI was using sdb only17:15
Slingthat way you use the partition17:15
Slingand not the raw disk17:15
sudormrfok17:15
sudormrfperhaps that could have been causing me the problems17:15
Slingonce the disk is back in /proc/mdadm you can do: mdadm --detail --scan >> /etc/mdadm/mdadm.conf17:15
Slingthat way it should be available again at boot17:16
sudormrfok17:16
Slingalso add it to a mountpoint in /etc/fstab etc ofc17:16
sudormrfwell this is going to take a while :D17:16
Sling:)17:16
sudormrf343 minutes17:16
sudormrfthe time is decreasing lol17:17
sudormrffirst time I ran it it took 8xx min.  last night was 6xx min17:17
Slingyou can speed it up17:17
sudormrfnow 3xx min17:17
sudormrfoh?17:17
Slingcat /proc/sys/dev/raid/speed_limit_min17:17
Slingwhat does that show?17:17
sudormrf100017:18
sarthorHI, Can some one help, how to install this http://mpcabd.igeex.biz/python-arabic-text-reshaper/17:18
Slingtry setting like echo 100000 > /proc/sys/dev/raid/speed_limit_min17:18
Sling(system load will increase)17:18
sudormrfsystem load increasing is fine :D17:18
Slingthere is also /proc/sys/dev/raid/speed_limit_max but that shouldnt have to be increased17:19
Slingest.time better now?17:19
sudormrflet me check17:19
sudormrfit's dropping, but not by much17:20
Slinghm, might be moving average17:20
Slingoh well, patience :)17:20
sudormrfyeah.  thanks.  after the array is done building I will run through the steps again and before rebooting come back by :D.  thanks again, Sling17:21
Slingnp, hope this fixes it :)17:21
sarthorsarthor: .17:22
sarthorHI, Can some one help, how to install this http://mpcabd.igeex.biz/python-arabic-text-reshaper/17:38
=== esde is now known as Guest92432
Slingsarthor: what do you mean with 'install' ? do you want to use it in a python project?17:41
=== Guest92432 is now known as esde
sarthorSling: my computer shows my strange arabic, there is the solution but I do not know how to get benefit from that link. there is not "howto" with that link.17:43
sarthorSling: actually how to use that scrip or files. where to put them. how to import that.17:43
Slingsarthor: define 'strange arabic', in reverse, misaligned, ?17:44
Slingwhat you linked is a python library, for developers17:45
Slingmaybe you are looking for the xfonts-intl-arabic package to correctly display arabic fonts, try 'apt-get install xfonts-intl-arabic'17:46
sarthorArbic is from right to left, while Now it is showing from left to right. alphabets in word is showing from left to right. while it should be right to left.17:47
Walexsarthor: please describe the final result you want to achieve... not what you think is the way to achieve it...17:48
Slingxy problems ftw :)17:49
sarthorSling: I am using openerp on ubuntu-server, When openerp export some report of invoice to pdf it show wrong arabic fonts. I am giving you like of that pdf file. and then you can see and understand.17:51
Walexsarthor: wrong arabic fonts or wrong glyph writing order?17:52
sarthorwrong glyph writing order?17:53
sarthorwrong glyph writing order!17:53
sarthorSorry17:53
ogra_sarthor, did you consider checking http://openerparabia.org/ ?17:54
Walexsarthor: https://www.google.com/search?as_q=openerp+left-to-right might help17:54
ogra_(i bet you are not the first one t have that prob)17:54
sarthorogra_: yes I checked there, they are not saying anything about this.17:55
Walexsarthor: https://www.linkedin.com/groups/RighttoLeft-reports-OpenERP-SOLVED-165657.S.11182456417:56
sarthorSling: here is pdf file  http://nhksa.com:81/pdf/17:57
sarthorhttps://www.linkedin.com/groups/RighttoLeft-reports-OpenERP-SOLVED-165657.S.111824564 Walex there is link which is not opening. rest i can not see anything that give solution.18:00
sarthorSling: did you get that file, or you gotten busy?18:03
Slingsarthor: sorry bit busy, check Walex's links18:12
sarthorWalex: linked link have nothing, also I am using OpenERP 7.18:13
=== CiPi is now known as cipi
sudormrfSling, you still around?23:23
sudormrf!ping23:23
ubottupong!23:23
sudormrfhmm.  this is odd.23:27
sudormrfso I recreated the RAID array and now it mounts on boot, but it is only using half of the drive capacity.  IE, 2TB instead of 4.23:28
sudormrfis there a way that I can correct that without having to start the entire process over again?23:28
sudormrfI think I see what happened23:30
sudormrfrestarting with gdisk instead of fdisk.23:34
sudormrfmay be a better way to do this, but oh well23:34
=== bilde2910 is now known as bilde2910|away

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