updated resume and some new blogposts
This commit is contained in:
parent
19756ab58a
commit
6e5760cafb
Binary file not shown.
|
@ -0,0 +1,2 @@
|
|||
<div id="footer">CC by-nc-nd <a href="https://tilde.team/~ben/">~ben</a> — <a href="mailto:ben@tilde.team">ben@tilde.team</a><br/>
|
||||
generated with <a href="https://tildegit.org/team/bashblog">bashblog</a>, a single bash script to easily create blogs like this one</div>
|
|
@ -0,0 +1,15 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
|
||||
<meta name="theme-color" content="#00cc00">
|
||||
<link rel="icon" type="image/png" sizes="192x192" href="https://tilde.team/apple-touch-icon-precomposed.png">
|
||||
<link rel="icon" type="image/png" sizes="96x96" href="https://tilde.team/favicon-96x96.png">
|
||||
|
||||
<link rel="stylesheet" href="https://tilde.team/css/dracula.css">
|
||||
<link rel="stylesheet" href="extra.css">
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" title="subscribe to this page..." href="feed.rss" />
|
|
@ -0,0 +1,2 @@
|
|||
<h1 class="nomargin"><a class="ablack" href="https://tilde.team/~ben/blog/index.html">blog // ~ben</a></h1>
|
||||
<div id="description">a blog about tildes and other things</div>
|
Binary file not shown.
|
@ -0,0 +1,53 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
|
||||
<meta name="theme-color" content="#00cc00">
|
||||
<link rel="icon" type="image/png" sizes="192x192" href="https://tilde.team/apple-touch-icon-precomposed.png">
|
||||
<link rel="icon" type="image/png" sizes="96x96" href="https://tilde.team/favicon-96x96.png">
|
||||
|
||||
<link rel="stylesheet" href="https://tilde.team/css/dracula.css">
|
||||
<link rel="stylesheet" href="extra.css">
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" title="subscribe to this page..." href="feed.rss" />
|
||||
<title></title>
|
||||
</head><body>
|
||||
<div class="container">
|
||||
|
||||
<div id="divbodyholder">
|
||||
<div class="headerholder"><div class="header">
|
||||
<div id="title">
|
||||
<h1 class="nomargin"><a class="ablack" href="https://tilde.team/~ben/blog/index.html">blog // ~ben</a></h1>
|
||||
<div id="description">a blog about tildes and other things</div>
|
||||
</div></div></div>
|
||||
<div id="divbody"><div class="content">
|
||||
<!-- entry begin -->
|
||||
<h3><a class="ablack" href="764.html">
|
||||
|
||||
</a></h3>
|
||||
<!-- bashblog_timestamp: #201901151036.22# -->
|
||||
<div class="subtitle">January 15, 2019 —
|
||||
~ben
|
||||
</div>
|
||||
<!-- text begin -->
|
||||
|
||||
<!-- text end -->
|
||||
<!-- entry end -->
|
||||
</div>
|
||||
<div id="footer">CC by-nc-nd <a href="https://tilde.team/~ben/">~ben</a> — <a href="mailto:ben@tilde.team">ben@tilde.team</a><br/>
|
||||
generated with <a href="https://tildegit.org/team/bashblog">bashblog</a>, a single bash script to easily create blogs like this one</div>
|
||||
</div></div>
|
||||
<script src="https://utteranc.es/client.js"
|
||||
repo="benharri/tilde"
|
||||
issue-term="title"
|
||||
crossorigin="anonymous"
|
||||
theme="github-dark"
|
||||
async>
|
||||
</script>
|
||||
|
||||
</div>
|
||||
<br>
|
||||
</body></html>
|
|
@ -25,6 +25,10 @@
|
|||
</div></div></div>
|
||||
<div id="divbody"><div class="content">
|
||||
<h3>all posts</h3>
|
||||
<h4 class='allposts_header'>January 2019</h4>
|
||||
<ul>
|
||||
<li><a href="./raid-nonsense.html">raid nonsense</a> — January 13, 2019</li>
|
||||
</ul>
|
||||
<h4 class='allposts_header'>November 2018</h4>
|
||||
<ul>
|
||||
<li><a href="./weechat-setup.html">weechat setup</a> — November 16, 2018</li>
|
||||
|
|
|
@ -66,8 +66,8 @@
|
|||
<li><a href="tag_snow.html">snow</a> — 1 post</li>
|
||||
<li><a href="tag_social-networks.html">social-networks</a> — 1 post</li>
|
||||
<li><a href="tag_ssh.html">ssh</a> — 1 post</li>
|
||||
<li><a href="tag_sysadmin.html">sysadmin</a> — 6 posts</li>
|
||||
<li><a href="tag_tilde.html">tilde</a> — 7 posts</li>
|
||||
<li><a href="tag_sysadmin.html">sysadmin</a> — 7 posts</li>
|
||||
<li><a href="tag_tilde.html">tilde</a> — 8 posts</li>
|
||||
<li><a href="tag_travel.html">travel</a> — 1 post</li>
|
||||
<li><a href="tag_ubuntu.html">ubuntu</a> — 2 posts</li>
|
||||
<li><a href="tag_update.html">update</a> — 1 post</li>
|
||||
|
|
|
@ -2,10 +2,23 @@
|
|||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<channel><title>blog // ~ben</title><link>https://tilde.team/~ben/blog/index.html</link>
|
||||
<description>a blog about tildes and other things</description><language>en</language>
|
||||
<lastBuildDate>Fri, 16 Nov 2018 23:22:08 -0500</lastBuildDate>
|
||||
<pubDate>Fri, 16 Nov 2018 23:22:08 -0500</pubDate>
|
||||
<lastBuildDate>Sun, 13 Jan 2019 13:29:11 -0500</lastBuildDate>
|
||||
<pubDate>Sun, 13 Jan 2019 13:29:11 -0500</pubDate>
|
||||
<atom:link href="https://tilde.team/~ben/blog/feed.rss" rel="self" type="application/rss+xml" />
|
||||
<item><title>
|
||||
raid nonsense
|
||||
</title><description><![CDATA[
|
||||
|
||||
<p>last week i did some <a href="https://tilde.team/news/?page=025_raid_reboot">maintenance</a>
|
||||
on the tilde.team box. probably should have written about it sooner but i didn't
|
||||
make time for it until now.</p>
|
||||
|
||||
<hr />
|
||||
]]></description><link>https://tilde.team/~ben/blog/raid-nonsense.html</link>
|
||||
<guid>https://tilde.team/~ben/blog/./raid-nonsense.html</guid>
|
||||
<dc:creator>~ben</dc:creator>
|
||||
<pubDate>Sun, 13 Jan 2019 13:28:45 -0500</pubDate></item>
|
||||
<item><title>
|
||||
weechat setup
|
||||
</title><description><![CDATA[
|
||||
|
||||
|
|
|
@ -24,6 +24,20 @@
|
|||
<div id="description">a blog about tildes and other things</div>
|
||||
</div></div></div>
|
||||
<div id="divbody"><div class="content">
|
||||
<h3><a class="ablack" href="raid-nonsense.html">
|
||||
raid nonsense
|
||||
</a></h3>
|
||||
<!-- bashblog_timestamp: #201901131328.45# -->
|
||||
<div class="subtitle">January 13, 2019 —
|
||||
~ben
|
||||
</div>
|
||||
<!-- text begin -->
|
||||
|
||||
<p>last week i did some <a href="https://tilde.team/news/?page=025_raid_reboot">maintenance</a>
|
||||
on the tilde.team box. probably should have written about it sooner but i didn't
|
||||
make time for it until now.</p>
|
||||
|
||||
<p class="readmore"><a href="./raid-nonsense.html">read more...</a></p>
|
||||
<h3><a class="ablack" href="weechat-setup.html">
|
||||
weechat setup
|
||||
</a></h3>
|
||||
|
@ -245,36 +259,6 @@ that the main config in /etc/netplan says that the network config is handled by
|
|||
|
||||
|
||||
|
||||
<!-- text end -->
|
||||
<h3><a class="ablack" href="dotfiles.html">
|
||||
dotfiles
|
||||
</a></h3>
|
||||
<!-- bashblog_timestamp: #201807221926.26# -->
|
||||
<div class="subtitle">July 22, 2018 —
|
||||
~ben
|
||||
</div>
|
||||
<!-- text begin -->
|
||||
|
||||
<p>finally got around to updating my <a href="https://git.tilde.team/ben/dotfiles">dotfiles</a> to use gnu stow.
|
||||
i adapted <a href="https://github.com/jamestomasino/dotfiles/blob/master/Makefile">~tomasino's makefile</a>
|
||||
for use with the configs that i'm keeping with it.</p>
|
||||
|
||||
<p>now i just need to figure out why my ssh config doesn't copy/symlink my config to ~/.ssh when it
|
||||
already exists.</p>
|
||||
|
||||
<p>tags: <a href='tag_linux.html'>linux</a>, <a href='tag_dotfiles.html'>dotfiles</a>, <a href='tag_git.html'>git</a></p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- text end -->
|
||||
<div id="all_posts"><a href="all_posts.html">archive</a> — <a href="all_tags.html">all tags</a> — <a href="feed.rss">rss</a></div>
|
||||
</div>
|
||||
|
|
|
@ -0,0 +1,108 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
|
||||
<meta name="theme-color" content="#00cc00">
|
||||
<link rel="icon" type="image/png" sizes="192x192" href="https://tilde.team/apple-touch-icon-precomposed.png">
|
||||
<link rel="icon" type="image/png" sizes="96x96" href="https://tilde.team/favicon-96x96.png">
|
||||
|
||||
<link rel="stylesheet" href="https://tilde.team/css/dracula.css">
|
||||
<link rel="stylesheet" href="extra.css">
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" title="subscribe to this page..." href="feed.rss" />
|
||||
<title>raid nonsense</title>
|
||||
</head><body>
|
||||
<div class="container">
|
||||
|
||||
<div id="divbodyholder">
|
||||
<div class="headerholder"><div class="header">
|
||||
<div id="title">
|
||||
<h1 class="nomargin"><a class="ablack" href="https://tilde.team/~ben/blog/index.html">blog // ~ben</a></h1>
|
||||
<div id="description">a blog about tildes and other things</div>
|
||||
</div></div></div>
|
||||
<div id="divbody"><div class="content">
|
||||
<!-- entry begin -->
|
||||
<h3><a class="ablack" href="raid-nonsense.html">
|
||||
raid nonsense
|
||||
</a></h3>
|
||||
<!-- bashblog_timestamp: #201901131328.45# -->
|
||||
<div class="subtitle">January 13, 2019 —
|
||||
~ben
|
||||
</div>
|
||||
<!-- text begin -->
|
||||
|
||||
<p>last week i did some <a href="https://tilde.team/news/?page=025_raid_reboot">maintenance</a>
|
||||
on the tilde.team box. probably should have written about it sooner but i didn't
|
||||
make time for it until now.</p>
|
||||
|
||||
<hr />
|
||||
|
||||
<p>the gist of the problem was that the default images provided by <a href="https://hetzner.com">hetzner</a>
|
||||
default to raid1 between the available disks. our box has two 240gb SSDs, which
|
||||
resulted in 200gb usable space for /. it also defaulted to giving us a huge swap
|
||||
partition which i deem unnecessary for a box with 64gb ram. </p>
|
||||
|
||||
<p>the only feasible solution that i've found involved using the rescue system and
|
||||
the <a href="https://wiki.hetzner.de/index.php/Installimage/en">installimage</a> software
|
||||
to reconfigure the disk partitions.</p>
|
||||
|
||||
<p><a href="https://yourtilde.com/~deepend/">deepend</a> recently upgraded to a beefier dedi
|
||||
(more threads and more disk space) and had a bit of contract time on the old one.
|
||||
he offered to let me use it as a staging box for the meantime while i reinstalled
|
||||
and reconfigured my raid settings.</p>
|
||||
|
||||
<p>i've migrated tilde.team twice before (from linode -> woothosting -> hetzner ->
|
||||
and now back to hetzner on the same box) using a slick little rsync that i've
|
||||
put together.</p>
|
||||
|
||||
<p><code>
|
||||
rsync -auHxv --numeric-ids \
|
||||
--exclude=/etc/fstab \
|
||||
--exclude=/etc/network/* \
|
||||
--exclude=/proc/* \
|
||||
--exclude=/tmp/* \
|
||||
--exclude=/sys/* \
|
||||
--exclude=/dev/* \
|
||||
--exclude=/mnt/* \
|
||||
--exclude=/boot/* \
|
||||
--exclude=/root/* \
|
||||
root@oldbox:/* /
|
||||
</code></p>
|
||||
|
||||
<p>as long as the destination and source boxen are running the same distro/version,
|
||||
you should be good to go after rebooting the destination box!</p>
|
||||
|
||||
<p>the only thing to watch out for is running databases. it happened to me this time
|
||||
with mysql. there were 3 pending transactions that were left open during the
|
||||
rsync backup. it kept failing to start after i got the box back up, along with
|
||||
all the other services that depend on it.</p>
|
||||
|
||||
<p>eventually i was able to get mysqld back up and running in recovery mode (basically
|
||||
read-only) and got a mysqldump of all databases. i then purged all existing mysql
|
||||
data, reinstalled mariadb-server, and restored the mysqldump. everything came up
|
||||
as expected and we were good to go!</p>
|
||||
|
||||
<p>the raid is now in a raid0 config, leaving us with 468gb (not GiB) available
|
||||
space. thanks for tuning in to this episode of sysadmin adventures!</p>
|
||||
|
||||
<p>tags: <a href='tag_tilde.html'>tilde</a>, <a href='tag_sysadmin.html'>sysadmin</a></p>
|
||||
<!-- text end -->
|
||||
<!-- entry end -->
|
||||
</div>
|
||||
<div id="footer">CC by-nc-nd <a href="https://tilde.team/~ben/">~ben</a> — <a href="mailto:ben@tilde.team">ben@tilde.team</a><br/>
|
||||
generated with <a href="https://tildegit.org/team/bashblog">bashblog</a>, a single bash script to easily create blogs like this one</div>
|
||||
</div></div>
|
||||
<script src="https://utteranc.es/client.js"
|
||||
repo="benharri/tilde"
|
||||
issue-term="title"
|
||||
crossorigin="anonymous"
|
||||
theme="github-dark"
|
||||
async>
|
||||
</script>
|
||||
|
||||
</div>
|
||||
<br>
|
||||
</body></html>
|
|
@ -0,0 +1,58 @@
|
|||
raid nonsense
|
||||
|
||||
last week i did some [maintenance](https://tilde.team/news/?page=025_raid_reboot)
|
||||
on the tilde.team box. probably should have written about it sooner but i didn't
|
||||
make time for it until now.
|
||||
|
||||
---
|
||||
|
||||
the gist of the problem was that the default images provided by [hetzner](https://hetzner.com)
|
||||
default to raid1 between the available disks. our box has two 240gb SSDs, which
|
||||
resulted in 200gb usable space for /. it also defaulted to giving us a huge swap
|
||||
partition which i deem unnecessary for a box with 64gb ram.
|
||||
|
||||
the only feasible solution that i've found involved using the rescue system and
|
||||
the [installimage](https://wiki.hetzner.de/index.php/Installimage/en) software
|
||||
to reconfigure the disk partitions.
|
||||
|
||||
[deepend](https://yourtilde.com/~deepend/) recently upgraded to a beefier dedi
|
||||
(more threads and more disk space) and had a bit of contract time on the old one.
|
||||
he offered to let me use it as a staging box for the meantime while i reinstalled
|
||||
and reconfigured my raid settings.
|
||||
|
||||
i've migrated tilde.team twice before (from linode -> woothosting -> hetzner ->
|
||||
and now back to hetzner on the same box) using a slick little rsync that i've
|
||||
put together.
|
||||
|
||||
```
|
||||
rsync -auHxv --numeric-ids \
|
||||
--exclude=/etc/fstab \
|
||||
--exclude=/etc/network/* \
|
||||
--exclude=/proc/* \
|
||||
--exclude=/tmp/* \
|
||||
--exclude=/sys/* \
|
||||
--exclude=/dev/* \
|
||||
--exclude=/mnt/* \
|
||||
--exclude=/boot/* \
|
||||
--exclude=/root/* \
|
||||
root@oldbox:/* /
|
||||
```
|
||||
|
||||
as long as the destination and source boxen are running the same distro/version,
|
||||
you should be good to go after rebooting the destination box!
|
||||
|
||||
the only thing to watch out for is running databases. it happened to me this time
|
||||
with mysql. there were 3 pending transactions that were left open during the
|
||||
rsync backup. it kept failing to start after i got the box back up, along with
|
||||
all the other services that depend on it.
|
||||
|
||||
eventually i was able to get mysqld back up and running in recovery mode (basically
|
||||
read-only) and got a mysqldump of all databases. i then purged all existing mysql
|
||||
data, reinstalled mariadb-server, and restored the mysqldump. everything came up
|
||||
as expected and we were good to go!
|
||||
|
||||
the raid is now in a raid0 config, leaving us with 468gb (not GiB) available
|
||||
space. thanks for tuning in to this episode of sysadmin adventures!
|
||||
|
||||
|
||||
tags: tilde, sysadmin
|
|
@ -24,6 +24,20 @@
|
|||
<div id="description">a blog about tildes and other things</div>
|
||||
</div></div></div>
|
||||
<div id="divbody"><div class="content">
|
||||
<h3><a class="ablack" href="raid-nonsense.html">
|
||||
raid nonsense
|
||||
</a></h3>
|
||||
<!-- bashblog_timestamp: #201901131328.45# -->
|
||||
<div class="subtitle">January 13, 2019 —
|
||||
~ben
|
||||
</div>
|
||||
<!-- text begin -->
|
||||
|
||||
<p>last week i did some <a href="https://tilde.team/news/?page=025_raid_reboot">maintenance</a>
|
||||
on the tilde.team box. probably should have written about it sooner but i didn't
|
||||
make time for it until now.</p>
|
||||
|
||||
<p class="readmore"><a href="raid-nonsense.html">read more...</a></p>
|
||||
<h3><a class="ablack" href="proactive-redundancy.html">
|
||||
proactive redundancy
|
||||
</a></h3>
|
||||
|
|
|
@ -24,6 +24,20 @@
|
|||
<div id="description">a blog about tildes and other things</div>
|
||||
</div></div></div>
|
||||
<div id="divbody"><div class="content">
|
||||
<h3><a class="ablack" href="raid-nonsense.html">
|
||||
raid nonsense
|
||||
</a></h3>
|
||||
<!-- bashblog_timestamp: #201901131328.45# -->
|
||||
<div class="subtitle">January 13, 2019 —
|
||||
~ben
|
||||
</div>
|
||||
<!-- text begin -->
|
||||
|
||||
<p>last week i did some <a href="https://tilde.team/news/?page=025_raid_reboot">maintenance</a>
|
||||
on the tilde.team box. probably should have written about it sooner but i didn't
|
||||
make time for it until now.</p>
|
||||
|
||||
<p class="readmore"><a href="raid-nonsense.html">read more...</a></p>
|
||||
<h3><a class="ablack" href="proactive-redundancy.html">
|
||||
proactive redundancy
|
||||
</a></h3>
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
<p>come join the tilde team
|
||||
<a href="https://tilde.team/signup/">:)</a>
|
||||
</p>
|
||||
<p>pitch in for hosting costs if you're able: <a href="https://bhh.sh/donate/">donate here</a></p>
|
||||
<p>other places to find/contact me</p>
|
||||
|
||||
<?php include "links.php"; ?>
|
||||
|
|
|
@ -27,6 +27,10 @@ $links = [
|
|||
"href" => "https://tildegit.org/ben",
|
||||
"icon" => "code-fork"
|
||||
],
|
||||
"srht" => [
|
||||
"href" => "https://git.sr.ht/~benharri",
|
||||
"icon" => "circle-o"
|
||||
],
|
||||
"stack overflow" => [
|
||||
"href" => "https://stackoverflow.com/users/6352706/ben-harris",
|
||||
"icon" => "stack-overflow"
|
||||
|
|
Loading…
Reference in New Issue