spanskiblog/content/posts/disk-utils.md

565 B

+++ date="2022-12-24" author="spanskiduh" title="disk-utils" description="click to read disk-utils" +++

Disk utils

Use dd

It should work dd if=/dev/old of=/dev/new bs=64K conv=noerror,sync

Resize drive

ext4

resize2fs /dev/sdb 100G -> resized my partition on hetzner from 50G to 100G ez

Lvm

How to resize it: https://www.linuxtechi.com/extend-lvm-partitions/

Best page to check if you land here:

red_hat