4
[root@VM_xxx_centos ~]# df
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/vda1        8255928 7068948    767604  91% /
/dev/vdb       516061624 5966928 483880296   2% /data2

As you can see I mount the whole vdb with no partitions. And I put the the following line in fstab

/dev/vdb             /data2         ext3 noatime,acl,user_xattr 1 0

So is it OK to use the whole disk without partitionate ?

jilen
  • 143
  • 1
  • 6

1 Answers1

4

Yes it's fine.

Please see: Directly Formatting a Device on a Linux System

The best practices around this have changed over time. If this is a virtual machine, the case for not using partitions is more compelling.

ewwhite
  • 194,921
  • 91
  • 434
  • 799