- This topic has 2 replies, 2 voices, and was last updated Mar 12-6:45 pm by fatmac.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Forum for users of antiX Linux. Mean and Lean and Proudly anti-fascist.
Forum › Forums › New users › New Users and General Questions › Puzzled of fs error.
Tagged: fsck
Hi.
I had a power out which I suspect damaged the fs on an external hdd:
demo@antix1:~/Live-usb-storage
$ sudo fsck -Vr /dev/sdc1
fsck from util-linux 2.33.1
demo@antix1:~/Live-usb-storage
$ echo $?
0
demo@antix1:~/Live-usb-storage
$ ls -lah /media/demo/sdc1-usb-WD_My_Passport_2/
.
.
.
drwxrwxrwx 1 demo demo 8.0K Dec 5 14:52 LiveUSB-StorageArchive2021_0113
d?????????? ? ? ? ? ? Live-usb-storageArchive2021_0216
drwxrwxrwx 1 demo demo 0 Jan 11 10:11 Live-usb-storageAr嚉hive2021_0111
drwxrwxrwx 1 demo demo 4.0K Mar 11 14:10 Live-usb-storageBackup
.
.
.
So, fsck exits w/o error, or fixing anything, but I still have corrupted permissions on one folder, and a corrupted name on another folder. Any suggestions?
Oh, in case you need proof that I am applying fsck to the right mount point,
demo@antix1:~/Live-usb-storage
$ lsblk -f
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0 squashfs 0 100% /live/linux
.
.
.
sdc
└─sdc1 ntfs 5XXXXXXXXXXXXXXF 807.2G 13% /media/demo/sdc1-usb-WD_My_Passport_2
sr0
Basically, a drive needs to be unmounted to be checked, & done by the root operator, or by using sudo.
Edit: I just noticed that it is an NTFS drive, you will require the right tools for the job – no idea which, as I never use NTFS.
Linux (& BSD) since 1999
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |