12 月 262012
 

由块大小决定的特性
1最大文件体积
2文件占用的空间量

查看当前数据存储的块大小

通过vSphere client查看

vmfs3-blocksize

 

通过ESX控制台查看
[root@esx01 ~]# vmkfstools -P /vmfs/volumes/datastore3
VMFS-3.46 file system spanning 1 partitions.
File system label (if any): datastore3
Mode: public
Capacity 1997965099008 (238176 file blocks * 8388608), 1483902812160

(176895 blocks) avail
UUID: 50d85846-ead6daa1-0e74-782bcb6e7c47
Partitions spanned (on “lvm”):
        naa.6848f690df84e100186733be099cdc1f:5
[root@esx01 ~]#

块大小数值所代表的实际块大小
1048576 1 MB
2097152 2 MB
4194304 4 MB
8388608 8 MB

vSphere5.0以后的版本只支持1MB的块大小
增强的1M块大小VMFS-5文件系统可以支持更大的文件

虚拟磁盘(VMDK)512B至2TB
虚拟模式RDM(Virtual-mode RDM)512B至2TB
物理模式RDMs(Physical-mode RDMs)最大至64TB

在VMFS-5文件系统中
小于1KB的文件将存储在该文件的元数据中而不使用文件块
超过1KB的文件,将使用子块
超过8KB的子块,将使用1MB的文件块
VMFS-5使用8KB子块,而VMFS-3使用64KB子块,VMFS-5的这一特性降低了小文件

所使用的磁盘空间量。

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)