Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-05-2020, 12:32 PM
|
#1
|
Member
Registered: Dec 2006
Distribution: Fedora
Posts: 118
Rep:
|
Currently unreadable (pending) sectors on hard disk
Hi,
I'm running Fedora Server 31.
Getting this error in the logs:
Code:
smartd
Device: /dev/sdb [SAT], 3 Currently unreadable (pending) sectors
Is there any way I can fix this error?
Thanks,
Aubrey
|
|
|
02-05-2020, 01:11 PM
|
#2
|
Senior Member
Registered: Mar 2010
Distribution: Slackware
Posts: 2,254
|
maybe? I have 144 at the moment; e2fsck passes it and doesn't fix them.
|
|
|
02-05-2020, 01:32 PM
|
#3
|
Member
Registered: Dec 2006
Distribution: Fedora
Posts: 118
Original Poster
Rep:
|
Thanks,
Just checked and found: "e2fsck is used to check the ext2/ext3/ext4 family of file systems."
And my system is formatted as btrfs
|
|
|
02-05-2020, 01:38 PM
|
#4
|
Moderator
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,029
|
btrfs scrub start [-BdqrRf] [-c ioprio_class -n ioprio_classdata] <path>|<device>
Start a new scrub. If a scrub is already running, the new one fails.
|
|
|
02-05-2020, 02:02 PM
|
#5
|
Member
Registered: Dec 2006
Distribution: Fedora
Posts: 118
Original Poster
Rep:
|
Thanks Timothy,
Code:
btrfs scrub start /dev/sdb
ERROR: '/dev/sdb' is not a mounted btrfs device
Which is a different problem. Let me explain:
During install I added both of my drives. And it seemed to install just fine. However, now its complaining that /dev/sda2 ( the first hard disk ) is already mounted at /
Both disks have this custom mount options:
|
|
|
02-05-2020, 02:15 PM
|
#6
|
Member
Registered: Dec 2006
Distribution: Fedora
Posts: 118
Original Poster
Rep:
|
|
|
|
02-05-2020, 03:33 PM
|
#7
|
Member
Registered: Dec 2006
Distribution: Fedora
Posts: 118
Original Poster
Rep:
|
OK so I managed to get scrub to run on both disks
1 ) /dev/sda2 ( My first disk )
Code:
btrfs scrub start /dev/sda2
scrub started on /dev/sda2, fsid 1c15a3f6-eded-48d2-bf3c-fc4b28ee30f0 (pid=1629)
cat /var/lib/btrfs/scrub.status.1c15a3f6-eded-48d2-bf3c-fc4b28ee30f0
scrub status:1
1c15a3f6-eded-48d2-bf3c-fc4b28ee30f0:1|data_extents_scrubbed:82284|tree_extents_scrubbed:7010|data_bytes_scrubbed:3981365248|tree_bytes_scrubbed:114851840|read_errors:0|csum_errors:0|verify_errors:0|no_csum:5705|csum_discards:0|super_errors:0|malloc_errors:0|uncorrectable_errors:0|corrected_errors:0|last_physical:6506414080|t_start:1580937104|t_resumed:0|duration:24|canceled:0|finished:1
2 ) /dev/sdb1 ( My second disk )
Code:
btrfs scrub start /dev/sdb1
scrub started on /dev/sdb1, fsid 1c15a3f6-eded-48d2-bf3c-fc4b28ee30f0 (pid=1674)
cat /var/lib/btrfs/scrub.status.1c15a3f6-eded-48d2-bf3c-fc4b28ee30f0
scrub status:1
1c15a3f6-eded-48d2-bf3c-fc4b28ee30f0:2|data_extents_scrubbed:82315|tree_extents_scrubbed:7009|data_bytes_scrubbed:3981570048|tree_bytes_scrubbed:114835456|read_errors:0|csum_errors:0|verify_errors:0|no_csum:5764|csum_discards:0|super_errors:0|malloc_errors:0|uncorrectable_errors:0|corrected_errors:0|last_physical:6518996992|t_start:1580937982|t_resumed:0|duration:30|canceled:0|finished:1
|
|
|
02-07-2020, 04:19 PM
|
#8
|
Senior Member
Registered: Mar 2010
Distribution: Slackware
Posts: 2,254
|
Quote:
Originally Posted by abourke
my system is formatted as btrfs
|
That's very different: never mind.
|
|
|
All times are GMT -5. The time now is 08:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|