


Code: Select all
$ df -hT
Filesystem Type Size Used Avail Use% Mounted on
tmpfs tmpfs 63G 52K 63G 1% /tmpCode: Select all
smartctl -x /dev/sd...Code: Select all
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
# /dev/BOOT /boot ext2 noauto,noatime 1 2
/dev/sda8 / ext4 noatime,nodiratime 0 1
# /dev/sda9 /mnt/main-gentoo ext3 noauto,users,noatime,nodiratime 0 0
# /dev/sda4 /mnt/mageia ext4 users,noauto,noatime,nodiratime 0 0
/dev/sda2 none swap sw 0 0
/dev/sda5 /mnt/mint ext4 noauto,users,noatime,nodiratime 0 0
/dev/sda6 /mnt/Kaos ext4 users,noauto,noatime,nodiratime 0 0
/dev/sda7 /mnt/kubuntu ext4 defaults 0 0
/dev/sda11 /mnt/sda11 ext4 noauto,users,noatime 0 0
/dev/sda12 /mnt/ubuntu-sda12 ext4 noauto,users,noatime,nodiratime 0 0
/dev/sda10 /mnt/sda10 ntfs-3g noauto,users,noatime 0 0
/dev/cdrom /mnt/cdrom auto noauto,users 0 0
/dev/fd0 /mnt/floppy auto noauto 0 0
/dev/sdb2 /mnt/sdb2 ntfs-3g defaults 0 0
/dev/sdb3 /mnt/sdb3data ntfs-3g defaults 0 0
/dev/sdb4 /mnt/sdb4 ntfs-3g defaults 0 0
/dev/sda1 /mnt/sda1 ext4 noauto,users,noatime,nodiratime 0 0
proc /proc proc defaults 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
Code: Select all
ok ]
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/hostname stop
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/net.eth0 stop
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/net.lo stop
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/dbus stop
* Stopping dbus ...
* Will stop /usr/bin/dbus-daemon
* Will stop PID 2081
* Will stop processes of `/usr/bin/dbus-daemon'
* Sending signal 15 to PID 2081 ...
[ ok ]
[ ok ]
[ ok ]
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/cgroups stop
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/bootmisc stop
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/sysctl stop
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/localmount stop
* Unmounting loop devices
* Unmounting filesystems
* Unmounting /mnt/kubuntu ...
[ ok ]
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/swap stop
* Deactivating swap devices ...
[ ok ]
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/mtab stop
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/root stop
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/fsck stop
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/udev-trigger stop
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/systemd-tmpfiles-setup-dev stop
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/kmod-static-nodes stop
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/udev stop
* Stopping udev ...
[ ok ]
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/sysfs stop
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/binfmt stop
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/procfs stop
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/hwclock stop
* Setting hardware clock using the system clock [Local Time] ...
[ ok ]
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/devfs stop
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/modules stop
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/dmesg stop
rc shutdown logging stopped at Sun Dec 31 01:54:31 2023Code: Select all
df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/root ext4 77G 49G 24G 68% /
devtmpfs devtmpfs 10M 0 10M 0% /dev
tmpfs tmpfs 3.2G 1.4M 3.2G 1% /run
shm tmpfs 7.8G 0 7.8G 0% /dev/shm
/dev/sda7 ext4 40G 30G 7.9G 79% /mnt/kubuntu
tmpfs tmpfs 1.6G 16K 1.6G 1% /run/user/1000
Code: Select all
[ 0.000000] Command line: BOOT_IMAGE=/boot/kernel-6.6.8-gentoo root=PARTUUID=ee6eee6e-08 roCode: Select all
[ 0.000000] smpboot: 32 Processors exceeds NR_CPUS limit of 16
[ 0.000000] smpboot: Allowing 16 CPUs, 4 hotplug CPUs
...
[ 0.122409] smp: Bringing up secondary CPUs ...
[ 0.122559] smpboot: x86: Booting SMP configuration:
[ 0.122640] .... node #0, CPUs: #1 #2 #3 #4 #5 #6 #7 #8 #9 #10 #11
[ 0.130174] Spectre V2 : Update user space SMT mitigation: STIBP always-on
[ 0.136128] smp: Brought up 1 node, 12 CPUsCode: Select all
U ld (Gentoo 2.41 p4) 2.41.0) #1 SMP PREEMPT_DYNAMIC Thu Dec 21 13:58:07 EST 2023Code: Select all
Process Process-21:
[ERROR] Exception in callback PipeLogger._io_loop_done(<Task finishe...utput error')>)
handle: <Handle PipeLogger._io_loop_done(<Task finishe...utput error')>)>
Traceback (most recent call last):
File "/usr/lib/python3.11/asyncio/events.py", line 80, in _run
File "/usr/lib/python3.11/site-packages/portage/util/_async/PipeLogger.py", line 162, in _io_loop_done
File "/usr/lib/python3.11/site-packages/portage/util/_async/PipeLogger.py", line 158, in _io_loop
OSError: [Errno 5] Input/output error
Terminated
amd64 ~ #
amd64 ~ #
amd64 ~ #
amd64 ~ # edep
-bash: /usr/bin/emerge: Input/output error
amd64 ~ # reboot
-bash: /sbin/reboot: Input/output error
TBH this sounds like a lot of problems. To be able to help effectively, we would need a lot of information about this machine. I don't know if it's worth the effort or if a new installation would be more sensible.wrc1944 wrote:[...] The 500GB drive might be suspect, but all this started when I tried to create the gentoo liveGUI boot usb drive, which it did on sdc, but somehow replaced the win10 loader and corrupted the "C." partitionwhich is now called "GENTOO" Foolish mistake, in that I'vebuilt all my computers and Operating systems for 25 years. Give a list of what gentoo files/logs, whever, you need to look at, as I can get into gentoo root from my linux mint partition and copy data. My sister has 30+ years as windows/DOS expert, and there was another dormant windows backup drive in the mix with linux and ntfs partitions also that may have something to do with this, as she was copying hers and mine old backups off onto a new usb backup drive, using linux mint for acess.Code: Select all
amd64 ~ # edep -bash: /usr/bin/emerge: Input/output error amd64 ~ # reboot -bash: /sbin/reboot: Input/output error
Code: Select all
# mount /dev/sdXY /mnt/gentoo
# cd /mnt/gentoo
# mount -t proc /proc /mnt/gentoo/proc
# mount --rbind /sys /mnt/gentoo/sys
# mount --rbind /dev /mnt/gentoo/dev
# mount --bind /run /mnt/gentoo/run
# cp -L /etc/resolv.conf /mnt/gentoo/etc/
# chroot /mnt/gentoo /bin/bash
# . /etc/profile
# mount /dev/sdXZ /bootYou are very Welcome !wrc1944 wrote:Thanks much for your helpful comments, much appreciated !

Code: Select all
sudo smartctl -t short /dev/sda
Please wait 2 minutes for test to complete.
Test will complete after Thu Sep 24 14:39:05 2020
----------------------------------------------------------------------------------------------------------------------------
wrc@wrc-desktop:~$ sudo smartctl -t short /dev/sda
[sudo] password for wrc:
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.5.0-14-generic] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Short self-test routine immediately in off-line mode".
Drive command "Execute SMART Short self-test routine immediately in off-line mode" successful.
Testing has begun.
Please wait 2 minutes for test to complete.
Test will complete after Sun Jan 7 05:39:16 2024 EST
Use smartctl -X to abort test.
wrc@wrc-desktop:~$ sudo smartctl -a /dev/sda
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.5.0-14-generic] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: SAMSUNG SpinPoint F3
Device Model: SAMSUNG HD502HJ
Serial Number: S20BJB0B109639
LU WWN Device Id: 5 0024e9 204676363
Firmware Version: 1AJ10001
User Capacity: 500,107,862,016 bytes [500 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: In smartctl database 7.3/5319
ATA Version is: ATA8-ACS T13/1699-D revision 6
SATA Version is: SATA 2.6, 3.0 Gb/s
Local Time is: Sun Jan 7 05:39:36 2024 EST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 121) The previous self-test completed having
the read element of the test failed.
Total time to complete Offline
data collection: ( 4800) 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: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 80) minutes.
SCT capabilities: (0x003f) 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 0x002f 100 100 051 Pre-fail Always - 5214
2 Throughput_Performance 0x0026 252 252 000 Old_age Always - 0
3 Spin_Up_Time 0x0023 083 082 025 Pre-fail Always - 5427
4 Start_Stop_Count 0x0032 090 090 000 Old_age Always - 10261
5 Reallocated_Sector_Ct 0x0033 252 252 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 252 252 051 Old_age Always - 0
8 Seek_Time_Performance 0x0024 252 252 015 Old_age Offline - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 28612
10 Spin_Retry_Count 0x0032 252 252 051 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 252 252 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 096 096 000 Old_age Always - 4484
191 G-Sense_Error_Rate 0x0022 100 100 000 Old_age Always - 2
192 Power-Off_Retract_Count 0x0022 252 252 000 Old_age Always - 0
194 Temperature_Celsius 0x0002 064 051 000 Old_age Always - 26 (Min/Max 14/49)
195 Hardware_ECC_Recovered 0x003a 100 100 000 Old_age Always - 0
196 Reallocated_Event_Count 0x0032 252 252 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 2
198 Offline_Uncorrectable 0x0030 252 252 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0036 100 100 000 Old_age Always - 41
200 Multi_Zone_Error_Rate 0x002a 100 100 000 Old_age Always - 3
223 Load_Retry_Count 0x0032 252 252 000 Old_age Always - 0
225 Load_Cycle_Count 0x0032 099 099 000 Old_age Always - 10713
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: read failure 90% 28612 386224487
SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Completed_read_failure [90% left] (0-65535)
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.
------------------------------------------------------------------------------------------------
$ sudo smartctl -t conveyance /dev/sda
Code: Select all
wrc@wrc-desktop:~$
wrc@wrc-desktop:~$ sudo smartctl -t conveyance /dev/sda
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.5.0-14-generic] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Conveyance Self-test functions not supported
Sending command: "Execute SMART Conveyance self-test routine immediately in off-line mode".
Drive command "Execute SMART Conveyance self-test routine immediately in off-line mode" successful.
Testing has begun.
wrc@wrc-desktop:~$
wrc@wrc-desktop:~$
wrc@wrc-desktop:~$
wrc@wrc-desktop:~$
wrc@wrc-desktop:~$ sudo smartctl -a /dev/sda
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.5.0-14-generic] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: SAMSUNG SpinPoint F3
Device Model: SAMSUNG HD502HJ
Serial Number: S20BJB0B109639
LU WWN Device Id: 5 0024e9 204676363
Firmware Version: 1AJ10001
User Capacity: 500,107,862,016 bytes [500 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: In smartctl database 7.3/5319
ATA Version is: ATA8-ACS T13/1699-D revision 6
SATA Version is: SATA 2.6, 3.0 Gb/s
Local Time is: Sun Jan 7 05:57:04 2024 EST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 121) The previous self-test completed having
the read element of the test failed.
Total time to complete Offline
data collection: ( 4800) 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: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 80) minutes.
SCT capabilities: (0x003f) 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 0x002f 100 100 051 Pre-fail Always - 5214
2 Throughput_Performance 0x0026 252 252 000 Old_age Always - 0
3 Spin_Up_Time 0x0023 083 082 025 Pre-fail Always - 5427
4 Start_Stop_Count 0x0032 090 090 000 Old_age Always - 10261
5 Reallocated_Sector_Ct 0x0033 252 252 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 252 252 051 Old_age Always - 0
8 Seek_Time_Performance 0x0024 252 252 015 Old_age Offline - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 28613
10 Spin_Retry_Count 0x0032 252 252 051 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 252 252 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 096 096 000 Old_age Always - 4484
191 G-Sense_Error_Rate 0x0022 100 100 000 Old_age Always - 2
192 Power-Off_Retract_Count 0x0022 252 252 000 Old_age Always - 0
194 Temperature_Celsius 0x0002 064 051 000 Old_age Always - 26 (Min/Max 14/49)
195 Hardware_ECC_Recovered 0x003a 100 100 000 Old_age Always - 0
196 Reallocated_Event_Count 0x0032 252 252 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 2
198 Offline_Uncorrectable 0x0030 252 252 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0036 100 100 000 Old_age Always - 41
200 Multi_Zone_Error_Rate 0x002a 100 100 000 Old_age Always - 3
223 Load_Retry_Count 0x0032 252 252 000 Old_age Always - 0
225 Load_Cycle_Count 0x0032 099 099 000 Old_age Always - 10713
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: read failure 90% 28612 386224487
SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Completed_read_failure [90% left] (0-65535)
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.
Code: Select all
$ sudo smartctl -t select,100-150 /dev/sda
smartctl 6.6 2017-11-05 r4594 [armv6l-linux-5.4.51+] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Selective self-test routine immediately in off-line mode".
SPAN STARTING_LBA ENDING_LBA
0 100 150
Drive command "Execute SMART Selective self-test routine immediately in off-line mode" successful.
Testing has begun.
Code: Select all
smartctl -t select,100-150 /dev/sda
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.5.0-14-generic] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Selective self-test routine immediately in off-line mode".
SPAN STARTING_LBA ENDING_LBA
0 100 150
Drive command "Execute SMART Selective self-test routine immediately in off-line mode" successful.
Testing has begun.
wrc@wrc-desktop:~$
wrc@wrc-desktop:~$
w
wrc@wrc-desktop:
wrc@wrc-desktop:~$ sudo smartctl -a /dev/sda
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.5.0-14-generic] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: SAMSUNG SpinPoint F3
Device Model: SAMSUNG HD502HJ
Serial Number: S20BJB0B109639
LU WWN Device Id: 5 0024e9 204676363
Firmware Version: 1AJ10001
User Capacity: 500,107,862,016 bytes [500 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: In smartctl database 7.3/5319
ATA Version is: ATA8-ACS T13/1699-D revision 6
SATA Version is: SATA 2.6, 3.0 Gb/s
Local Time is: Sun Jan 7 06:10:03 2024 EST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
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: ( 4800) 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: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 80) minutes.
SCT capabilities: (0x003f) 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 0x002f 100 100 051 Pre-fail Always - 5214
2 Throughput_Performance 0x0026 252 252 000 Old_age Always - 0
3 Spin_Up_Time 0x0023 083 082 025 Pre-fail Always - 5427
4 Start_Stop_Count 0x0032 090 090 000 Old_age Always - 10261
5 Reallocated_Sector_Ct 0x0033 252 252 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 252 252 051 Old_age Always - 0
8 Seek_Time_Performance 0x0024 252 252 015 Old_age Offline - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 28613
10 Spin_Retry_Count 0x0032 252 252 051 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 252 252 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 096 096 000 Old_age Always - 4484
191 G-Sense_Error_Rate 0x0022 100 100 000 Old_age Always - 2
192 Power-Off_Retract_Count 0x0022 252 252 000 Old_age Always - 0
194 Temperature_Celsius 0x0002 064 051 000 Old_age Always - 26 (Min/Max 14/49)
195 Hardware_ECC_Recovered 0x003a 100 100 000 Old_age Always - 0
196 Reallocated_Event_Count 0x0032 252 252 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 2
198 Offline_Uncorrectable 0x0030 252 252 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0036 100 100 000 Old_age Always - 41
200 Multi_Zone_Error_Rate 0x002a 100 100 000 Old_age Always - 3
223 Load_Retry_Count 0x0032 252 252 000 Old_age Always - 0
225 Load_Cycle_Count 0x0032 099 099 000 Old_age Always - 10713
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 Selective offline Completed without error 00% 28613 -
# 2 Short offline Completed: read failure 90% 28612 386224487
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 100 150 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Completed [00% left] (0-65535)
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.
wrc@wrc-desktop:~$Nope ... but if you want I can take a look to it (later).wrc1944 wrote:pietinger, do mean you need to see my kernel .config file?
Code: Select all
amd64 ~ # smartctl -t long /dev/sda
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.6.9-gentoo] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Extended self-test routine immediately in off-line mode".
Drive command "Execute SMART Extended self-test routine immediately in off-line mode" successful.
Testing has begun.
Please wait 80 minutes for test to complete.
Test will complete after Mon Jan 8 01:15:20 2024 EST
Use smartctl -X to abort test.
amd64 ~ #
amd64 ~ #
amd64 ~ #
amd64 ~ # smartctl -a /dev/sda
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.6.9-gentoo] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: SAMSUNG SpinPoint F3
Device Model: SAMSUNG HD502HJ
Serial Number: S20BJB0B109639
LU WWN Device Id: 5 0024e9 204676363
Firmware Version: 1AJ10001
User Capacity: 500,107,862,016 bytes [500 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: In smartctl database
ATA Version is: ATA8-ACS T13/1699-D revision 6
SATA Version is: SATA 2.6, 3.0 Gb/s
Local Time is: Mon Jan 8 01:17:57 2024 EST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 119) The previous self-test completed having
the read element of the test failed.
Total time to complete Offline
data collection: ( 4800) 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: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 80) minutes.
SCT capabilities: (0x003f) 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 0x002f 100 100 051 Pre-fail Always - 5223
2 Throughput_Performance 0x0026 252 252 000 Old_age Always - 0
3 Spin_Up_Time 0x0023 083 082 025 Pre-fail Always - 5427
4 Start_Stop_Count 0x0032 090 090 000 Old_age Always - 10261
5 Reallocated_Sector_Ct 0x0033 252 252 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 252 252 051 Old_age Always - 0
8 Seek_Time_Performance 0x0024 252 252 015 Old_age Offline - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 28632
10 Spin_Retry_Count 0x0032 252 252 051 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 252 252 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 096 096 000 Old_age Always - 4484
191 G-Sense_Error_Rate 0x0022 100 100 000 Old_age Always - 2
192 Power-Off_Retract_Count 0x0022 252 252 000 Old_age Always - 0
194 Temperature_Celsius 0x0002 064 051 000 Old_age Always - 24 (Min/Max 14/49)
195 Hardware_ECC_Recovered 0x003a 100 100 000 Old_age Always - 0
196 Reallocated_Event_Count 0x0032 252 252 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 2
198 Offline_Uncorrectable 0x0030 252 252 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0036 100 100 000 Old_age Always - 41
200 Multi_Zone_Error_Rate 0x002a 100 100 000 Old_age Always - 3
223 Load_Retry_Count 0x0032 252 252 000 Old_age Always - 0
225 Load_Cycle_Count 0x0032 099 099 000 Old_age Always - 10713
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 Extended offline Completed: read failure 70% 28631 386224487
# 2 Selective offline Completed without error 00% 28613 -
# 3 Short offline Completed: read failure 90% 28612 386224487
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 100 150 Completed_read_failure [70% left] (0-65535)
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.
The above only provides legacy SMART information - try 'smartctl -x' for more
amd64 ~ #

No, that level of detail is what I would expect. Long run tests make the drive do a more thorough investigation of itself, but do not produce detailed reports to you. Even so, it again had a failure, which healthy drives never should. A bad SATA cable cannot cause a SMART check to fail partway through, because a SMART check is run by the drive's onboard logic, without micromanagement from the host OS. I suppose a bad power cable might cause a strange failure, but I find it far more likely that the drive is just dying. Therefore, I reiterate my prior position: unless someone specifically explains why the shown failure is not a problem, I would plan to replace the drive as soon as possible, and I would not put any irreplaceable data on it in the interim.wrc1944 wrote:Hu, here's the long version. using the command from the gentoo wiki. I expected a lot more data for an 80 mimute run. Did I do something wrong?

If the drive were not already showing failures, I would see no problem with performing a filesystem level clone (not a block clone). Since it is reporting errors, I would worry a bit about whether (1) your copy would fail partway through due to hitting a failing sector and (2) whether the failures so far have corrupted anything in a way that you will cause yourself more problems later by copying the corrupted data to a new drive. I think (1) is far more likely than (2), so you could attempt it - but be prepared that it might not work, and if it fails, you might be forced to do a new install anyway. If you have a recent full backup that you could restore to the new drive instead of copying from the dying drive, I would feel much more confident about your chance of success.wrc1944 wrote:This a linux multi boot drive, and I was wondering if I could avoid a new gentoo install, and clone an image of the gentoo partition over to the new dive, or even the entire drive
with the ther distros partitions? I have installed gentoo and cloned stuff many times, but not in about 10 years (just turned 80)
In my opinion, all the errors reported at the start of the thread can be explained by a dying drive, yes.wrc1944 wrote:Are we thinking my problems are probably NOT the gentoo installation per se, but likely entirely hard drive related?
Drives can fail incrementally. It may be the case that the other distributions are wholly contained in areas that are still fully functional, and so would be fully usable. However, even if that is true now, if the drive continues to degrade, it may begin losing sectors that back those other distributions, rendering them degraded too. It also could lose even more sectors that contain Gentoo, causing further damage to the existing install.wrc1944 wrote:All the distros are in their partition, inside a large sda3 extended partition.
On the other hand, one more point to mention is that for years none of the other distros have ever had any problems like the ones gentoo has recently.
That would also be consistent with this drive failing. The Gentoo software is perfect (wrc1944 wrote:And, my other identical gentoo on another system runs perfectly