ads' corner

Resize ext4 root filesystem on the fly

Currently installing a new *Grafana* system, which runs on a Proxmox. For now the disk for the virtual machine and the ext4 filesystem are large enough, but maybe I need to expand it in the future. Therefore I intentionally created a smaller disk and tried expanding it on the fly. This blog posting documents the necessary steps for the disk and ext4 filesystem expansion.

badblocks: Value too large for defined data type invalid end block (4394573824): must be 32-bit value

Bought a new large external disk as data sink for my server at home. The disk is 18TB and after the previous purchase had a hardware problem I wanted to make sure that this one is working. Created a partition, formatted it with ext4 and let's run a badblocks check on it. That failed, badblocks can't handle Big Data.