41 lines
824 B
Markdown
41 lines
824 B
Markdown
|
---
|
||
|
title: 72 increase disksize of a vm
|
||
|
summary:
|
||
|
date: 2024-12-05T22:11:24+01:00
|
||
|
lastmod: 2024-12-07T09:52:28+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
|