Knowledge (XXG)

Sparse image

Source 📝

292:) each. When the content of the image changes, one or more band files is changed, created, or deleted. This allows easier shrinking of the amount of space used on the underlying filesystem when a large amount of data is deleted inside the disk image, as long as the code supporting the filesystem inside the image notifies the kernel of the "releasing" of blocks, as happens in filesystems that support SSD "trim" operations to be triggered automatically for de-allocated filesystem blocks. 458: 25: 244:
A customized ".sparseimage" image file can be assigned a larger total capacity than the physical volume (or HD partition) on which it originally resides. While the virtual volume will seem to make that capacity available, attempting to exceed the physical capacity of the underlying volume will result
303:
the backup destination no longer needs to be an HFS+/HFSX volume (for the hard links to work and to preserve metadata), but can be any shared folder, on any server, connected using any protocol and using any file system to store the actual
307:
the entire sparse bundle is replicable from one location to another; this is particularly useful when upgrading the backup storage and when the on-site backup storage needs to be replicated to an off-site backup storage. A tool such as
288:, each on the order of 8 MB in size. This means even though to the end user the sparse bundle appears as a single file, it is composed of smaller files. As of Mac OS X 10.8, the bands are 8 MiB ( 213:
that grows in size as the user adds data to the image, taking up only as much disk space as stored in it. Encrypted sparse image files are used to secure a user's home directory by the
379: 352: 228:), which takes up as much actual space as the real disk it represents (regardless of the amount of unused space), a sparse image file ( 495: 256:
image files automatically expand to their preassigned limit when data is added, they cannot be arbitrarily resized without the use of
108: 232:) takes up only as much actual disk space as the data contained within, up to a maximum of the capacity assigned during creation. 387: 46: 89: 42: 61: 68: 330: 35: 524: 187: 75: 442: 149: 488: 57: 519: 296: 409: 127: 481: 465: 273: 16:
Type of disk image file used on macOS that grows in size as the user adds data to the image
82: 240:
Two limitations are therefore worth noting regarding the use of this image file format:
514: 508: 281: 457: 257: 218: 217:
feature in Mac OS X Snow Leopard and earlier. Sparse images can be created using
192: 24: 312:
may be used to keep one or more disk images consistent across various systems.
206: 180: 170: 139: 434: 214: 438: 309: 210: 249:
file must first be moved to a larger physical disk or partition.
18: 469: 295:
Sparse bundle advantages over non-diskimage backup for
445:
filesystem for reading macOS sparse-bundle disk images
380:"Live FileVault and Sparse Bundle Backups in Leopard" 280:. Instead of a single big file, a sparse bundle is a 186: 176: 166: 158: 148: 138: 126: 49:. Unsourced material may be challenged and removed. 284:(directory) containing a number of files called 331:"Create a disk image using Disk Utility on Mac" 489: 8: 121: 496: 482: 410:"Backing up Sparse Bundle Images Over SSH" 245:in a disk error: "ran out of space". The 109:Learn how and when to remove this message 322: 120: 7: 464:This Macintosh-related article is a 454: 452: 47:adding citations to reliable sources 468:. You can help Knowledge (XXG) by 150:Uniform Type Identifier (UTI) 14: 456: 23: 34:needs additional citations for 276:introduced the concept of the 252:As noted above, while mounted 1: 353:"hdiutil(1) OS X Manual Page" 378:ScottW (November 5, 2007). 154:com.apple.disk-image-sparse 541: 451: 224:Unlike a full image file ( 269:Sparse bundle disk images 264:, or other such software. 144:application/octet-stream 140:Internet media type 357:Mac Developer Library 159:UTI conformation 162:com.apple.disk-image 43:improve this article 390:on October 29, 2013 123: 188:Container for 128:Filename extension 477: 476: 199: 198: 167:Developed by 122:Sparse Disk Image 119: 118: 111: 93: 532: 498: 491: 484: 460: 453: 422: 421: 419: 417: 406: 400: 399: 397: 395: 386:. Archived from 375: 369: 368: 366: 364: 349: 343: 342: 340: 338: 327: 291: 274:Mac OS X Leopard 263: 255: 248: 231: 227: 124: 114: 107: 103: 100: 94: 92: 51: 27: 19: 540: 539: 535: 534: 533: 531: 530: 529: 525:Macintosh stubs 505: 504: 503: 502: 449: 431: 426: 425: 415: 413: 408: 407: 403: 393: 391: 377: 376: 372: 362: 360: 351: 350: 346: 336: 334: 329: 328: 324: 319: 289: 271: 261: 253: 246: 238: 229: 225: 134: 115: 104: 98: 95: 52: 50: 40: 28: 17: 12: 11: 5: 538: 536: 528: 527: 522: 517: 507: 506: 501: 500: 493: 486: 478: 475: 474: 461: 447: 446: 435:sparsebundlefs 430: 429:External links 427: 424: 423: 401: 370: 344: 321: 320: 318: 315: 314: 313: 305: 270: 267: 266: 265: 250: 237: 234: 209:file used on 197: 196: 190: 184: 183: 178: 177:Type of format 174: 173: 168: 164: 163: 160: 156: 155: 152: 146: 145: 142: 136: 135: 132: 130: 117: 116: 58:"Sparse image" 31: 29: 22: 15: 13: 10: 9: 6: 4: 3: 2: 537: 526: 523: 521: 518: 516: 513: 512: 510: 499: 494: 492: 487: 485: 480: 479: 473: 471: 467: 462: 459: 455: 450: 444: 440: 436: 433: 432: 428: 411: 405: 402: 389: 385: 381: 374: 371: 358: 354: 348: 345: 332: 326: 323: 316: 311: 306: 302: 301: 300: 298: 293: 290:8 × 1024 byte 287: 283: 279: 278:sparse bundle 275: 268: 259: 251: 243: 242: 241: 235: 233: 222: 220: 216: 212: 208: 205:is a type of 204: 194: 191: 189: 185: 182: 179: 175: 172: 169: 165: 161: 157: 153: 151: 147: 143: 141: 137: 131: 129: 125: 113: 110: 102: 91: 88: 84: 81: 77: 74: 70: 67: 63: 60: –  59: 55: 54:Find sources: 48: 44: 38: 37: 32:This article 30: 26: 21: 20: 470:expanding it 463: 448: 414:. Retrieved 404: 392:. Retrieved 388:the original 383: 373: 361:. Retrieved 356: 347: 335:. Retrieved 325: 297:Time Machine 294: 285: 277: 272: 258:Disk Utility 254:.sparseimage 247:.sparseimage 239: 230:.sparseimage 223: 219:Disk Utility 203:sparse image 202: 200: 133:.sparseimage 105: 96: 86: 79: 72: 65: 53: 41:Please help 36:verification 33: 520:Disk images 416:January 21, 394:January 21, 363:January 21, 236:Limitations 193:file system 509:Categories 384:macosx.com 337:August 13, 317:References 207:disk image 181:disk image 171:Apple Inc. 99:March 2011 69:newspapers 412:. LBackup 215:FileVault 359:. Apple 333:. Apple 262:hdiutil 195:objects 83:scholar 439:GitHub 282:bundle 85:  78:  71:  64:  56:  515:MacOS 310:rsync 304:files 286:bands 211:macOS 90:JSTOR 76:books 466:stub 443:FUSE 441:- a 418:2013 396:2013 365:2013 339:2020 226:.dmg 62:news 437:on 45:by 511:: 382:. 355:. 299:: 260:, 221:. 201:A 497:e 490:t 483:v 472:. 420:. 398:. 367:. 341:. 112:) 106:( 101:) 97:( 87:· 80:· 73:· 66:· 39:.

Index


verification
improve this article
adding citations to reliable sources
"Sparse image"
news
newspapers
books
scholar
JSTOR
Learn how and when to remove this message
Filename extension
Internet media type
Uniform Type Identifier (UTI)
Apple Inc.
disk image
Container for
file system
disk image
macOS
FileVault
Disk Utility
Disk Utility
Mac OS X Leopard
bundle
Time Machine
rsync
"Create a disk image using Disk Utility on Mac"
"hdiutil(1) OS X Manual Page"
"Live FileVault and Sparse Bundle Backups in Leopard"

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.