Using filesystems (XFS) without partitions on VM's

Latest response

Can someone comment on the perils of creating filesystems on top of drives that are not partitioned? We want to create some multi-TB disks for Elasticsearch using XFS. These may grow in future, and while we can do the dance to increase the size of the partition and filesystem (lots of docs on the internet), we are wondering if the whole partition piece is necessary in this day and age. Since this is a VM, can it be as simple as increasing the VMDK size, then running xfs_grow? Nothing else will be on this drive and we will not be near our limit of disks. This disk will likely even get its own dedicated PVSCSI controller.

We know it can work, but I have not ever done one like this and I am concerned about what happens when things go wrong. Is fsck going to save me when the server gets hard-downed in a power outage, or is it going to complain about the partition table has gone missing? This will be in a production environment. What other things might bite us if we go this route?

Responses