Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
659 views
in Technique[技术] by (71.8m points)

linux - 如何删除lsattr上给出lsattr的文件:读取标志时没有这样的文件或目录?(How to delete a file that on lsattr gives lsattr: No such file or directory While reading flags?)

I am trying to fix NTFS external WD HDD that hangs all windows related stuff when trying to read it.

(我正在尝试修复NTFS外部WD HDD,它在尝试阅读时会挂起所有与Windows相关的东西。)

Works perfectly fine on linux.

(在linux上工作正常。)

I thought of clearing $UsnJrnl as a possible solution since ntfsfix didn't find or fix any issues.

(我想清除$ UsnJrnl是一种可能的解决方案,因为ntfsfix找不到或修复任何问题。)

But when trying delete $Extend/$UsnJrnl with #rm \$UsnJrnl I get the error:

(但是当尝试使用#rm \$UsnJrnl删除$ Extend / $ UsnJrnl时,出现错误:)

rm: cannot remove '$UsnJrnl': Operation not permitted

When trying lsattr $UsnJrnl , I get the error:

(尝试lsattr $UsnJrnl ,出现错误:)

lsattr: No such file or directory While reading flags on $UsnJrnl

I couldn't find this error message anywhere on the web.

(我在网络上的任何地方都找不到此错误消息。)

Similar like permission denied exists but nothing same as this.

(存在类似的权限被拒绝,但与此不同。)

Extra Screenshot:

(额外的截图:) 在此处输入图片说明 Commands in text is also posted earlier.

(文本中的命令也在较早之前发布。)

Extra info: As for what I mean by hanging on Windows is that opening explorer.exe shows drive letter I: and that green loading bar that top runs forever(atleast 3 hours tested no gain).

(额外信息:至于我挂在Windows上的意思是,打开explorer.exe会显示驱动器号I:顶部永远运行的绿色加载栏(至少3个小时未测试)。)

Trying to click that drive freezes explorer.

(尝试单击该驱动器会冻结资源管理器。)

Disk Management also hangs.

(磁盘管理也挂起。)

Accessing via cmd doesn't work.

(通过cmd访问不起作用。)

chkdsk or cd I: just gives no output.

(chkdsk或cd I:仅不输出。)

Have to press Ctrl+C to stop it.

(必须按Ctrl + C停止它。)

Other file manager like Everything.exe freezes.

(其他文件管理器(如Everything.exe)将冻结。)

Restarting explorer doesn't even start it until I remove HDD(seems very odd and unusual).

(重新启动资源管理器甚至都不会启动它,直到我卸下HDD(似乎非常奇怪和不寻常)。)

Everything jumps back to normal if I just pull out the HDD.

(如果我只是拔出HDD,一切都会恢复正常。)

Please tell me if I need to get this moved before downvoting.

(请告诉我是否需要在降低投票数之前解决此问题。)

My question is how to remove file that gives the above errors.

(我的问题是如何删除出现上述错误的文件。)

  ask by Anutrix translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

57.0k users

...