[00:00] hello all! [00:00] hey 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] dat double hello<3 [00:01] The server.conf for open vpn is kinda empty. http://pastebin.com/zygUTR0u Leads me to assume that maybe my configuration is wrong? [00:02] If anyone knows anything bout openvpn here ^.^ === markthomas is now known as markthomas|away [03:22] could anyone help me figuring out an issue with a new ubuntu-server installion hanging while regenerating the grub configuration file? === Lcawte|Away is now known as Lcawte === bilde2910|away is now known as bilde2910 [12:51] Is there a limit to how many files can be stored on a disk? (assuming it has enough free space) [12:52] zotta: The number of inodes on the filesystem is the upper limit. [12:52] Additionally, you can use quotas. [12:53] I 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:54] 100k temp files? o.O [12:55] just wondering is that would work, because less effot for me [12:56] *if [12:56] IF you have enough free space and enough unused inodes, it will work. [12:57] at 2kb per file that would be ~200mb [12:58] What does your script do? :) [13:01] it's a step for building a new acoustic model for the german language [13:02] That sounds interesting. :) [13:02] only if you don't look too closely [13:02] anyway: how do i set that inode thing? [13:03] It is an entity of the filesystem, you cannot change it after creating the filesystem. [13:04] For ext2/3/4, you can use tune2fs for displaying all entities. [13:07] bekks: ok found it, got 2M free :) [13:07] That should suffice for a few tests :) === 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 [16:47] hey 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:48] found this thread: http://superuser.com/questions/746112/ubuntu-server-14-04-raid5-created-with-mdadm-disappears-after-reboot [16:48] that guy is using raid 5, I am using raid10, but he was having the exact same issue. [16:50] I 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 itself [16:53] sudormrf: how/when did you build the array, in the installer? [16:54] Sling, 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 showing [16:55] rebuilt it last night [16:55] just woke up and tried all the steps over again [16:55] restarted [16:55] poof, gone. [16:55] then came in here :) [16:58] and this raid5 array is some storage besides your main partition scheme? [16:58] raid 10 [16:58] raid10* [16:58] my main drive is separate from this array [16:58] this box has 5 drives, 4 of which are to be used in the raid 10 array, one drive is the boot drive [16:58] and the disks are still there in fdisk -l ? [16:58] what does cat /proc/mdstat show? [16:59] fdisk -l shows all drives [16:59] http://paste.ubuntu.com/10471304/ [16:59] shows that there is no array [17:00] the mdadm superblocks should still be there on the disks I suppose [17:00] any way for me to check that? [17:00] mdadm --assemble --scan [17:01] or mdadm --examine /dev/sd* (or whatever disks they are) [17:01] tried mdadm --assemble --scan earlier [17:01] let me try it again [17:02] just did it, then did cat /proc/mdstat and nothing is happening [17:02] there was no output from the assemble scan command either [17:02] do you have your raidset defined in mdadm.conf ? [17:03] http://paste.ubuntu.com/10471367/ [17:03] that is the conf [17:03] does that look correct to you? [17:04] I obfuscated the email address [17:04] yea the 4 member disks are there and the array is defined as /dev/md0 [17:04] what does mdadm --examine /dev/sd[bcde] show? [17:04] http://paste.ubuntu.com/10471380/ [17:05] not sure what to make of that, btw. [17:05] try starting it again with mdadm --assemble /dev/md0 /dev/sdb /dev/sdc /dev/sdd /dev/sde [17:05] ok, sec [17:06] mdadm: Cannot assemble mbr metadata on /dev/sdb [17:06] mdadm: /dev/sdb has no superblock - assembly aborted [17:06] hm [17:07] the 'ee' type is "Indication that this legacy MBR is followed by an EFI header" [17:07] not sure how that works in combination with mdadm [17:08] (@ the 4 disks, they all seem to contain 1 partition) [17:08] i'd recreate empty partition tables there with a 'fd' type partition on each disk [17:08] thats the normal partition type for mdadm/raid containing the superblocks etc [17:09] sorry, 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] cfdisk? [17:09] sfdisk [17:10] fdisk /dev/sdb [17:10] then 'p' to print the partition table [17:10] with 'd' you can delete any existing partitions, and 'n' creates a new one [17:10] ok [17:10] then p [17:10] or e? [17:10] p [17:10] primary [17:11] then with 't' you can set the type I think [17:11] select 1st partition, set type to 'fd' [17:11] then 'w' to write the new partition table [17:11] m/win 26 [17:11] oops [17:11] hmm. not seeing fd in the list [17:12] its just a hex code, try entering it [17:12] ooohhh [17:12] lol [17:12] linux raid auto [17:12] see it now [17:12] yup [17:13] ok. going back through and doing this for all of them. sec [17:14] http://paste.ubuntu.com/10471562/ [17:14] reflecting the change [17:15] ok [17:15] now I have to rebuild the array, correct? [17:15] now: mdadm --create /dev/md0 --run --level=10 --raid-devices=4 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 [17:15] hmm. any reason to use sdb1 vs just sdb? [17:15] I was using sdb only [17:15] that way you use the partition [17:15] and not the raw disk [17:15] ok [17:15] perhaps that could have been causing me the problems [17:15] once the disk is back in /proc/mdadm you can do: mdadm --detail --scan >> /etc/mdadm/mdadm.conf [17:16] that way it should be available again at boot [17:16] ok [17:16] also add it to a mountpoint in /etc/fstab etc ofc [17:16] well this is going to take a while :D [17:16] :) [17:16] 343 minutes [17:17] the time is decreasing lol [17:17] first time I ran it it took 8xx min. last night was 6xx min [17:17] you can speed it up [17:17] now 3xx min [17:17] oh? [17:17] cat /proc/sys/dev/raid/speed_limit_min [17:17] what does that show? [17:18] 1000 [17:18] HI, Can some one help, how to install this http://mpcabd.igeex.biz/python-arabic-text-reshaper/ [17:18] try setting like echo 100000 > /proc/sys/dev/raid/speed_limit_min [17:18] (system load will increase) [17:18] system load increasing is fine :D [17:19] there is also /proc/sys/dev/raid/speed_limit_max but that shouldnt have to be increased [17:19] est.time better now? [17:19] let me check [17:20] it's dropping, but not by much [17:20] hm, might be moving average [17:20] oh well, patience :) [17:21] yeah. thanks. after the array is done building I will run through the steps again and before rebooting come back by :D. thanks again, Sling [17:21] np, hope this fixes it :) [17:22] sarthor: . [17:38] HI, Can some one help, how to install this http://mpcabd.igeex.biz/python-arabic-text-reshaper/ === esde is now known as Guest92432 [17:41] sarthor: what do you mean with 'install' ? do you want to use it in a python project? === Guest92432 is now known as esde [17:43] Sling: 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] Sling: actually how to use that scrip or files. where to put them. how to import that. [17:44] sarthor: define 'strange arabic', in reverse, misaligned, ? [17:45] what you linked is a python library, for developers [17:46] maybe you are looking for the xfonts-intl-arabic package to correctly display arabic fonts, try 'apt-get install xfonts-intl-arabic' [17:47] Arbic 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:48] sarthor: please describe the final result you want to achieve... not what you think is the way to achieve it... [17:49] xy problems ftw :) [17:51] Sling: 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:52] sarthor: wrong arabic fonts or wrong glyph writing order? [17:53] wrong glyph writing order? [17:53] wrong glyph writing order! [17:53] Sorry [17:54] sarthor, did you consider checking http://openerparabia.org/ ? [17:54] sarthor: https://www.google.com/search?as_q=openerp+left-to-right might help [17:54] (i bet you are not the first one t have that prob) [17:55] ogra_: yes I checked there, they are not saying anything about this. [17:56] sarthor: https://www.linkedin.com/groups/RighttoLeft-reports-OpenERP-SOLVED-165657.S.111824564 [17:57] Sling: here is pdf file http://nhksa.com:81/pdf/ [18:00] https://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:03] Sling: did you get that file, or you gotten busy? [18:12] sarthor: sorry bit busy, check Walex's links [18:13] Walex: linked link have nothing, also I am using OpenERP 7. === CiPi is now known as cipi [23:23] Sling, you still around? [23:23] !ping [23:23] pong! [23:27] hmm. this is odd. [23:28] so 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] is there a way that I can correct that without having to start the entire process over again? [23:30] I think I see what happened [23:34] restarting with gdisk instead of fdisk. [23:34] may be a better way to do this, but oh well === bilde2910 is now known as bilde2910|away