Why is the initial replication taking more space than expected?
Question
How much space is the initial replication going to take?
Often users are surprised to see their initial backup image taking more space then they expected. Meaning the backup image is larger than the amount of disk usage of the partition they have backed up. This is because CDP performs replications at the sector level. While unallocated disk sectors are excluded, the formatting of the file system must still be included, in order to get a true sector level image.
This formatting includes items like super block, block groups, block and inode allocation maps, and directory inodes. This data is not reflected in most disk usage reporting tools...The output of "# df -h" is an example.
Solution
Please see the following example:
In the example above, "df -h" shows only 3.6G of used data on /dev/sda3. This size value includes only file contents. To get all allocated blocks, we must use a different utility, and make some additional calculations.
In this example, we are interested in Block count, free blocks, and block size.
To get the total number of blocks allocated we take:
block count (77031672) - free blocks (72007352) = 5024320 blocks
To get the amount of data CDP will backup:
5024320 blocks * Block size (1024) = 5144903680 bytes ~4.79 GB
Compare the 4.79 GB to the "df -h" output of 3.6GB. That extra ~1GB is the space used by the ext3 file system.
Related Articles
Page: Database Disk Image Malformed (Knowledge Base) Labels: database, disk, image, malformed, disksafe, hardware, faults |
Page: The storage cache reported an error reading the native disk (Knowledge Base) Labels: storage, cache, ngetvolume, native, disk |
Page: Why is the initial replication taking more space than expected? (Knowledge Base) Labels: disk, disk_safes, storage |
Page: Why is the initial replication taking more space than expected? (Knowledge Base) Labels: disk, disk_safes, storage |
Page: The storage cache reported an error reading the native disk (Knowledge Base) Labels: storage, cache, ngetvolume, native, disk |
Page: Why is the initial replication taking more space than expected? (Knowledge Base) Labels: disk, disk_safes, storage |
Page: Backup Manager fails to start with INFO - Storage Cache Service starting (Knowledge Base) Labels: sbm, startup, storage, cache |