invalid directory count

From OSX to iPods, iTunes to Mac Minis, and all other things Apple.

Moderators: David, Thresher

invalid directory count

Postposted on Fri Apr 04, 2014 5:07 pm

hi
i have a little problem with my mac - i recently noticed slower speed, disk is constantly on. i did onyx cleanup and was advised to check start up volume. after performing disc repair i get the following error messages:

-invalid directory item count (it should be 49 instead of 48)
-invalid node structure
-volume check failed
error: filesystem verify or repair failed.

can someone advise on these messages? is format necessary or simple re-installation of OS will do it?

thank you.
www.youtube.com/user/2x4 - benchmarks and gameplay videos

Intel core i7 3.2--EVGA X58--EVGA GTX 580--Auzentech Prelude 7.1--12GB DDR3 1600--ANTEC P190--SAMSUNG 245T 24"--Samsung Spinpoint 2x2TB
2x4
Gerbil Elite
 
Posts: 509
Joined: Wed Sep 19, 2007 10:55 pm
Location: jc

Re: invalid directory count

Postposted on Fri Apr 04, 2014 7:51 pm

Reinstalling the OS into an already corrupted filesystem is probably not going to help (and may even make things worse), unless the OS does a reformat as a normal part of the installation process. So in other words... yeah, I think you will want to reformat.
(this space intentionally left blank)
just brew it!
Administrator
Gold subscriber
 
 
Posts: 37705
Joined: Tue Aug 20, 2002 10:51 pm
Location: Somewhere, having a beer

Re: invalid directory count

Postposted on Fri Apr 04, 2014 8:28 pm

