wolflarson | I should mention it is still asking for my old hostname. sudo: unable to resolve host <oldhostname> | 00:05 |
---|---|---|
sarnold | what does uname -a report? | 00:05 |
wolflarson | old hostname | 00:06 |
sarnold | wolflarson: running "hostname <newhostname>" will probably sort that out | 00:08 |
sarnold | wolflarson: maybe "hostname --file /etc/hostname" ? | 00:08 |
wolflarson | hmm thats how I changed it in the first place though. | 00:09 |
wolflarson | I did not do the --file part will give that a shot | 00:09 |
wolflarson | /etc/hostname was showing the correct host however | 00:09 |
wolflarson | adding --file seems to have worked thanks sarnold | 00:16 |
wolflarson | that or opening a new session picked up the 127.0.1.1 change to hosts. whatever way it is now working | 00:18 |
sarnold | wolflarson: nice :) | 00:19 |
sarnold | wolflarson: twenty-ish years ago I set up an SCO unix machine, and it had beena real bastard on the first two attempts, so on the third attempt I gave it a -terrible- bad word for a system name... and when the time came to deploy it, I couldn't track down every bloody use of the bad word | 00:20 |
sarnold | I thought I got them all but we kept finding occurances where we didn't expect it and things broke ... | 00:20 |
wolflarson | lol | 00:20 |
sarnold | yet another re-install required :) | 00:20 |
jak2000 | hi all | 02:07 |
=== JanC is now known as Guest94114 | ||
=== JanC_ is now known as JanC | ||
jak2000 | i buy a domain and how to configure the domain in the server? i want setup a mails erver(postfix) and webserver http2 thnks | 03:01 |
patdk-lap | jak2000, I would highly recommend you don't do that | 03:14 |
jak2000 | why? | 03:31 |
jak2000 | ? | 04:19 |
=== Error404NotFound is now known as Guest60135 | ||
=== pavlushka is now known as Guest81133 | ||
=== Guest81133 is now known as pavlushka | ||
=== Error404NotFound is now known as Guest21056 | ||
ChrisWarrick | Hello, have you got any good and up-to-date guides on setting up L2TP/IPSec VPNs? | 11:51 |
DexterF | hi all | 15:14 |
DexterF | server as base for media center, installing to 32GB usb3 thumbdrive for / and /boot. 3xsata hdds supposed to be main storage for media in md raid5. now: where do I put swap if I mean to suspend-to-disk? | 15:15 |
DexterF | I was thinking: 4GB RAM, so put 3x 2GB swap in all of the 3 array drives, but then thought: bad idea, if one disk fails: no resume from disk. if I put swap on the raid5/lvm: lots of writing when swap is accessed. | 15:16 |
RoyK | I'd put the swap on the USB thing | 15:17 |
RoyK | gparted should be able to change the partition size, although perhaps from a live usb boot, since it's not always easy to change a mounted fs | 15:18 |
RoyK | IIRC swap needs to be on a dedicated partition for suspend-to-disk to work | 15:19 |
RoyK | and separating data from system, like you're doing, is a very good idea indeed | 15:20 |
DexterF | RoyK: swap on the usb drive thought crossed my mind, too, if it only is used for suspend then the wear would even be ok, question is: how much swap does linux use when there's plenty of RAM. it's 4GB for a media center / DVB streamer on a minimum install so I don't expect it to use swap | 15:24 |
RoyK | DexterF: but again - I'm not sure if you'll need suspend-to-disk on such a machine. I just use a raspberry pi for mine with openelec and it doesn't have that feature | 15:24 |
DexterF | that's option B: "always on, don't suspend at all." power consumption is at 20W idle and barely exceeds 25 active. | 15:25 |
DexterF | it really is feasible. | 15:25 |
DexterF | leave out swap altogether then? | 15:25 |
RoyK | DexterF: linux usually uses a wee bit of swap, but that's tunable with the vm.swappiness setting, default 60. Set that to 1 and it won't use much unless it's really necessary | 15:25 |
RoyK | sysctl vm.swappiness | 15:26 |
RoyK | will tell you it's setting | 15:26 |
DexterF | ok, swap goes to the usb thumb then | 15:26 |
RoyK | yes | 15:26 |
DexterF | did not know that, thanks | 15:26 |
RoyK | create a file, like /etc/sysctl.d/10-swappiness.conf | 15:27 |
RoyK | add "vm.swappiness = 1" to it and run sysctl -p /etc/sysctl.d/10-swappiness.conf to have sysctl read it | 15:27 |
DexterF | -p is for persistent? | 15:28 |
RoyK | man sysctl | 15:28 |
RoyK | those things aren't persistent, but creating that file, means sysctl will read it during boot | 15:28 |
DexterF | got it | 15:36 |
DexterF | what the *flying*.... | 15:36 |
DexterF | my first attempt was to install directly install on radi5 everything, then found it doesnt fly well with grub, so I thought, ok, put in another usb drive for / /boot swap and start over form scratch. | 15:37 |
DexterF | then the installer found the old raid config and I thought, better dd over the first 4M of the raid disks. did that | 15:38 |
DexterF | now I created md0 again and it *finds* the former LVM volumes from installation 1. where the heck did it find that info?! | 15:38 |
DexterF | LVM keeps a config backup at the end of the pv, right? | 15:40 |
DexterF | installation fails due to shoddy sata cable on disk 3 :D | 15:42 |
DexterF | then again maybe not. "base-installer: error: could not find any live images" | 15:54 |
DexterF | https://bugs.launchpad.net/ubuntu/+source/live-installer/+bug/1575652 seems related. not sure and not sure what to do about it. | 15:54 |
ubottu | Launchpad bug 1575652 in live-installer (Ubuntu Yakkety) "PXE install prefixes /cdrom to squashfs location, fails to find it" [High,Fix released] | 15:54 |
DexterF | any way to continue this installation or do I need to boot over and put the line in grub as suggested? | 15:54 |
DexterF | ok, it works when *not* cheking "live installer" in the options. what's the difference in that anyway? | 16:30 |
RoyK | DexterF: AFAIK grub doesn't support booting from anything but normal disks and mirrors (raid-1) | 16:36 |
RoyK | DexterF: separate data and storage, and you'll be fine | 16:36 |
DexterF | RoyK: yes, playing it ssafe now. grub2 actually does boot from lvm on raid5, but as soon as something happens you find yourself at a grub shell. plus, grub2 has to be installed to all disks. now it's on one and I should be good. | 16:37 |
DexterF | K.I.S.S. principle. | 16:38 |
RoyK | damn - didn't know that, but still, separating data from the system will never hurt | 16:45 |
RoyK | keep the system and its swap etc on a separate, preferably mirrored volume and use raid-something or zfs for the est | 16:46 |
RoyK | or even btrfs if you like to play with matches and petrol | 16:46 |
cossier | hola | 20:00 |
=== ewook_ is now known as ewook |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!