Linux – How to get a maximum file size of VZFS parition

filesystemslinuxvps

I have a VPS hosting with a VZFS file system. How can I determine maximum file size of VZFS partition?

UPD: Free space (or total space) is not what i need. Sometimes file cannot occupy a hole partition volume – fat16 with 2Gb limit is a good example. I need to use a large database file (say, 64Gb) and so I need to know if a file system of VPS hosting will cope with it. It is easy to calculate for an ext3 filesystem using tune2fs, but VPS uses VSFS by Virtuozzo, and it is documented bad. Is it any generic way to calculate maximum file size for some filesystem in linux?

Best Answer

VZFS is a virtual file system. It is used by OpenVZ (and Virtuozzo) to export a directory as the filesystem to a virtual machine. Therefore maximum file size is likely determined by the filesystem whose directory it actually is.