Add opnsense stuff

This commit is contained in:
Daniel Mason 2023-08-19 14:41:38 +12:00
parent cfbe2b3d31
commit ddcb5f9dbe
Signed by: idanoo
GPG Key ID: 387387CDBC02F132
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
---
title: "Expanding OpnSense root disk (21.7+)"
date: 2023-08-19T14:36:30+12:00
draft: false
featuredimagepreview: "/opnsense_expand.jpg"
---
Expanding root partition on OpnSense VM
- Expand underlying VM disk
- Reboot
- Run below commands to online resize
- Reboot for good luck
```shell
# View the layout
gpart show
# Resolve GPT issue before extending
gpart recover da0
# Make it use all the new space
gpart resize -i 3 da0
# Grow the FS to fill the new partition
growfs /dev/gpt/rootfs
```

BIN
static/opnsense_expand.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB