On windows, we have a command called "chkdsk" (check disk) to verify the memory card's file system integrity and is used for checking file system errors and fix these errors if required.
This command is useful if the memory card is corrupted by some means and need to recover the data from the card without any data loss.
Step1) Insert the memory card (flash drive) which is corrupted or to check file system errors. After inserting the card, lets say the drive identified as E:/
Step2) Now, open command prompt and run chkdsk command
chkdsk e: /f
Step3) You will see the info regd the file system used in the memory card and memory details. If the command identifies any file system errors then it fixes them.
The complete syntax for Check Disk is this:
chkdsk [volume[[path]filename]]] [/F] [/V] [/R] [/X] [/I] [/C] [/L[:size]]
Options:
-----------
Volume Sets the volume to work with.
filename FAT/FAT32 only: Specifies files to check for fragmentation.
/F Fixes errors on the disk.
/V On FAT/FAT32, this displays the full path and name of every file on the disk.
On NTFS, this displays cleanup messages, if any.
/R Locates bad sectors and recovers readable information (implies /F).
/L size NTFS only. Changes the log file size.
/X Forces the volume to dismount first if necessary (implies /F).
/I NTFS only. Performs a minimum check of index entries.
/C NTFS only. Skips checking of cycles within the folder structure.
For more details please find useful linke here
On Linux platform, we have similar utility for checking and repairing file systems called "fsck". More details can be found here
This command is useful if the memory card is corrupted by some means and need to recover the data from the card without any data loss.
Step1) Insert the memory card (flash drive) which is corrupted or to check file system errors. After inserting the card, lets say the drive identified as E:/
Step2) Now, open command prompt and run chkdsk command
chkdsk e: /f
Step3) You will see the info regd the file system used in the memory card and memory details. If the command identifies any file system errors then it fixes them.
The complete syntax for Check Disk is this:
chkdsk [volume[[path]filename]]] [/F] [/V] [/R] [/X] [/I] [/C] [/L[:size]]
Options:
-----------
Volume Sets the volume to work with.
filename FAT/FAT32 only: Specifies files to check for fragmentation.
/F Fixes errors on the disk.
/V On FAT/FAT32, this displays the full path and name of every file on the disk.
On NTFS, this displays cleanup messages, if any.
/R Locates bad sectors and recovers readable information (implies /F).
/L size NTFS only. Changes the log file size.
/X Forces the volume to dismount first if necessary (implies /F).
/I NTFS only. Performs a minimum check of index entries.
/C NTFS only. Skips checking of cycles within the folder structure.
For more details please find useful linke here
On Linux platform, we have similar utility for checking and repairing file systems called "fsck". More details can be found here
No comments:
Post a Comment