외부 NTFS 하드 드라이브에 손상된 폴더가 있는데 삭제할 수 없는 것 같습니다.
ls -la
(내 사용자 이름을 "xxxx"로 대체) 의 출력
ls: cannot access 'hd/backgrounds': Input/output error
total 60
drwxrwxrwx 1 xxxx users 16384 Oct 21 15:53 .
drwxr-xr-x 22 xxxx users 4096 Oct 21 15:53 ..
drwxrwxrwx 1 xxxx users 0 Oct 13 18:43 .Trash-1001
drwxrwxrwx 1 xxxx users 4096 Oct 16 10:59 'System Volume Information'
d????????? ? ? ? ? ? backgrounds
drwxrwxrwx 1 xxxx users 4096 Oct 14 12:31 backups
drwxrwxrwx 1 xxxx users 0 Oct 11 15:56 documents
drwxrwxrwx 1 xxxx users 8192 Mar 24 2020 drawing
drwxrwxrwx 1 xxxx users 0 Mar 24 2020 games
drwxrwxrwx 1 xxxx users 4096 Oct 10 22:10 iso
drwxrwxrwx 1 xxxx users 4096 Mar 24 2020 modeling
drwxrwxrwx 1 xxxx users 4096 Mar 24 2020 programming
drwxrwxrwx 1 xxxx users 12288 Oct 10 21:14 unsorted
drwxrwxrwx 1 xxxx users 0 Oct 20 10:08 vids
~의rm -rf backgrounds
rm: cannot remove 'hd/backgrounds': Input/output error
~의sudo ntfsfix --clear-dirty --clear-bad-sectors /dev/sdb3
Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
Going to un-mark the bad clusters ($BadClus)... No bad clusters...OK
NTFS partition /dev/sdb3 was processed successfully.
과거 ntfsfix를 수정하는 방법에 대한 정보를 찾을 수 없어서 막혔습니다. 이 문제를 해결하는 방법을 아는 사람이 있나요?
편집: SMART 테스트의 출력
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x80) Offline data collection activity
was never started.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 7216) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 121) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 100 100 016 Pre-fail Always - 0
2 Throughput_Performance 0x0005 142 142 054 Pre-fail Offline - 68
3 Spin_Up_Time 0x0007 127 127 024 Pre-fail Always - 181 (Average 180)
4 Start_Stop_Count 0x0012 099 099 000 Old_age Always - 5644
5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 110 110 020 Pre-fail Offline - 36
9 Power_On_Hours 0x0012 099 099 000 Old_age Always - 13103
10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 5317
192 Power-Off_Retract_Count 0x0032 096 096 000 Old_age Always - 5651
193 Load_Cycle_Count 0x0012 096 096 000 Old_age Always - 5651
194 Temperature_Celsius 0x0002 200 200 000 Old_age Always - 30 (Min/Max 13/42)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0022 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0008 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x000a 200 200 000 Old_age Always - 0
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed without error 00% 1376 -
# 2 Short offline Completed without error 00% 0 -
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
답변1
ntfsfix
매우 기본적인 유틸리티이므로 항상 NTFS 오류를 수정하지는 않습니다.
두 가지 옵션이 있습니다:
- 백업에서 재포맷 및 복원
chkdsk.exe
Windows에서 유틸리티를 사용하십시오 . Windows 라이선스가 없는 경우 Microsoft에서 다운로드하여 사용할 수 있습니다.윈도우 10 엔터프라이즈180일 베어메탈 또는 가상 머신에 설치할 수 있습니다.