Linux Format

Answers

Q Scary errors

I’ve got an annoying problem where my external hard drive accidentally disconnected as I was copying files to it. The drive is in NTFS format so that my Windows machines can also read/write to it. My system is Manjaro Linux with kernel 4.19.

After reconnecting the drive, I wanted to delete those files and start from scratch. However, after running rm -rf on the directory in question, it threw several errors on some files in that directory. They look like this:

This is annoying. Is there a way to fix this without having to re-format the entire partition?

Callum Curtis

Input/output errors on files can be scary as they often point to a hardware problem, but they can also be a symptom of filesystem corruption. As this happened after a write operation was interrupted, filesystem corruption is the most likely cause. You will probably also find that running ls -l on the drive’s mount point produces lots of spurious characters or question marks in the output. If this were a Linux filesystem, I would recommend running on it. There is a Linux program to deal with some NTFS problems called , part of the package and which is almost certainly already installed on your system if you are using NTFS. This is not a full equivalent for NTFS – the best program for that is Windows’ . However, running will cause Windows to check the disk the next time it sees it. First run

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format1 min read
Ultimate Desktop Upgrade!
LXF316 will be on sale Tuesday 28th May 2024 Word processors that can help craft that novel you’ve always been talking about and organise large projects. Revive the old roleplaying system for a digital age as we recreate our own play-by-mail gaming
Linux Format4 min read
Linux
The #1 open source mag Future Publishing Limited, Quay House, The Ambury, Bath, BA1 1UA Email contact@linuxformat.com EDITORIAL Editor-in-chief Neil Mohr Art editor Fraser McDermott Production editor Katharine Davies Group editor-in-chief Graham Bar
Linux Format2 min read
Platform Support And Editions
Kali has a huge variety of install options, and these include images for ARM-based computers and pre-made virtual K machine images for most of the popular virtualisers. It’s even possible to install a version of Kali on to an Android-powered device.

Related Books & Audiobooks