My memory may be a little fuzzy since I gave up on OS X at Lion (and haven't looked back), so interpret/update as necessary. You should first copy off as much of your files as you possibly can to another machine/drive, then boot into single-user mode to run disk utility to cleanup and repair as much as possible.

If that doesn't clean things up follow JBI's advice.
MarkG509
Gerbil First Class
Gold subscriber
 
 
Posts: 126
Joined: Thu Feb 21, 2013 6:51 pm

Re: invalid directory count

Postposted on Sun Apr 06, 2014 12:14 pm

thanks guys. since mac is not my cup of tea my next question would be - what is the simplest way to delete my 2 existing partitions (user accounts?), format all and start from square one. i have os x leopard disc that came with the comp and os x snow leopard. when i tried snow disc hard drive was not visible at all. when i tried leopard disc was visible. i want to format it and then do a fresh, clean install of snow leopard. thanks for your help again.
www.youtube.com/user/2x4 - benchmarks and gameplay videos

Intel core i7 3.2--EVGA X58--EVGA GTX 580--Auzentech Prelude 7.1--12GB DDR3 1600--ANTEC P190--SAMSUNG 245T 24"--Samsung Spinpoint 2x2TB
2x4
Gerbil Elite
 
Posts: 509
Joined: Wed Sep 19, 2007 10:55 pm
Location: jc

Re: invalid directory count

Postposted on Sun Apr 06, 2014 12:36 pm

I hesitate to contradict JBI, especially since I'm a Linux user rather than a MacOS user, but MacOS is supposed to be Unix-like, and if so, the error you report, "invalid directory count", is very minor. Just use the MacOS equivalent to f s c k ; see here or here.

Ha, f s c k is banned, even in URLs! :o

However, your system also reports "filesystem verify or repair failed". If this means that f s c k can't repair the error, I'd consider the possibility that the hard disk is physically defective. I'll let someone else suggest the MacOS equivalents to smartctl and badblocks.
Last edited by Yan on Sun Apr 06, 2014 12:42 pm, edited 1 time in total.
Yan
Gerbil
 
Posts: 34
Joined: Fri Dec 21, 2012 9:37 pm
Location: Ottawa

Re: invalid directory count

Postposted on Sun Apr 06, 2014 12:40 pm

also not that we have 2 user accounts on hd.
www.youtube.com/user/2x4 - benchmarks and gameplay videos

Intel core i7 3.2--EVGA X58--EVGA GTX 580--Auzentech Prelude 7.1--12GB DDR3 1600--ANTEC P190--SAMSUNG 245T 24"--Samsung Spinpoint 2x2TB
2x4
Gerbil Elite
 
Posts: 509
Joined: Wed Sep 19, 2007 10:55 pm
Location: jc

Re: invalid directory count

Postposted on Sun Apr 06, 2014 1:23 pm

Yes, it sounds like the fs*k already failed. That's why I was suggesting a reformat.

It could probably be repaired manually by someone with sufficient knowledge of how the filesystem internals work, but since it sounds like the data is still recoverable a reformat is probably the best approach.
(this space intentionally left blank)
just brew it!
Administrator
Gold subscriber
 
 
Posts: 37705
Joined: Tue Aug 20, 2002 10:51 pm
Location: Somewhere, having a beer

Re: invalid directory count

Postposted on Sun Apr 06, 2014 1:35 pm

2x4 wrote:hi
i have a little problem with my mac - i recently noticed slower speed, disk is constantly on. i did onyx cleanup and was advised to check start up volume. after performing disc repair i get the following error messages:

-invalid directory item count (it should be 49 instead of 48)
-invalid node structure
-volume check failed
error: filesystem verify or repair failed.

can someone advise on these messages? is format necessary or simple re-installation of OS will do it?

thank you.



I assume you have already ran Repair Disk in Disk Utility?
Deanjo
Gerbil XP
 
Posts: 397
Joined: Tue Mar 03, 2009 11:31 am

Re: invalid directory count

Postposted on Sun Apr 06, 2014 2:03 pm

Deanjo wrote:
2x4 wrote:hi
i have a little problem with my mac - i recently noticed slower speed, disk is constantly on. i did onyx cleanup and was advised to check start up volume. after performing disc repair i get the following error messages:

-invalid directory item count (it should be 49 instead of 48)
-invalid node structure
-volume check failed
error: filesystem verify or repair failed.

can someone advise on these messages? is format necessary or simple re-installation of OS will do it?

thank you.



I assume you have already ran Repair Disk in Disk Utility?


yes sir. i am actually in the middle of erasing/formatting my hd. after that i will proceed with snow leopard clean installation and will report back
www.youtube.com/user/2x4 - benchmarks and gameplay videos

Intel core i7 3.2--EVGA X58--EVGA GTX 580--Auzentech Prelude 7.1--12GB DDR3 1600--ANTEC P190--SAMSUNG 245T 24"--Samsung Spinpoint 2x2TB
2x4
Gerbil Elite
 
Posts: 509
Joined: Wed Sep 19, 2007 10:55 pm
Location: jc

Re: invalid directory count

Postposted on Sun Apr 06, 2014 4:21 pm

I tried clean install of snow leopard but i get an error message:

install failed
mac os x could not be installed on your computer

the installer encounter an error that caused installation to fail

fked up hard drive or dvd?
www.youtube.com/user/2x4 - benchmarks and gameplay videos

Intel core i7 3.2--EVGA X58--EVGA GTX 580--Auzentech Prelude 7.1--12GB DDR3 1600--ANTEC P190--SAMSUNG 245T 24"--Samsung Spinpoint 2x2TB
2x4
Gerbil Elite
 
Posts: 509
Joined: Wed Sep 19, 2007 10:55 pm
Location: jc

Re: invalid directory count

Postposted on Sun Apr 06, 2014 4:50 pm

also i did another disk repair from the utilities and i get the following error message:

UNUSED NODE IS NOT ERASED (NODE=2099)

UNUSED NODE IS NOT ERASED (NODE=20059)

INVALID NODE STRUCTURE
www.youtube.com/user/2x4 - benchmarks and gameplay videos

Intel core i7 3.2--EVGA X58--EVGA GTX 580--Auzentech Prelude 7.1--12GB DDR3 1600--ANTEC P190--SAMSUNG 245T 24"--Samsung Spinpoint 2x2TB
2x4
Gerbil Elite
 
Posts: 509
Joined: Wed Sep 19, 2007 10:55 pm
Location: jc

Re: invalid directory count

Postposted on Sun Apr 06, 2014 5:00 pm

at this point im pretty sure that hard drive needs to be replaced. can you recommend me a good one about 1tb?
www.youtube.com/user/2x4 - benchmarks and gameplay videos

Intel core i7 3.2--EVGA X58--EVGA GTX 580--Auzentech Prelude 7.1--12GB DDR3 1600--ANTEC P190--SAMSUNG 245T 24"--Samsung Spinpoint 2x2TB
2x4
Gerbil Elite
 
Posts: 509
Joined: Wed Sep 19, 2007 10:55 pm
Location: jc

Re: invalid directory count

Postposted on Sun Apr 06, 2014 5:01 pm

Sounds like something is corrupting the hard drive. Could be bad drive, bad cable, or bad RAM.
(this space intentionally left blank)
just brew it!
Administrator
Gold subscriber
 
 
Posts: 37705
Joined: Tue Aug 20, 2002 10:51 pm
Location: Somewhere, having a beer

Re: invalid directory count

Postposted on Sun Apr 06, 2014 9:02 pm

2x4 wrote:at this point im pretty sure that hard drive needs to be replaced. can you recommend me a good one about 1tb?


What type of Mac? Pretty hard to recommend one if we don't even know if you need a 2.5 or 3.5 drive.
Deanjo
Gerbil XP
 
Posts: 397
Joined: Tue Mar 03, 2009 11:31 am

Re: invalid directory count

Postposted on Mon Apr 07, 2014 8:54 am

Yeah, although it's likely the drive is the problem here, you'll want to rule out bad memory before you make a potentially wasteful purchase. Give it a few hours (preferably overnight) running memtest just to make sure it's not actually a memory problem masking as something else.
Desktop: FX-8350 | 32 GB | XFX Radeon 6950 | Windows 7 x64
Laptop: i7 740QM | 12 GB | Mobility Radeon 5850 | Windows 8.1.1.1.1 x64
SuperSpy
Gerbil Jedi
Gold subscriber
 
 
Posts: 1583
Joined: Thu Sep 12, 2002 9:34 pm
Location: TR Forums

Re: invalid directory count

Postposted on Sat Apr 19, 2014 2:09 pm

so i took it to apple store, the guy did some diagnostics (the same this i did) and then later logged in again i guess i a safety mode/triage mode formated and repartitioned it again and looks like hd and memory are ok. i am reinstalling the system again now.
www.youtube.com/user/2x4 - benchmarks and gameplay videos

Intel core i7 3.2--EVGA X58--EVGA GTX 580--Auzentech Prelude 7.1--12GB DDR3 1600--ANTEC P190--SAMSUNG 245T 24"--Samsung Spinpoint 2x2TB
2x4
Gerbil Elite
 
Posts: 509
Joined: Wed Sep 19, 2007 10:55 pm
Location: jc


Return to Apple Sanctuary

Who is online

Users browsing this forum: No registered users and 1 guest