Created
November 4, 2012 17:10
-
-
Save sansumbrella/4012632 to your computer and use it in GitHub Desktop.
Query band size of a sparsebundle (also accessible in Info.plist of bundle)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# find out how big the sparse-band-size is in a mounted volume | |
hdiutil info -verbose | grep band-size | |
# default Time Machine sparsbundle virtual-band-size = 16384 (8MB) | |
# create-sparsebundle's virtual-band-size = 262144 (128MB) |
For anyone finding this 10 years on (2023...)
My short investigation into my NAS Timemachine volume (Synology DSM 7.x) shows a band size of 256MB. I believe this must reflect Timemachine picking a much better default than in the past, probably based on some combination of OS Version (Monterey), drive location (NAS v local), and volume size (mine is 11TB).
Creating a new Time Machine backup in macOS Sonoma, the band size is now 8GB.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Alternatively, look at the Info.plist in the .sparsebundle. This band-size is 512x the virtual-band-size returned by hdiutil.
Time Machine default band-size:
8388608
create-sparsebundles' band-size:
134217728