LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-18-2019, 08:24 PM   #1
eco_bach
Member
 
Registered: Dec 2016
Posts: 229

Rep: Reputation: Disabled
Best utility to check external drives for permission errors, corrupt files and folders, etc


As I use external pocket drives for all my archiving I am aware that on occasion there might be corrupt folders and or permission errors.
What is the best utility to check and correct external drives?
I'm on Ubuntu 18.04.
I need something more than the default gnome-disk-utility.

Last edited by eco_bach; 11-18-2019 at 08:29 PM.
 
Old 11-18-2019, 09:20 PM   #2
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,216

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Quote:
Originally Posted by eco_bach View Post
As I use external pocket drives for all my archiving I am aware that on occasion there might be corrupt folders and or permission errors.
What is the best utility to check and correct external drives?
I'm on Ubuntu 18.04.
I need something more than the default gnome-disk-utility.
Although it doesn't help with permission errors, I have successfully used ddrescue for data recovery.

Essentially you create an ISO image of the physical drive as soon as you suspect serious corruption or imminent hardware failure. Then operate on the ISO image to recover the data.

If this isn't what you meant, please elaborate.

Cheers.
 
Old 11-19-2019, 12:17 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,281

Rep: Reputation: 2988Reputation: 2988Reputation: 2988Reputation: 2988Reputation: 2988Reputation: 2988Reputation: 2988Reputation: 2988Reputation: 2988Reputation: 2988Reputation: 2988
Congratulations on thinking about the health of your backups - too few do. Some observations:
- permissions on (data) backups is the least of your worries
- files cannot be verified unless you are using something that has CRC "baked in" - for filesystems that basically that means ZFS or btrfs. And you need to do regular scrubs.
- maintain multiple backups. Too many people rely on a single (maybe de-dup'd) backup; accident waiting to happen.
 
  


Reply

Tags
ubuntu 18.04


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a utility to check health of USB flash drives tecjykidd Linux - Newbie 3 09-04-2018 10:08 PM
Shell Script to compare folders,Sub-Folders and Sub-Sub-Folders unix_72427 Programming 8 08-08-2012 03:51 PM
Command to copy files/folders but skip bad/corrupt files?? leemoreau Linux - Newbie 2 04-02-2007 03:27 PM
Errors, Errors, and more Errors (KDE 3.4.x GUI Errors) Dralnu Linux - Software 2 05-13-2006 09:30 AM
script or utility to copy files and folders m2azer Linux - General 1 12-22-2005 11:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration