mirror of
https://github.com/idanoo/m2.nz.git
synced 2024-11-22 08:15:13 +00:00
Add opnsense stuff
This commit is contained in:
parent
cfbe2b3d31
commit
ddcb5f9dbe
24
content/posts/expand_opnsense_root_disk.md
Normal file
24
content/posts/expand_opnsense_root_disk.md
Normal 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
BIN
static/opnsense_expand.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
Loading…
Reference in New Issue
Block a user