1 (edited by brake16 2008-01-09 19:05:15)

Topic: [Solved] The NTFS journal file is unclean.

Good Morning

I'm running Win XP on a Dell Inspiron 5100 with an 80 GB harddrive (~30GB full, NTFS).  I'm trying to shrink it by 38 GB, but even with a test run of only shrinking it by 1 MB, I keep getting the same error (below).  I'm using the liveCD, I've defragged my C:\ drive at least 5-6 times with Virtual Memory disabled, and I've powered down out of Windows properly, yet I still get this error.  If more info is needed, let me know specifics (yep, I'm another newb).  Thanks for any help.

brake16

GParted 0.3.4

Libparted 1.8.8

Grow /dev/hdc1 from 74.52 GiB to 74.52 GiB  00:19    ( ERROR ) 
     calibrate /dev/hdc1  00:00    ( SUCCES ) 
     path: /dev/hdc1
start: 63
end: 156280319
size: 156280257 (74.52 GiB) 

calculate new size and position of /dev/hdc1  00:00    ( SUCCES ) 
     requested start: 0
requested end: 156280319
requested size: 156280320 (74.52 GiB) 
new start: 63
new end: 156280319
new size: 156280257 (74.52 GiB) 

check filesystem on /dev/hdc1 for errors and (if possible) fix them  00:10    ( SUCCES ) 
     ntfsresize -P -i -f -v /dev/hdc1 
     ntfsresize v1.13.1.1 (libntfs 9:0:0)
Device name : /dev/hdc1
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 80015491584 bytes (80016 MB)
Current device size: 80015491584 bytes (80016 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 30515 MB (38.1%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 54209 MB 0
Multi-Record : 68678 MB 9
$MFTMirr : 40008 MB 1
Compressed : 44858 MB 8267
Ordinary : 80016 MB 13711
You might resize at 30514556928 bytes or 30515 MB (freeing 49501 MB).
Please make a test run using both the -n and -s options before real resizing!



resize/move partition  00:00    ( SUCCES ) 
     new and old partition have the same size and position. skipping this operation 

check filesystem on /dev/hdc1 for errors and (if possible) fix them  00:09    ( SUCCES ) 
     ntfsresize -P -i -f -v /dev/hdc1 
     ntfsresize v1.13.1.1 (libntfs 9:0:0)
Device name : /dev/hdc1
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 80015491584 bytes (80016 MB)
Current device size: 80015491584 bytes (80016 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 30515 MB (38.1%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 54209 MB 0
Multi-Record : 68678 MB 9
$MFTMirr : 40008 MB 1
Compressed : 44858 MB 8267
Ordinary : 80016 MB 13711
You might resize at 30514556928 bytes or 30515 MB (freeing 49501 MB).
Please make a test run using both the -n and -s options before real resizing!



grow filesystem to fill the partition  00:00    ( ERROR ) 
     run simulation  00:00    ( SUCCES ) 
     ntfsresize -P --force --force /dev/hdc1 --no-action 
     ntfsresize v1.13.1.1 (libntfs 9:0:0)
Device name : /dev/hdc1
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 80015491584 bytes (80016 MB)
Current device size: 80015491584 bytes (80016 MB)
New volume size : 80015487488 bytes (80016 MB)
Nothing to do: NTFS volume size is already OK.



real resize  00:00    ( ERROR ) 
     ntfsresize -P --force --force /dev/hdc1 
     ntfsresize v1.13.1.1 (libntfs 9:0:0)
ERROR(95): Opening '/dev/hdc1' as NTFS failed: Operation not supported
The NTFS journal file is unclean. Please shutdown Windows properly before
using this software! Note, if you have run chkdsk previously then boot
Windows again which will automatically initialize the journal correctly.






========================================

2

Re: [Solved] The NTFS journal file is unclean.

I guess you use the latest live cd.

Something you could try is the command "ntfsfix /dev/... "
You can run it from the terminal (from the Gparted livecd). It fixes some ntfs errors. Perhaps this can help.

If this doesn't solve the problem, you could try to use another gparted livecd version. Many users solved ntfs problems using 0.3.4-8, or -7 or -6 versions (even older for someone) instead  of 0.3.4-10 or 11.

/Topic moved to the Live Media section/.

*** It is highly recommended to backup any important files before doing resize/move operations. ***

3 (edited by brake16 2008-01-09 19:04:07)

Re: [Solved] The NTFS journal file is unclean.

Thank you very much!  I tried chkdsk /f to no avail, but ntfsfix did the trick!

I had another problem that I'll describe in case anybody else runs into this:  I had Norton Systemworks 2006 installed on the Win XP partition.  This program includes Norton GoBack (a system restore program).  Norton GoBack does a system check at boot right after the BIOS boot.  It absolutely freaked out that the NTFS partition had changed and refused to boot XP until I either undid the changes or uninstalled GoBack.  Since I couldn't get back into XP to uninstall GoBack (nice little catch-22 there), I had to undo the partition changes using the GParted liveCD, then uninstall GoBack, then redo the partition changes. 

So the moral of the story is: uninstall Norton GoBack BEFORE making any partition changes.

Thanks again for the help.

brake16

4

Re: [Solved] The NTFS journal file is unclean.

Thank you for this info!
smile

*** It is highly recommended to backup any important files before doing resize/move operations. ***