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