Personal computing discussed

Moderators: renee, David, Thresher

 
2x4
Gerbil Elite
Topic Author
Posts: 590
Joined: Wed Sep 19, 2007 10:55 pm
Location: jc

invalid directory count

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.
https://www.flickr.com/photos/zawodowy_fotograf/

i7 7700K--Gigabyte Z270x--EVGA GTX 1080--32GB DDR4 3200--DELL 4K--Crucial 500GB SSD--WD 2x4TB--Seagate 4TB--G-Drive 3TB (external)
5dmkIII
 
just brew it!
Administrator
Posts: 54500
Joined: Tue Aug 20, 2002 10:51 pm
Location: Somewhere, having a beer

Re: invalid directory count

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.
Nostalgia isn't what it used to be.
 
MarkG509
Gerbil Elite
Posts: 744
Joined: Thu Feb 21, 2013 6:51 pm

Re: invalid directory count

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.
 
2x4
Gerbil Elite
Topic Author
Posts: 590
Joined: Wed Sep 19, 2007 10:55 pm
Location: jc

Re: invalid directory count

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.
https://www.flickr.com/photos/zawodowy_fotograf/

i7 7700K--Gigabyte Z270x--EVGA GTX 1080--32GB DDR4 3200--DELL 4K--Crucial 500GB SSD--WD 2x4TB--Seagate 4TB--G-Drive 3TB (external)
5dmkIII
 
Yan
Gerbil XP
Posts: 349
Joined: Fri Dec 21, 2012 9:37 pm
Location: Ottawa

Re: invalid directory count

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.
 
2x4
Gerbil Elite
Topic Author
Posts: 590
Joined: Wed Sep 19, 2007 10:55 pm
Location: jc

Re: invalid directory count

Sun Apr 06, 2014 12:40 pm

also not that we have 2 user accounts on hd.
https://www.flickr.com/photos/zawodowy_fotograf/

i7 7700K--Gigabyte Z270x--EVGA GTX 1080--32GB DDR4 3200--DELL 4K--Crucial 500GB SSD--WD 2x4TB--Seagate 4TB--G-Drive 3TB (external)
5dmkIII
 
just brew it!
Administrator
Posts: 54500
Joined: Tue Aug 20, 2002 10:51 pm
Location: Somewhere, having a beer

Re: invalid directory count

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.
Nostalgia isn't what it used to be.
 
Deanjo
Graphmaster Gerbil
Posts: 1212
Joined: Tue Mar 03, 2009 11:31 am

Re: invalid directory count

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?
 
2x4
Gerbil Elite
Topic Author
Posts: 590
Joined: Wed Sep 19, 2007 10:55 pm
Location: jc

Re: invalid directory count

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
https://www.flickr.com/photos/zawodowy_fotograf/

i7 7700K--Gigabyte Z270x--EVGA GTX 1080--32GB DDR4 3200--DELL 4K--Crucial 500GB SSD--WD 2x4TB--Seagate 4TB--G-Drive 3TB (external)
5dmkIII
 
2x4
Gerbil Elite
Topic Author
Posts: 590
Joined: Wed Sep 19, 2007 10:55 pm
Location: jc

Re: invalid directory count

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?
https://www.flickr.com/photos/zawodowy_fotograf/

i7 7700K--Gigabyte Z270x--EVGA GTX 1080--32GB DDR4 3200--DELL 4K--Crucial 500GB SSD--WD 2x4TB--Seagate 4TB--G-Drive 3TB (external)
5dmkIII
 
2x4
Gerbil Elite
Topic Author
Posts: 590
Joined: Wed Sep 19, 2007 10:55 pm
Location: jc

Re: invalid directory count

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
https://www.flickr.com/photos/zawodowy_fotograf/

i7 7700K--Gigabyte Z270x--EVGA GTX 1080--32GB DDR4 3200--DELL 4K--Crucial 500GB SSD--WD 2x4TB--Seagate 4TB--G-Drive 3TB (external)
5dmkIII
 
2x4
Gerbil Elite
Topic Author
Posts: 590
Joined: Wed Sep 19, 2007 10:55 pm
Location: jc

Re: invalid directory count

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?
https://www.flickr.com/photos/zawodowy_fotograf/

i7 7700K--Gigabyte Z270x--EVGA GTX 1080--32GB DDR4 3200--DELL 4K--Crucial 500GB SSD--WD 2x4TB--Seagate 4TB--G-Drive 3TB (external)
5dmkIII
 
just brew it!
Administrator
Posts: 54500
Joined: Tue Aug 20, 2002 10:51 pm
Location: Somewhere, having a beer

Re: invalid directory count

Sun Apr 06, 2014 5:01 pm

Sounds like something is corrupting the hard drive. Could be bad drive, bad cable, or bad RAM.
Nostalgia isn't what it used to be.
 
Deanjo
Graphmaster Gerbil
Posts: 1212
Joined: Tue Mar 03, 2009 11:31 am

Re: invalid directory count

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.
 
SuperSpy
Minister of Gerbil Affairs
Posts: 2403
Joined: Thu Sep 12, 2002 9:34 pm
Location: TR Forums

Re: invalid directory count

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: i7-4790K @4.8 GHz | 32 GB | EVGA Gefore 1060 | Windows 10 x64
Laptop: MacBook Pro 2017 2.9GHz | 16 GB | Radeon Pro 560
 
2x4
Gerbil Elite
Topic Author
Posts: 590
Joined: Wed Sep 19, 2007 10:55 pm
Location: jc

Re: invalid directory count

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.
https://www.flickr.com/photos/zawodowy_fotograf/

i7 7700K--Gigabyte Z270x--EVGA GTX 1080--32GB DDR4 3200--DELL 4K--Crucial 500GB SSD--WD 2x4TB--Seagate 4TB--G-Drive 3TB (external)
5dmkIII

Who is online

Users browsing this forum: No registered users and 5 guests
GZIP: On