1

I have an EC2 server on nitro system (c6g.2xl) where I have attached a 2nd volume. This is a web hosting environment and the disk is regularly increased in size.

For some reason I accidentally mounted the disk on - what I would call - the "partition table level", ie. my mount point is /dev/nvme1n1, not /dev/nvme1n1p1 - I can't recall how this happened, but it has the following effects:

Given that seemingly all of the Internet has a partition table on this volume - what are the downsides of this approach?

jdog
  • 111
  • 4
  • 28
  • 2
    At my place of employment we don't use partition tables for data volumes. Some far-fetched downsides I can think of are (a) "smart" programs that manipulate disks thinking the volume is uninitialized and helpfully automatically writing a partition table to the disk and (b) novice sysadmins doing the same. – Mark Wagner Aug 09 '22 at 00:05

1 Answers1

2

There is no need for a partition table on a data disk, it's only necessary if you want to boot from it. If you want to split a volume into smaller block devices, I'd suggest using LVM.

fuero
  • 9,413
  • 1
  • 35
  • 40