LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-11-2005, 01:03 PM   #1
firecat53
LQ Newbie
 
Registered: Jun 2004
Location: Sammamish, WA USA
Distribution: Ubuntu (Hoary), Knoppix Live
Posts: 16

Rep: Reputation: 0
Ntfsresize cluster accounting errors


After one successful install of Ubuntu on my laptop, I'm attempting an install on our main desktop, to dual-boot with XP. The desktop is a three-year old Gateway with a 60GB single partition hard drive. I've tried unsuccessfully numerous times to repartition the hard drive using ntfsresize(both on the Ubunutu install disk and from a Knoppix CD) and keep getting numerous 'cluster accounting errors' when ntfsresize initially looks over the filesystem.

I've tried the 'chkdsk /f' and 'chkdsk /r' from XP and both finish successfully but still don't change the outcome of the ntfsresize. I've downloaded the most recent version of ntfsprogs (v. 1.11.2) on a rescue CD (RIP - Linux) and tried that, as it was supposed to fix some of the errors people encountered using ntfsresize, but got the same result.

The XP install works fine and no errors are generated from the chkdsk or a defrag.

I'm at a loss!! I'd really hate to reinstall windows again if I can avoid it, but I do recognize that could be the next step unless someone has an idea of what to fix!

Thanks, Scott
 
Old 09-19-2005, 08:17 AM   #2
igu
Member
 
Registered: Jan 2003
Distribution: Fedora, Gentoo, SUSE, Mandriva
Posts: 127

Rep: Reputation: 15
Before resizing an NTFS, ntfsresize makes a filesystem consistency check and it refuses to progress, presenting the "cluster accounting errors" messages, if it found errors. Just run chkdsk with the /f (fix errors) command line option. If chkdsk asks you about if it should check the drive the next time you restart the computer then answer 'y' (yes) and restart Windows not only once, but TWICE!

If you still have problem then your Windows doesn't shutdown cleanly because it definitely leaves NTFS in a corrupted state.
 
Old 09-19-2005, 10:38 AM   #3
firecat53
LQ Newbie
 
Registered: Jun 2004
Location: Sammamish, WA USA
Distribution: Ubuntu (Hoary), Knoppix Live
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks for the reply, Igu. I've run chkdsk /f and /r numerous times with the same result. Is there anything I can do to make XP shutdown cleanly and thereby avoid these errors?

Scott
 
Old 09-19-2005, 05:29 PM   #4
igu
Member
 
Registered: Jan 2003
Distribution: Fedora, Gentoo, SUSE, Mandriva
Posts: 127

Rep: Reputation: 15
What's the full ntfsresize output? Does the output change when you run chkdsk /f or it's always the same? BTW, you wrote that you run chkdsk /f and chkdsk /r but did you also run chkdsk /f /r? The /r option isn't effective without using the /f.
 
Old 09-19-2005, 10:00 PM   #5
firecat53
LQ Newbie
 
Registered: Jun 2004
Location: Sammamish, WA USA
Distribution: Ubuntu (Hoary), Knoppix Live
Posts: 16

Original Poster
Rep: Reputation: 0
Here's the output (still the same after running chkdsk /f, chkdsk /r /f and restarting windows twice after each one):

ntfsresize v1.12.0-WIP
Device name : /dev/hda1
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 61492158976 bytes (61493 MB)
Current device size: 61492161024 bytes (61493 MB)
Checking filesystem consistency ...
100.00 percent completed
Accounting clusters ...
Cluster accounting failed at 127 (0x7f): extra cluster in $Bitmap
Cluster accounting failed at 1310 (0x51e): extra cluster in $Bitmap
Cluster accounting failed at 42608 (0xa670): extra cluster in $Bitmap
Cluster accounting failed at 142022 (0x22ac6): extra cluster in $Bitmap
Cluster accounting failed at 142023 (0x22ac7): extra cluster in $Bitmap
Cluster accounting failed at 142024 (0x22ac8): extra cluster in $Bitmap
Cluster accounting failed at 142025 (0x22ac9): extra cluster in $Bitmap
Cluster accounting failed at 142026 (0x22aca): extra cluster in $Bitmap
Cluster accounting failed at 142027 (0x22acb): extra cluster in $Bitmap
Cluster accounting failed at 142028 (0x22acc): extra cluster in $Bitmap
ERROR: Filesystem check failed! Totally 2766 cluster accounting mismatches.
Apparently you have a corrupted NTFS. Please run the filesystem checker
on Windows by invoking chkdsk /f. Don't forget the /f (force) parameter,
it's important! You probably also need to reboot Windows to take effect.
Then you can try ntfsresize again. No modification was made to your NTFS.


Thanks, Scott
 
Old 09-21-2005, 01:23 AM   #6
igu
Member
 
Registered: Jan 2003
Distribution: Fedora, Gentoo, SUSE, Mandriva
Posts: 127

Rep: Reputation: 15
Hm, chkdsk always helped me. I have no idea what's wrong with your NTFS what chkdsk can't fix. Try to contact the developers: http://linux-ntfs.sourceforge.net/
 
Old 09-21-2005, 09:53 AM   #7
firecat53
LQ Newbie
 
Registered: Jun 2004
Location: Sammamish, WA USA
Distribution: Ubuntu (Hoary), Knoppix Live
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks for trying, Igu. One of the developers has directed me to a very very recent version which might fix the problem I'm experiencing. Otherwise, he said it sounds like something new!

Scott
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cluster question: Is it possible to make a bulletproof cluster? ValidiusMaximus Linux - Software 1 09-06-2005 02:07 PM
Setting up a cluster with pxe and cluster knoppix bucovaina78 Linux - Networking 1 05-15-2005 11:29 PM
Help understanding ntfsresize? dr_zayus69 Linux - Software 13 03-18-2005 06:02 AM
ntfsresize not resizing enough eno_on Linux - General 5 12-28-2004 07:42 AM
errors while testing cluster machines (MPICH) nedian123 Linux - Networking 0 12-09-2004 03:27 AM


All times are GMT -5. The time now is 08:48 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration