Q: What is the largest possible size of an ext3 filesystem and of files on ext3?
Ext3 can support files up to 1TB. With a 2.4 kernel the filesystem size is limited by the maximal block device size, which is 2TB. In 2.6 the maximum (32-bit CPU) limit is of block devices is 16TB, but ext3 supports on
我有一个带有VZFS文件系统的VPS主机。如何确定VZFS分区的最大文件大小?
UPD:自由空间(或全部空间)不是我所需要的。有时文件不能占用一个空穴分区卷- fat16有2Gb的限制是一个很好的例子。我需要使用一个大型数据库文件(例如,64 it ),所以我需要知道VPS托管的文件系统是否能够处理它。ext3文件系统使用tune2fs很容易计算,但是VPS通过Virtuozzo使用VSFS,而且它被记录为糟糕。对于linux中的某些文件系统,是否有计算最大文件大小的通用方法?
请参阅下面的错误消息,我在尝试使用Python的本机os库创建一个新目录时得到了这个信息。
...
File "files.py", line 93, in create_dir
os.makedirs(d)
File "/usr/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Er
我有一个ext3分区,所以当我这样做时:
mount /dev/blah /mnt/blah
它是自动挂载为ext3。我可以通过运行ext4将其挂载到
mount -t ext4 /dev/blah /mnt/blah
而且起作用了。我假设分区在某种程度上被标记为ext3。是否可以将其更改为ext4,以便:
mount /dev/blah /mnt/blah
将其挂载为ext4。这是做实验用的。我想在不启用ext4中的新特性的情况下这样做,这样我就可以回到ext3。