Editing Ploop/Limits
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | |||
− | |||
[[Ploop]] images has the following limits: | [[Ploop]] images has the following limits: | ||
− | |||
* Number of snapshots: 126 | * Number of snapshots: 126 | ||
* Image size: | * Image size: | ||
** ploop v1: 2 TB minus 1 MB | ** ploop v1: 2 TB minus 1 MB | ||
− | ** ploop v2: | + | ** ploop v2: 2 PB (4096 TB) minus 1 MB |
* Inner ext4 file system size: currently set to 16 TB | * Inner ext4 file system size: currently set to 16 TB | ||
− | == Conversion == | + | == Conversion == |
− | |||
Use ploop convert tool to convert from ploop v1 to ploop v2 image. | Use ploop convert tool to convert from ploop v1 to ploop v2 image. | ||
− | |||
− | === | + | == Internals == |
− | |||
Ploop v1 image size limitation comes from the fact that unsigned 32 bit integer | Ploop v1 image size limitation comes from the fact that unsigned 32 bit integer | ||
is used to store sector address inside the ploop image. Therefore the maximum | is used to store sector address inside the ploop image. Therefore the maximum | ||
− | number of sectors is | + | number of sectors is (u32)-1, which is 4294967295. As sector size is 512 bytes, |
− | 4294967295 sectors are equal to 2 terabytes. | + | 4294967295 sectors are equal to 2 terabytes. From that number, we should subtract |
− | + | 1 megabyte, as first 1MB of image is used for translation table. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | used for | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |