oe7drt-website/content/posts/2024/72-increase-disksize-of-a-vm/index.md

43 lines
905 B
Markdown
Raw Normal View History

---
title: 72 increase disksize of a vm
2024-12-08 12:14:36 +01:00
summary: >
Howdy.
<small>The thumbnail was created with Google AI (Imagen 3).</small>
date: 2024-12-05T22:11:24+01:00
2024-12-08 12:14:36 +01:00
lastmod: 2024-12-08T11:14:36+0000
categories:
- amateur-radio
- computerstuff
tags:
- draft_post
# showBreadcrumbs: true
# showDate: false
# showReadingTime: false
# showWordCount: false
# showPagination: false
# feed_exclude: true
# site_exclude: true
# some help
#
# highlighting with highlights
#
# use table, as inline creates a padding around
# and it pushes the text more to the right side (end of screen)
#
# ~~~html {linenos=table,hl_lines="3-6"}
# ~~~html {linenos=inline,hl_lines="1,3-6"}
draft: true
---
- shutdown VM
- `qemu-img info -f raw vdisk1.img`
- `qemu-img resize -f raw vdisk1.img +40G`
- start Vm and login in terminal
- `sudo parted /dev/vda resizepart 2 100%`
- `sudo btrfs filesystem resize max /`
- reboot