ekim | hello all. | 07:02 |
---|---|---|
MASM | Hello | 08:02 |
MASM_ | Hellos, someone help me with mdadm problem, i want to add a disk to my new mdadm array but it run so slow, and the system freeze... https://hastebin.com/etivovonar.sql | 08:07 |
=== JanC is now known as Guest97495 | ||
=== JanC_ is now known as JanC | ||
=== Guest76180 is now known as FreddG | ||
NwS | Heya guys, Is there any good guide on how to create a self-signed certificate for TLS use? | 12:01 |
andol | NwS: Self-signed as in directly self-signed, or as in self-signed using your own CA? | 12:02 |
NwS | andol, I have no idea tbh.. -.-" I just want to make the mails use TLS instead of nothing atm.. | 12:03 |
andol | NwS: Might as well grab a "real" certificate from Let's Encrypt then? | 12:04 |
NwS | andol, As far as I remember that only lasts for a few months or something? | 12:06 |
andol | NwS: Yepp, hence the automated renewal | 12:09 |
NwS | Ok will check it out. Thanks! | 12:09 |
=== Piper-Off is now known as Monthrect | ||
ikonia | NwS: most mail servers will reject self signed certs | 12:47 |
ikonia | keep that in mind | 12:47 |
NwS | Thank you for the info ikonia! | 12:47 |
=== devil is now known as Guest95140 | ||
=== Guest95140 is now known as devil_ | ||
=== devil_ is now known as devil__ | ||
=== devil__ is now known as devil | ||
=== devil is now known as devil_ | ||
=== Metacity|uh-oh is now known as Metacity | ||
=== devil is now known as Guest69784 | ||
tomreyn | MASM_: the reason why your RAID array (in a mirroring configuration) goes slower when you add a new member is that data is synched initially. See line 18 for the initiated synjch process. Once this is complete, operation should be as fast as before or faster. | 15:12 |
tomreyn | oh okay, i missed the very low synch speed of 541K/sec | 15:14 |
MASM_ | tomreyn: and what i need to do?, it is so slow, 200 k/s | 15:14 |
MASM_ | tomreyn: right now it was 94k/s | 15:15 |
tomreyn | yes this suggests something is not right - unless you have ongoing massive reads / writes? | 15:16 |
MASM_ | tomreyn: the server is in runtime, but when i stop mysql, apache, it was the same... | 15:18 |
tomreyn | bad partition alignment could cause reduced performance, but usually not that much. | 15:18 |
MASM_ | tomreyn: You recomend me that run server in recovery mode and do it?, | 15:18 |
tomreyn | MASM_: if you removed the production workload off the disks and the performance remained in the KB/s area then this won't help. | 15:20 |
tomreyn | MASM_: but you can try the laignment check: "sudo parted /dev/sdX align-check optimal N" where X is the block device (such as "sda") and N is the partition number. | 15:21 |
MASM_ | tomreyn: 3 partitions said aligned | 15:23 |
MASM_ | tomreyn: from actual disk and new disk, i start a check in new disck with smartclt, maybe the new disk is failing | 15:26 |
tomreyn | MASM_: yes, you can run a -t long on those | 15:28 |
tomreyn | MASM_: are sdb and sdc the same disk model? | 15:28 |
tomreyn | which disk models are those anyways? | 15:28 |
MASM_ | tomreyn: who i find it? | 15:29 |
tomreyn | sudo hdparm -i /dev/sd{a,b,c} | 15:32 |
MASM_ | tomreyn: new disk is ST1000DM003-1SB102 , second ST1000DM003-1CH162 | 15:34 |
tomreyn | "sudo smartctl --info /dev/sdX" provides more readable output | 15:34 |
MASM_ | tomreyn: https://hastebin.com/widimelihi.vbs | 15:36 |
MASM_ | tomreyn: https://hastebin.com/vigumokufe.vbs | 15:36 |
MASM_ | tomreyn: https://hastebin.com/biquxedike.cs | 15:37 |
tomreyn | so those are seagate barracudas 1TB, different generations apparently | 15:39 |
tomreyn | i'm trying to understand what the difference between 1SB102 and 1CH162 is | 15:39 |
MASM_ | tomreyn: i think its the generation of disk...¿?¿? | 15:45 |
tomreyn | MASM_: yes, probably, it's the same marketing model, just different firmware versions. have you looked at the firmware updates information? | 15:46 |
MASM_ | tomreyn: no, I intuited | 15:50 |
MASM_ | tomreyn: i was searching that, i only found a pdf with first disk, the new | 15:50 |
tomreyn | MASM_: so read those links which are found in the smartctl -i output you posted | 15:51 |
tomreyn | (or rather the web pages these links point to) | 15:51 |
teward | is there an easy way in Postfix to tell it to deliver mail for a given email address to a specific user on the system? | 15:54 |
teward | maybe in aliases somewhere? | 15:54 |
MASM_ | teward: http://serverfault.com/questions/144325/how-to-redirect-all-postfix-emails-to-one-external-email-address | 15:55 |
tomreyn | teward: virtual mail domains or just a single (system) domain? | 15:55 |
teward | tomreyn: ultimately irrelevant, because all domains on this box would point to the same user(s). | 15:57 |
teward | tomreyn: though, if we're being specific, for now a single system domain | 15:57 |
teward | tomreyn: as in, mail to foo@bar.baz and foo@bar.baz.bash would both to to user foobar instead fo 'foo' | 15:58 |
tomreyn | teward: well then just add an alias mapping, rad aliases (5) | 15:58 |
teward | basically, just trying to map a specific address to a specific local user mailbox | 15:58 |
teward | thanks | 15:58 |
tomreyn | i.e. you probably will just end up editing /etc/aliases or /etc/postfix/aliases and add somethign along the lines of: | 15:58 |
teward | I sometimes forget my aliases knowledge :) | 15:59 |
tomreyn | originalrecipient: newrecipient@example.org | 15:59 |
tomreyn | or, in your case: | 15:59 |
tomreyn | originallocaluser: newlocaluser | 16:00 |
tomreyn | my postfix is rusty, though, i hope that's correct OTOH. | 16:01 |
tomreyn | MASM_: in case you're not happy to do the firmware updates you may be able to have the disks replaced instead. also, did the long self tests complete, yet? | 16:02 |
MASM_ | tomreyn: i see it will last 108 minutes, it finish in 45 minutes | 16:08 |
MASM_ | tomreyn: i have server dedicate, i saw one disk is failing, mdadm raid send me mails about it, i send to hosting, but i think they didn't change it... | 16:09 |
tomreyn | MASM_: you should note down serial numbers when this happens | 16:11 |
tomreyn | also "sudo smartctl -a /dev/sdX" may tell | 16:11 |
tomreyn | and surely dmesg -T | 16:12 |
tomreyn | if a disk is broken this could very well explain the bad performance you see | 16:12 |
MASM_ | tomreyn: i was searching about the ids i take noete, yes they change it | 16:18 |
MASM_ | tomreyn: i need wait to finish long test in /dev/sda for do a "sudo smartctl -a /dev/sdX" | 16:20 |
tomreyn | MASM_: you should already be able to run it now, getting the latest information | 16:26 |
MASM_ | tomreyn: this is the result https://hastebin.com/uxusopabux.erl | 16:30 |
tomreyn | MASM_: thats the ST1000DM003-1SB102 - your newest HDD, i guess | 16:33 |
tomreyn | it's only been powered on for 65 hours | 16:34 |
tomreyn | what about the other two (? I saw you had sda, sdb, sdc) disks? | 16:34 |
MASM_ | sorry i didn't say you, when i start i saw /dev/sdb and /dev/sdc | 16:36 |
MASM_ | tomreyn: and then when i reboot the server the /dev/sdc change to /dev/sda | 16:36 |
MASM_ | tomreyn: and yes /dev/sda was /dev/sdc, and it is the new disk, i confirm the device serial number | 16:38 |
qman | that's why you should always use /dev/disk/by-id in scripts and config files | 16:38 |
qman | the other names are fine for humans who know they change | 16:39 |
tomreyn | i see. so what's the output of "sudo smartctl -a /dev/disk/by-id/ata-ST1000DM003-1CH162_S1D9YSS6" | 16:41 |
MASM_ | qman: thank for the information, I did not know it, i'm a beginner in this | 16:41 |
tomreyn | that's probably sdb now | 16:42 |
tomreyn | and are there any ata errors in dmesg | 16:42 |
MASM_ | tomreyn: https://hastebin.com/iluvizafob.erl | 16:43 |
tomreyn | okay, so both disks look alright for now, except the possible need for a firmware upgrade, except the unfinished long offline test. | 16:46 |
tomreyn | there were, however, ATA ABRT errors on ST1000DM003-1SB102_Z9A4SRJX when it had 58 hours of uptime (currently 7 hours uptime ago). | 16:49 |
tomreyn | this could point to bad wires, connectors, disk issues, controller issues. | 16:50 |
tomreyn | also power supply and thermal issues, but less likely. | 16:51 |
MASM_ | tomreyn: maybe because i reboot server, with panel from hosting, because it was freezing, like when they are resync :S <-- Could this have been? | 16:53 |
tomreyn | MASM_: no, rebooting the server should not normally result in aborted ATA commands, | 18:13 |
MASM_ | tomreyn: okey, i'm waiting for test it have 50% of it. , changin conversation, i remember that before some one help me and i think that person was you, 3 or 4 months ago, xD | 18:15 |
tomreyn | i wouldnt remember | 18:16 |
MASM_ | tomreyn: don't remember this :http://askubuntu.com/questions/809823/error-raid1-not-unsynchronized-a-degradedarray-event-had-been-detected-on-md-d | 18:17 |
tomreyn | i'm afraid i don't | 18:20 |
tomreyn | but my memory is not very good. | 18:21 |
MASM_ | tomreyn: don't worry, your memory is selective | 18:22 |
tomreyn | ok ;) | 18:31 |
=== Guest69784 is now known as devil_ | ||
=== voldemort is now known as nchambers | ||
=== JanC_ is now known as JanC | ||
MASM | tomreyn: https://hastebin.com/orocenocab.sql this is the new information about smartctl check with long test | 21:28 |
tomreyn | MASM: one of them hadn't finished, yet: "# 1 Extended offline Self-test routine in progress 10% 70 -" | 21:31 |
tomreyn | 10% lef to be checked | 21:31 |
tomreyn | the other jdd looks fine, though | 21:32 |
tomreyn | *hdd | 21:32 |
rhigby | hello. | 21:32 |
rhigby | I found this irc channel from the conjure-up.io page | 21:33 |
rhigby | Is this a room that provides guidance with openstack deployment? | 21:33 |
rhigby | I have been trying to get a POC off the ground. I have a beefy 56core/256ram physical box with vmware running. | 21:35 |
rhigby | I have been deploying 16.04 over and over trying to use the conjure-up method but I keep running into issue. The first was the accounts.yam file missing. | 21:35 |
rhigby | I was able to get past that and now I had around 5 of my vm instances running, then it bombed out due to a "handoff error" | 21:36 |
rhigby | So is that a no on the assistance? | 21:48 |
MASM | tomreyn: https://hastebin.com/ipazeteguv.sql it finish, it isn't with errors | 22:32 |
MASM | tomreyn it will be the firmware ? :S i never change firmware of hard disk | 22:35 |
tomreyn | MASM: might be, might not be. could also be the controller, or bios, or something else entirely. you shouldn't do it yourself if this is a rented server | 22:36 |
tomreyn | at least not before checking with support | 22:36 |
MASM | tomreyn: yes it is a rented server | 22:37 |
MASM | tomreyn: the slow resync will be because i didn't use " fdisk /dev/sda " to format disk? | 22:43 |
tomreyn | MASM: the sfdisk export and reimport method should be fine for duplicating the partition table | 23:11 |
tomreyn | MASM: check the output of "blkid" for duplicate id's, just in case | 23:12 |
tomreyn | this shouldn't have created any, though, since partition tables and partitioned block devices don't have uuids assigned, just the partitions themselves. | 23:13 |
adrian_1908 | what is the purpose of the "ubuntu" user? I've started using my first VPS and was surprised to find a user under this name. | 23:20 |
tomreyn | adrian_1908: this will be specific to the images your host provides | 23:21 |
tomreyn | it is not a default user account | 23:21 |
adrian_1908 | tomreyn: ah ok, thanks. I'm using OVH. | 23:21 |
tomreyn | you could try asking in the unofficial #ovh channel then | 23:21 |
adrian_1908 | I didn't even know that channel existed. Happy new year! | 23:22 |
MASM | tomreyn: https://hastebin.com/apuxejucot.sql i find some uuid duplicate, but it was similar than another server that my friend have | 23:28 |
MASM | *has | 23:28 |
tomreyn | right, raid members in a mirror setup actually need to have the same uuid | 23:30 |
tomreyn | *active | 23:31 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!