Chkdsk Linux equivalent for exfat?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
- Level 1
- Posts: 29
- Joined: Tue Jun 28, 2022 4:57 pm
Chkdsk Linux equivalent for exfat?
Ok I need to check an exfat volume for errors. What's the best way to go about this in Linux without having to reboot to Windows?
Last edited by LockBot on Tue Feb 07, 2023 11:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Chkdsk Linux equivalent for exfat?
You should read the fsck.exfat man page. It is a small man page and an easy ready. See the following example:
The /dev/sdb2 is an example only, and your device name may be different. Use the
Code: Select all
$ man fsck.exfat
...
$ sudo fsck.exfat -pv /dev/sdb2
exfatprogs version : 1.1.3
volume label [exFAT]
sector size: 512.00 B
cluster size: 32.00 KB
volume size: 547.00 MB
/dev/sdb2: clean. directories 1, files 1
$
sudo lsblk -f
command to help identify your storage device name. Likewise, the file system should be unmounted before attempting the fsck.exfat command.🐧Linux Mint 20.3 XFCE (UEFI - Secure Boot Enabled) dual boot with Windows 11
Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️
Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️
Re: Chkdsk Linux equivalent for exfat?
I don't have any exfat format stuff but in general there is simply no Linux equivalent for chkdsk. That's because the ntfs format is not fully documented. I've used Hiren's Boot Disk on a USB stick to fix ntfs formatted external HDs a couple of times because the Linux file system repair tools aren't reliable with ntfs. I solved that by formatting all my external drives to ext4 since I don't have any Windows anymore.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
-
- Level 1
- Posts: 29
- Joined: Tue Jun 28, 2022 4:57 pm
Re: Chkdsk Linux equivalent for exfat?
OK, thanksdeck_luck wrote: ⤴Sun Aug 07, 2022 9:13 pm You should read the fsck.exfat man page. It is a small man page and an easy ready. See the following example:The /dev/sdb2 is an example only, and your device name may be different. Use theCode: Select all
$ man fsck.exfat ... $ sudo fsck.exfat -pv /dev/sdb2 exfatprogs version : 1.1.3 volume label [exFAT] sector size: 512.00 B cluster size: 32.00 KB volume size: 547.00 MB /dev/sdb2: clean. directories 1, files 1 $
sudo lsblk -f
command to help identify your storage device name. Likewise, the file system should be unmounted before attempting the fsck.exfat command.