I want to grow an ext4 volume on a host, but I noticed that there is no valid partition table to delete and remake:
fdisk -u /dev/vdb
/dev/vdb: device contains a valid 'ext4' signature; it is strongly recommended to wipe the device with wipefs(8) if this is unexpected, in order to avoid possible collisions
Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0xd2971c02.
root@host:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
vda 253:0 0 20G 0 disk
`-vda1 253:1 0 20G 0 part /
vdb 253:16 0 1T 0 disk /mnt/redacted
vdc 253:32 0 64M 0 disk
If I grow the size of the underlying disk to add a few hundred GB, how am I supposed to let the OS know about the increase before resize2fs
? I'm not seeing a partition table to grow in the first place.
Could I essentially just grow the disk, then create a new partition of the entire disk, write the changes, and resize2fs
?