Link to home
Start Free TrialLog in
Avatar of bahti1777
bahti1777

asked on

chkdsk and disk dismount

i was attempting to run a chkdsk on a 199GB drive and it is giving me a message which states:

Drive has to be dismounted before running chkdsk.

Is it safe to run a chkdsk? or can i easily bring the disk back online after the chkdsk is done?
Avatar of Rob Miners
Rob Miners
Flag of Australia image

Yep you can run chkdsk, it is mounted by the Operating System and allocated a Drive letter so that it can be accessed. By dismounting the volume chkdsk has full access to the drive.

It should say something like "ALL OPENED HANDLES TO THIS VOLUME WOULD THEN BE INVALID". Would you like to force a dismount on this volume? <Y/N> so select Y

If programs or drivers maintain an open handle (EG: you have a file open on the drive) to the disk, chkdsk will not run until it has exclusive access to the drive.
It is better to backup your important data first. There is a risk of data loss when the chkdsk fix your harddisk.

See: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/chkdsk.mspx?mfr=true

Especially in the topic:
/x : Use with NTFS only. Forces the volume to dismount first, if necessary. All open handles to the drive are invalidated. /x also includes the functionality of /f.

Chkdsk corrects disk errors only if you specify the /f command-line option. Chkdsk must be able to lock the drive to correct errors. Because repairs usually change a disk's file allocation table and sometimes cause a loss of data.
ASKER CERTIFIED SOLUTION
Avatar of bahti1777
bahti1777

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bahti1777
bahti1777

ASKER

it was the right one.