OS X can’t repair the disk - FILESYSTEM DIRTY on brand new external HDD (Apple Unix) The Next CEO of Stack OverflowWhat is the most high-performance Linux filesystem for storing a lot of small files (HDD, not SSD)?Is the Filesystem Hierarchy Standard a UNIX standard or a GNU/Linux standard?Using a unix filesystem on an external hard drive?xfs_repair does not repair the filesystem according to xfs_repair -nWhich is the best way tu run fsck.hfsplus before mounting an external disk (HFS+)?I/O error after power failure, filesystem remounting as read-onlyLVM + add new partition on the OS diskHave an SSD and HDD as the same filesystem and overflow from one to the other?Wrong fs type, bad option, bad superblock on /dev/sdXHow is filesystem information stored on the hard disk
How long to clear the 'suck zone' of a turbofan after start is initiated?
WOW air has ceased operation, can I get my tickets refunded?
% symbol leads to superlong (forever?) compilations
How can I get through very long and very dry, but also very useful technical documents when learning a new tool?
How to count occurrences of text in a file?
Can I equip Skullclamp on a creature I am sacrificing?
Was a professor correct to chastise me for writing "Prof. X" rather than "Professor X"?
How do I get the green key off the shelf in the Dobby level of Lego Harry Potter 2?
Why were Madagascar and New Zealand discovered so late?
Describing a person. What needs to be mentioned?
Are there languages with no euphemisms?
How to Reset Passwords on Multiple Websites Easily?
What happens if you roll doubles 3 times then land on "Go to jail?"
What does this shorthand mean?
Can a caster that cast Polymorph on themselves stop concentrating at any point even if their Int is low?
Anatomically Correct Strange Women In Ponds Distributing Swords
Opposite of a diet
Visit to the USA with ESTA approved before trip to Iran
Why didn't Theresa May consult with Parliament before negotiating a deal with the EU?
Why doesn't a table tennis ball float on the surface? How do we calculate buoyancy here?
Is it my responsibility to learn a new technology in my own time my employer wants to implement?
Trouble understanding the speech of overseas colleagues
Grabbing quick drinks
Term for the "extreme-extension" version of a straw man fallacy?
OS X can’t repair the disk - FILESYSTEM DIRTY on brand new external HDD (Apple Unix)
The Next CEO of Stack OverflowWhat is the most high-performance Linux filesystem for storing a lot of small files (HDD, not SSD)?Is the Filesystem Hierarchy Standard a UNIX standard or a GNU/Linux standard?Using a unix filesystem on an external hard drive?xfs_repair does not repair the filesystem according to xfs_repair -nWhich is the best way tu run fsck.hfsplus before mounting an external disk (HFS+)?I/O error after power failure, filesystem remounting as read-onlyLVM + add new partition on the OS diskHave an SSD and HDD as the same filesystem and overflow from one to the other?Wrong fs type, bad option, bad superblock on /dev/sdXHow is filesystem information stored on the hard disk
Using Mac OS 1.9.5.
I am using brand new external HDD, 4Tb, format with exFAT.
I want to use it to make a backup.
First attempt failed: I thought because I copied large folders at same time.
I formatted the disk, this time specifying cluster block size (4096byte) as suggested for exFAT format in disk of 4TB.
I copied folders, archived, unzipped on the HDD.
No errors.
At the end of the process, I could not eject disk.
I looked if there were pending processes, not one but the one to search for them:
ps aux | grep disk1
gg4u 917 0.0 0.0 2432784 628 s001 S+ 9:19AM 0:00.00 grep disk1
Instead of forcing unmouting, I simply turn off the laptop: no error.
This morning I turn on the machine, OS start by default a file system check, granting yes:
ps aux | grep disk1
root 267 3.6 0.3 2658868 52812 ?? U 8:39AM 0:02.90 /System/Library/Filesystems/exfat.fs/Contents/Resources/./fsck_exfat -y /dev/rdisk1s2
At the end, it launches the error:
OS X can’t repair the disk
It says now file system is dirty (how is that possible, since there was no error while copying and unpacking files)
sudo fsck_exfat -q /dev/disk1s2
QUICKCHECK ONLY; FILESYSTEM DIRTY
I tried a second time, verbose mode:
diskutil unMountdisk force /dev/disk1
Forced unmount of all volumes on disk1 was successful
sudo fsck_exfat -ygd /dev/disk1s2
(S,"Checking volume.",0)
(S,"Checking main boot region.",0)
7813556224 total sectors; 512 bytes per sector
FAT starts at sector 32768; size 7634944 sectors
975736064 clusters starting at sector 7667712; 4096 bytes per cluster
Root directory starts at cluster 29782
Read offset = 0x00000101d000 length = 0x001000
(S,"Checking system files.",0)
Read offset = 0x0000f1454000 length = 0x001000
(S,"Volume name is %1$@.",1)
....
--- [1] Evicted 1 buffers (4096 bytes; 1 pages)
Read offset = 0x0000ebf07000 length = 0x001000
Checking bitmap cluster 7946
Assertion failed: (result->data == NULL), function fsck_exfat_cache_recycle, file /SourceCache/exfat/exfat-66/fsck/fsck_exfat_cache.c, line 248.
Questions:
Can apple unix properly handle exFAT formatted HDD (no SSD) ?
Or should I deduce my external drive is faulty (WD Elements 4TB) ?
If HDD is ok, instead is Apple having issues to handled other file systems than its own:
- How to prevent apple checking the HDD file system each time I plug the disk, how to ensure file system will not result corrupted so to normally eject the disk, once done ?
About messages about from fsck
:
- Is the exit code 1
for (S,"Volume name is %1$@.",1)
an error ?
- What does it mean and how to handle assertion failed error Assertion failed: (result->data == NULL), function fsck_exfat_cache_recycle, file /SourceCache/exfat/exfat-66/fsck/fsck_exfat_cache.c, line 248.
?
filesystems fsck apple exfat
New contributor
|
show 2 more comments
Using Mac OS 1.9.5.
I am using brand new external HDD, 4Tb, format with exFAT.
I want to use it to make a backup.
First attempt failed: I thought because I copied large folders at same time.
I formatted the disk, this time specifying cluster block size (4096byte) as suggested for exFAT format in disk of 4TB.
I copied folders, archived, unzipped on the HDD.
No errors.
At the end of the process, I could not eject disk.
I looked if there were pending processes, not one but the one to search for them:
ps aux | grep disk1
gg4u 917 0.0 0.0 2432784 628 s001 S+ 9:19AM 0:00.00 grep disk1
Instead of forcing unmouting, I simply turn off the laptop: no error.
This morning I turn on the machine, OS start by default a file system check, granting yes:
ps aux | grep disk1
root 267 3.6 0.3 2658868 52812 ?? U 8:39AM 0:02.90 /System/Library/Filesystems/exfat.fs/Contents/Resources/./fsck_exfat -y /dev/rdisk1s2
At the end, it launches the error:
OS X can’t repair the disk
It says now file system is dirty (how is that possible, since there was no error while copying and unpacking files)
sudo fsck_exfat -q /dev/disk1s2
QUICKCHECK ONLY; FILESYSTEM DIRTY
I tried a second time, verbose mode:
diskutil unMountdisk force /dev/disk1
Forced unmount of all volumes on disk1 was successful
sudo fsck_exfat -ygd /dev/disk1s2
(S,"Checking volume.",0)
(S,"Checking main boot region.",0)
7813556224 total sectors; 512 bytes per sector
FAT starts at sector 32768; size 7634944 sectors
975736064 clusters starting at sector 7667712; 4096 bytes per cluster
Root directory starts at cluster 29782
Read offset = 0x00000101d000 length = 0x001000
(S,"Checking system files.",0)
Read offset = 0x0000f1454000 length = 0x001000
(S,"Volume name is %1$@.",1)
....
--- [1] Evicted 1 buffers (4096 bytes; 1 pages)
Read offset = 0x0000ebf07000 length = 0x001000
Checking bitmap cluster 7946
Assertion failed: (result->data == NULL), function fsck_exfat_cache_recycle, file /SourceCache/exfat/exfat-66/fsck/fsck_exfat_cache.c, line 248.
Questions:
Can apple unix properly handle exFAT formatted HDD (no SSD) ?
Or should I deduce my external drive is faulty (WD Elements 4TB) ?
If HDD is ok, instead is Apple having issues to handled other file systems than its own:
- How to prevent apple checking the HDD file system each time I plug the disk, how to ensure file system will not result corrupted so to normally eject the disk, once done ?
About messages about from fsck
:
- Is the exit code 1
for (S,"Volume name is %1$@.",1)
an error ?
- What does it mean and how to handle assertion failed error Assertion failed: (result->data == NULL), function fsck_exfat_cache_recycle, file /SourceCache/exfat/exfat-66/fsck/fsck_exfat_cache.c, line 248.
?
filesystems fsck apple exfat
New contributor
thank you for downvoting with no comments..
– user305883
yesterday
exFAT is not a journaled filesystem, thus it's prone to corruption. In addition,ps aux | grep disk1
is unlikely to reveal which processes are using a disk. Have you tried formatting the drive once again?
– Emmanuel Rosa
yesterday
exFAT is the only FS that I know to allow disk be read between different OS.ps aux | grep disk1
what would you suggest instead? "Have you tried formatting the drive once again?" It is indeed the thing I'd like to avoid. Seem FS got corrupted 2/2 times: I just copied folders, and cannot eject.
– user305883
yesterday
@Emmanuel Rosa do you strongly recommend journaled FS only, for backup ? How would you use disk with another OS ?
– user305883
yesterday
@user305883 - Yes a backup disk should be journaled. Why do you need to access it on another OS? You could just share it over the network? (AFP, CIFS etc)
– DarkHeart
15 hours ago
|
show 2 more comments
Using Mac OS 1.9.5.
I am using brand new external HDD, 4Tb, format with exFAT.
I want to use it to make a backup.
First attempt failed: I thought because I copied large folders at same time.
I formatted the disk, this time specifying cluster block size (4096byte) as suggested for exFAT format in disk of 4TB.
I copied folders, archived, unzipped on the HDD.
No errors.
At the end of the process, I could not eject disk.
I looked if there were pending processes, not one but the one to search for them:
ps aux | grep disk1
gg4u 917 0.0 0.0 2432784 628 s001 S+ 9:19AM 0:00.00 grep disk1
Instead of forcing unmouting, I simply turn off the laptop: no error.
This morning I turn on the machine, OS start by default a file system check, granting yes:
ps aux | grep disk1
root 267 3.6 0.3 2658868 52812 ?? U 8:39AM 0:02.90 /System/Library/Filesystems/exfat.fs/Contents/Resources/./fsck_exfat -y /dev/rdisk1s2
At the end, it launches the error:
OS X can’t repair the disk
It says now file system is dirty (how is that possible, since there was no error while copying and unpacking files)
sudo fsck_exfat -q /dev/disk1s2
QUICKCHECK ONLY; FILESYSTEM DIRTY
I tried a second time, verbose mode:
diskutil unMountdisk force /dev/disk1
Forced unmount of all volumes on disk1 was successful
sudo fsck_exfat -ygd /dev/disk1s2
(S,"Checking volume.",0)
(S,"Checking main boot region.",0)
7813556224 total sectors; 512 bytes per sector
FAT starts at sector 32768; size 7634944 sectors
975736064 clusters starting at sector 7667712; 4096 bytes per cluster
Root directory starts at cluster 29782
Read offset = 0x00000101d000 length = 0x001000
(S,"Checking system files.",0)
Read offset = 0x0000f1454000 length = 0x001000
(S,"Volume name is %1$@.",1)
....
--- [1] Evicted 1 buffers (4096 bytes; 1 pages)
Read offset = 0x0000ebf07000 length = 0x001000
Checking bitmap cluster 7946
Assertion failed: (result->data == NULL), function fsck_exfat_cache_recycle, file /SourceCache/exfat/exfat-66/fsck/fsck_exfat_cache.c, line 248.
Questions:
Can apple unix properly handle exFAT formatted HDD (no SSD) ?
Or should I deduce my external drive is faulty (WD Elements 4TB) ?
If HDD is ok, instead is Apple having issues to handled other file systems than its own:
- How to prevent apple checking the HDD file system each time I plug the disk, how to ensure file system will not result corrupted so to normally eject the disk, once done ?
About messages about from fsck
:
- Is the exit code 1
for (S,"Volume name is %1$@.",1)
an error ?
- What does it mean and how to handle assertion failed error Assertion failed: (result->data == NULL), function fsck_exfat_cache_recycle, file /SourceCache/exfat/exfat-66/fsck/fsck_exfat_cache.c, line 248.
?
filesystems fsck apple exfat
New contributor
Using Mac OS 1.9.5.
I am using brand new external HDD, 4Tb, format with exFAT.
I want to use it to make a backup.
First attempt failed: I thought because I copied large folders at same time.
I formatted the disk, this time specifying cluster block size (4096byte) as suggested for exFAT format in disk of 4TB.
I copied folders, archived, unzipped on the HDD.
No errors.
At the end of the process, I could not eject disk.
I looked if there were pending processes, not one but the one to search for them:
ps aux | grep disk1
gg4u 917 0.0 0.0 2432784 628 s001 S+ 9:19AM 0:00.00 grep disk1
Instead of forcing unmouting, I simply turn off the laptop: no error.
This morning I turn on the machine, OS start by default a file system check, granting yes:
ps aux | grep disk1
root 267 3.6 0.3 2658868 52812 ?? U 8:39AM 0:02.90 /System/Library/Filesystems/exfat.fs/Contents/Resources/./fsck_exfat -y /dev/rdisk1s2
At the end, it launches the error:
OS X can’t repair the disk
It says now file system is dirty (how is that possible, since there was no error while copying and unpacking files)
sudo fsck_exfat -q /dev/disk1s2
QUICKCHECK ONLY; FILESYSTEM DIRTY
I tried a second time, verbose mode:
diskutil unMountdisk force /dev/disk1
Forced unmount of all volumes on disk1 was successful
sudo fsck_exfat -ygd /dev/disk1s2
(S,"Checking volume.",0)
(S,"Checking main boot region.",0)
7813556224 total sectors; 512 bytes per sector
FAT starts at sector 32768; size 7634944 sectors
975736064 clusters starting at sector 7667712; 4096 bytes per cluster
Root directory starts at cluster 29782
Read offset = 0x00000101d000 length = 0x001000
(S,"Checking system files.",0)
Read offset = 0x0000f1454000 length = 0x001000
(S,"Volume name is %1$@.",1)
....
--- [1] Evicted 1 buffers (4096 bytes; 1 pages)
Read offset = 0x0000ebf07000 length = 0x001000
Checking bitmap cluster 7946
Assertion failed: (result->data == NULL), function fsck_exfat_cache_recycle, file /SourceCache/exfat/exfat-66/fsck/fsck_exfat_cache.c, line 248.
Questions:
Can apple unix properly handle exFAT formatted HDD (no SSD) ?
Or should I deduce my external drive is faulty (WD Elements 4TB) ?
If HDD is ok, instead is Apple having issues to handled other file systems than its own:
- How to prevent apple checking the HDD file system each time I plug the disk, how to ensure file system will not result corrupted so to normally eject the disk, once done ?
About messages about from fsck
:
- Is the exit code 1
for (S,"Volume name is %1$@.",1)
an error ?
- What does it mean and how to handle assertion failed error Assertion failed: (result->data == NULL), function fsck_exfat_cache_recycle, file /SourceCache/exfat/exfat-66/fsck/fsck_exfat_cache.c, line 248.
?
filesystems fsck apple exfat
filesystems fsck apple exfat
New contributor
New contributor
New contributor
asked yesterday
user305883user305883
991
991
New contributor
New contributor
thank you for downvoting with no comments..
– user305883
yesterday
exFAT is not a journaled filesystem, thus it's prone to corruption. In addition,ps aux | grep disk1
is unlikely to reveal which processes are using a disk. Have you tried formatting the drive once again?
– Emmanuel Rosa
yesterday
exFAT is the only FS that I know to allow disk be read between different OS.ps aux | grep disk1
what would you suggest instead? "Have you tried formatting the drive once again?" It is indeed the thing I'd like to avoid. Seem FS got corrupted 2/2 times: I just copied folders, and cannot eject.
– user305883
yesterday
@Emmanuel Rosa do you strongly recommend journaled FS only, for backup ? How would you use disk with another OS ?
– user305883
yesterday
@user305883 - Yes a backup disk should be journaled. Why do you need to access it on another OS? You could just share it over the network? (AFP, CIFS etc)
– DarkHeart
15 hours ago
|
show 2 more comments
thank you for downvoting with no comments..
– user305883
yesterday
exFAT is not a journaled filesystem, thus it's prone to corruption. In addition,ps aux | grep disk1
is unlikely to reveal which processes are using a disk. Have you tried formatting the drive once again?
– Emmanuel Rosa
yesterday
exFAT is the only FS that I know to allow disk be read between different OS.ps aux | grep disk1
what would you suggest instead? "Have you tried formatting the drive once again?" It is indeed the thing I'd like to avoid. Seem FS got corrupted 2/2 times: I just copied folders, and cannot eject.
– user305883
yesterday
@Emmanuel Rosa do you strongly recommend journaled FS only, for backup ? How would you use disk with another OS ?
– user305883
yesterday
@user305883 - Yes a backup disk should be journaled. Why do you need to access it on another OS? You could just share it over the network? (AFP, CIFS etc)
– DarkHeart
15 hours ago
thank you for downvoting with no comments..
– user305883
yesterday
thank you for downvoting with no comments..
– user305883
yesterday
exFAT is not a journaled filesystem, thus it's prone to corruption. In addition,
ps aux | grep disk1
is unlikely to reveal which processes are using a disk. Have you tried formatting the drive once again?– Emmanuel Rosa
yesterday
exFAT is not a journaled filesystem, thus it's prone to corruption. In addition,
ps aux | grep disk1
is unlikely to reveal which processes are using a disk. Have you tried formatting the drive once again?– Emmanuel Rosa
yesterday
exFAT is the only FS that I know to allow disk be read between different OS.
ps aux | grep disk1
what would you suggest instead? "Have you tried formatting the drive once again?" It is indeed the thing I'd like to avoid. Seem FS got corrupted 2/2 times: I just copied folders, and cannot eject.– user305883
yesterday
exFAT is the only FS that I know to allow disk be read between different OS.
ps aux | grep disk1
what would you suggest instead? "Have you tried formatting the drive once again?" It is indeed the thing I'd like to avoid. Seem FS got corrupted 2/2 times: I just copied folders, and cannot eject.– user305883
yesterday
@Emmanuel Rosa do you strongly recommend journaled FS only, for backup ? How would you use disk with another OS ?
– user305883
yesterday
@Emmanuel Rosa do you strongly recommend journaled FS only, for backup ? How would you use disk with another OS ?
– user305883
yesterday
@user305883 - Yes a backup disk should be journaled. Why do you need to access it on another OS? You could just share it over the network? (AFP, CIFS etc)
– DarkHeart
15 hours ago
@user305883 - Yes a backup disk should be journaled. Why do you need to access it on another OS? You could just share it over the network? (AFP, CIFS etc)
– DarkHeart
15 hours ago
|
show 2 more comments
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
user305883 is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f508909%2fos-x-can-t-repair-the-disk-filesystem-dirty-on-brand-new-external-hdd-apple-u%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
user305883 is a new contributor. Be nice, and check out our Code of Conduct.
user305883 is a new contributor. Be nice, and check out our Code of Conduct.
user305883 is a new contributor. Be nice, and check out our Code of Conduct.
user305883 is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f508909%2fos-x-can-t-repair-the-disk-filesystem-dirty-on-brand-new-external-hdd-apple-u%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
thank you for downvoting with no comments..
– user305883
yesterday
exFAT is not a journaled filesystem, thus it's prone to corruption. In addition,
ps aux | grep disk1
is unlikely to reveal which processes are using a disk. Have you tried formatting the drive once again?– Emmanuel Rosa
yesterday
exFAT is the only FS that I know to allow disk be read between different OS.
ps aux | grep disk1
what would you suggest instead? "Have you tried formatting the drive once again?" It is indeed the thing I'd like to avoid. Seem FS got corrupted 2/2 times: I just copied folders, and cannot eject.– user305883
yesterday
@Emmanuel Rosa do you strongly recommend journaled FS only, for backup ? How would you use disk with another OS ?
– user305883
yesterday
@user305883 - Yes a backup disk should be journaled. Why do you need to access it on another OS? You could just share it over the network? (AFP, CIFS etc)
– DarkHeart
15 hours ago