Source: http://apple.stackexchange.com/a/39842/163019
$ fsck_hfs -drfy /dev disk1s2
journal_replay(/dev/disk1s2) returned 0
** /dev/rdisk1s2
Using cacheBlockSize=32K cacheTotalBlock=32768 cacheSize=1048576K.
Executing fsck_hfs (version hfs-366.1.1).
** Checking Journaled HFS Plus volume.
** Detected a case-sensitive volume.
The volume name is Time Machine-säkerhetskopior
** Checking extents overflow file.
** Checking catalog file.
** Rebuilding catalog B-tree.
Extent records for rebuilt file 4:
[ 10675, 546304 ]
[ 1119411, 49664 ]
[ 20402440, 49664 ]
[ 12433613, 276 ]
[ 23368748, 46316 ]
[ 0, 0 ]
[ 0, 0 ]
[ 0, 0 ]
hfs_UNswap_BTNode: invalid node height (1)
btree file 4: 1000 records
btree file 4: 13149000 records
btree file 4: 13150000 records
btree file 4: ... records
** Rechecking volume.
** Checking Journaled HFS Plus volume.
** Detected a case-sensitive volume.
The volume name is Time Machine-säkerhetskopior
** Checking extents overflow file.
** Checking catalog file.
** Checking multi-linked files.
** Checking catalog hierarchy.
** Checking extended attributes file.
** Checking multi-linked directories.
privdir_valence=112150, calc_dirlinks=418611, calc_dirinode=112150
** Checking volume bitmap.
** Checking volume information.
** The volume Time Machine-säkerhetskopior was repaired successfully.
CheckHFS returned 0, fsmodified = 1
fsck_hfs -drfy /dev/disk1s2 1737,70s user 81,01s system 30% cpu 1:38:48,58 total
chflags -R nouchg /Volumes/Backup/linus\ oleander.sparsebundle
$ vim /Volumes/Backup/linus\ oleander.sparsebundle/com.apple.TimeMachine.MachineID.plist```