Browse Source

add summary and keywords to various posts

main
Victor Roest 2 years ago
parent
commit
c0b5f28c86
Signed by: 0x76 GPG Key ID: A3923C699D1A3BDA
  1. 26
      content/posts/expand-disk.md
  2. 4
      content/posts/html-boilerplate.md
  3. 10
      content/posts/nixos-proxmox-lxc.md
  4. 4
      content/posts/r710-ipmi.md

26
content/posts/expand-disk.md

@ -1,13 +1,22 @@
---
title: "How to expand VM Disks"
description: "How to expand the virtual disks for CentOS and Debian VMs"
summary: "How to expand the virtual disks for CentOS and Debian VMs under Proxmox."
date: 2021-02-20T17:15:17+01:00
draft: false
TocOpen: true
keywords:
- CentOS
- RHEL
- Debian
- Virtual Machine
- Proxmox
- LVM
- XFS
- ext4
tags:
- Proxmox
categories:
- tutorial
- Homelab
---
This post will set out to explain how you can increase the disk size of a virtual disk inside a VM after increasing its size in your hypervisor.
It does assume some familiarity with Linux and partitioning.
@ -63,9 +72,8 @@ This assumes a fairly standard Debian install that uses ext4.
## TL;DR
```shell
sudo cfdisk
sudo pvresize /dev/sda3
sudo lvextend -l 100%FREE /dev/mapper/cl-root
sudo xfs_growfs /
sudo partprobe /dev/sda
sudo resize2fs /dev/sda5
```
## Step 0: Hypervisor
@ -87,14 +95,16 @@ This is simply just doing:
```shell
sudo partprobe /dev/sda
```
where `/dev/sda` is your expanded partion.
where `/dev/sda` the disk which you expanded.
## Step 3: Resize filesystem
Finally you can resize the actual filesystem with `resize2fs` like so:
Finally you can resize the actual filesystem on the disk's partition with `resize2fs` like so:
```shell
sudo resize2fs /dev/sda5
```
where `/dev/sda5` is the partition mounted as root.
where `/dev/sda5` is the root partition.
---
# Appendix
Some useful notes that aren't necessarily part of the rest of this how-to.

4
content/posts/html-boilerplate.md

@ -1,10 +1,12 @@
---
title: "My HTML Boilerplate"
description: "My personal HTML boilerplate"
summary: "The default HTML boilerplate I start every website with, explained line by line."
date: 2021-04-27T17:09:21+02:00
draft: false
tags:
- Web
categories:
- Code
---
Everytime when making a website I have to look up the standard HTML5 boilerplate/template again.
To make it easier for myself and possibly others, this is the template that I currently use together an

10
content/posts/nixos-proxmox-lxc.md

@ -1,12 +1,18 @@
---
title: "NixOS inside LXC"
title: "NixOS inside LXC on Proxmox"
summary: "A guide on creating NixOS LXC containers inside of proxmox"
date: 2021-02-23T13:27:48+01:00
draft: false
keywords:
- LXC
- Proxmox
- Nix
- NixOS
tags:
- Proxmox
- NixOS
categories:
- tutorial
- Homelab
---
This tutorial will explain how to install NixOS as an LXC container inside of proxmox.

4
content/posts/r710-ipmi.md

@ -1,9 +1,11 @@
---
title: "R710 IPMI"
description: "A collection of some useful R710 ipmi commands"
summary: "A nowhere near complete list of useful ipmi commands I stumbled across collected into one post"
date: 2021-02-20T17:13:42+01:00
tags:
- R710
categories:
- Homelab
---
This is a nowhere near complete list of useful ipmi commands I stumbled across collected into one post.

Loading…
Cancel
Save