{"thread":{"id":"33171","subject":"Deletion of git repo causes incorrect block count on HFS+ case-sensitive","startedAt":"2013-03-13T18:45:37Z","lastAt":"2013-03-13T22:14:27Z","messageCount":2,"participants":["Ismail Tabtabai","David Aguilar"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"211245","messageId":"B6ED348A-2168-42F5-B6EC-81D7E62805ED@me.com","threadId":"33171","inReplyTo":null,"subject":"Deletion of git repo causes incorrect block count on HFS+ case-sensitive","fromName":"Ismail Tabtabai","fromEmail":"itabtabai@me.com","sentAt":"2013-03-13T18:45:37Z","receivedAt":"2013-03-13T18:45:37Z","isPatch":false,"sender":{"key":"itabtabai@me.com","avatar":null},"body":"Hello,\n\nWhen I delete a git repo that I have cloned on my machine using 'rm -rf repo-name' I get an incorrect block count when I attempt a Disk Repair.\n\nI am running OS X 10.8.2 on a user installed SSD. The git version is 1.8.1.5.\n\n\nChecking file systemChecking Journaled HFS Plus volume.\nDetected a case-sensitive volume.\nChecking extents overflow file.\nChecking catalog file.\nIncorrect block count for file pack-8c0dc1a398a22c58ea1eba09de3ee9d935ad1ea3.pack\n(It should be 4865 instead of 12244)\nIncorrect block count for file pack-db61a037ad0e043e801d8ba1db98b1af14d466af.pack\n(It should be 5889 instead of 12245)\nIncorrect block count for file pack-db61a037ad0e043e801d8ba1db98b1af14d466af.pack\n(It should be 6220 instead of 12245)\nIncorrect block count for file pack-286c1444bc32ee2ed0af1d15070e0e31f22ba0a8.pack\n(It should be 7937 instead of 12246)\nChecking multi-linked files.\nChecking catalog hierarchy.\nChecking extended attributes file.\nChecking volume bitmap.\nVolume bitmap needs minor repair for orphaned blocks\nChecking volume information.\nInvalid volume free block count\n(It should be 85306183 instead of 85282114)\nRepairing volume.\nRechecking volume.\nChecking Journaled HFS Plus volume.\nDetected a case-sensitive volume.\nChecking extents overflow file.\nChecking catalog file.\nChecking multi-linked files.\nChecking catalog hierarchy.\nChecking extended attributes file.\nChecking volume bitmap.\nChecking volume information.\nThe volume avicenna was repaired successfully.\nVolume repair complete.Updating boot support partitions for the volume as required.\n"},{"id":"211255","messageId":"CAJDDKr6q4kz0oFtukmnOc3heWyRS8TfgKjEkgNmqdZdMxEeENg@mail.gmail.com","threadId":"33171","inReplyTo":"B6ED348A-2168-42F5-B6EC-81D7E62805ED@me.com","subject":"Re: Deletion of git repo causes incorrect block count on HFS+ case-sensitive","fromName":"David Aguilar","fromEmail":"davvid@gmail.com","sentAt":"2013-03-13T22:14:27Z","receivedAt":"2013-03-13T22:14:27Z","isPatch":false,"sender":{"key":"davvid@gmail.com","avatar":"https://avatars.githubusercontent.com/u/13196?v=4"},"body":"On Wed, Mar 13, 2013 at 11:45 AM, Ismail Tabtabai <itabtabai@me.com> wrote:\n> Hello,\n>\n> When I delete a git repo that I have cloned on my machine using 'rm -rf repo-name' I get an incorrect block count when I attempt a Disk Repair.\n>\n> I am running OS X 10.8.2 on a user installed SSD. The git version is 1.8.1.5.\n\nThis is not a git issue.\n\nI would recommend inspecting your hardware; this could be a disk going bad.\n\nThere's not much git can do to fix a broken HFS+ filesystem or faulty\nhardware.  If anything, it's an HFS+ / Apple bug, though that is less\nlikely than a bad disk.\n\nIf you haven't already, you should probably start doing backups.\nI hope that helps.\n\n> Checking file systemChecking Journaled HFS Plus volume.\n> Detected a case-sensitive volume.\n> Checking extents overflow file.\n> Checking catalog file.\n> Incorrect block count for file pack-8c0dc1a398a22c58ea1eba09de3ee9d935ad1ea3.pack\n> (It should be 4865 instead of 12244)\n> Incorrect block count for file pack-db61a037ad0e043e801d8ba1db98b1af14d466af.pack\n> (It should be 5889 instead of 12245)\n> Incorrect block count for file pack-db61a037ad0e043e801d8ba1db98b1af14d466af.pack\n> (It should be 6220 instead of 12245)\n> Incorrect block count for file pack-286c1444bc32ee2ed0af1d15070e0e31f22ba0a8.pack\n> (It should be 7937 instead of 12246)\n> Checking multi-linked files.\n> Checking catalog hierarchy.\n> Checking extended attributes file.\n> Checking volume bitmap.\n> Volume bitmap needs minor repair for orphaned blocks\n> Checking volume information.\n> Invalid volume free block count\n> (It should be 85306183 instead of 85282114)\n> Repairing volume.\n> Rechecking volume.\n> Checking Journaled HFS Plus volume.\n> Detected a case-sensitive volume.\n> Checking extents overflow file.\n> Checking catalog file.\n> Checking multi-linked files.\n> Checking catalog hierarchy.\n> Checking extended attributes file.\n> Checking volume bitmap.\n> Checking volume information.\n> The volume avicenna was repaired successfully.\n> Volume repair complete.Updating boot support partitions for the volume as required.\n\nIt looks like it repaired itself.  bad blocks?\n-- \nDavid\n"}]}