#26 Le 22/03/2021, à 11:32
- AdrienC
Re : copie du /home avec messages d'erreur [Résolu]
Bonjour,
fait mais soit il a fini très vite, soit il y a un souci mais ce coup-ci
for ((i=0;;i++)); do sudo smartctl -a /dev/sdb | grep left ;sleep 30;done;
ne montre pas d'évolution
sudo smartctl -q errorsonly -H -l selftest /dev/sdb
ne rend rien
Hors ligne
#27 Le 22/03/2021, à 12:23
- geole
Re : copie du /home avec messages d'erreur [Résolu]
Du coup, donne ce retour
sudo smartctl -a /dev/sdb
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#28 Le 22/03/2021, à 12:31
- AdrienC
Re : copie du /home avec messages d'erreur [Résolu]
sudo smartctl -a /dev/sdb
[sudo] Mot de passe de adrien :
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.8.0-45-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital Caviar Blue (SATA)
Device Model: WDC WD5000AAKS-65YGA0
Serial Number: WD-WCAS82727777
LU WWN Device Id: 5 0014ee 200c4f64c
Firmware Version: 12.01C02
User Capacity: 500107862016 bytes [500 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS (minor revision not indicated)
SATA Version is: SATA 2.5, 3.0 Gb/s
Local Time is: Mon Mar 22 12:30:34 2021 CET
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: (0x84) Offline data collection activity
was suspended by an interrupting command from host.
Auto Offline Data Collection: Enabled.
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: (13200) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
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: ( 154) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
SCT capabilities: (0x303f) 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 0x000f 200 200 051 Pre-fail Always - 0
3 Spin_Up_Time 0x0003 183 175 021 Pre-fail Always - 5808
4 Start_Stop_Count 0x0032 095 095 000 Old_age Always - 5610
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x000e 200 200 051 Old_age Always - 0
9 Power_On_Hours 0x0032 057 057 000 Old_age Always - 31961
10 Spin_Retry_Count 0x0012 100 100 051 Old_age Always - 0
11 Calibration_Retry_Count 0x0012 100 100 051 Old_age Always - 0
12 Power_Cycle_Count 0x0032 095 095 000 Old_age Always - 5568
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 206
193 Load_Cycle_Count 0x0032 199 199 000 Old_age Always - 5622
194 Temperature_Celsius 0x0022 120 106 000 Old_age Always - 30
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
197 Current_Pending_Sector 0x0012 200 200 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 200 200 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0008 200 200 051 Old_age Offline - 0
SMART Error Log Version: 1
ATA Error Count: 702 (device log contains only the most recent five errors)
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.
Error 702 occurred at disk power-on lifetime: 31939 hours (1330 days + 19 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 00 29 8f 26 40 Error: UNC at LBA = 0x00268f29 = 2527017
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 08 88 28 8f 26 31 08 04:20:32.484 READ FPDMA QUEUED
ef 10 02 00 00 00 00 08 04:20:32.484 SET FEATURES [Enable SATA feature]
ec 00 00 00 00 00 00 08 04:20:32.482 IDENTIFY DEVICE
ef 03 46 00 00 00 00 08 04:20:32.482 SET FEATURES [Set transfer mode]
ef 10 02 00 00 00 00 08 04:20:32.482 SET FEATURES [Enable SATA feature]
Error 701 occurred at disk power-on lifetime: 31939 hours (1330 days + 19 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 00 29 8f 26 40 Error: UNC at LBA = 0x00268f29 = 2527017
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 08 38 28 8f 26 31 08 04:20:29.206 READ FPDMA QUEUED
ef 10 02 00 00 00 00 08 04:20:29.206 SET FEATURES [Enable SATA feature]
ec 00 00 00 00 00 00 08 04:20:29.205 IDENTIFY DEVICE
ef 03 46 00 00 00 00 08 04:20:29.205 SET FEATURES [Set transfer mode]
ef 10 02 00 00 00 00 08 04:20:29.205 SET FEATURES [Enable SATA feature]
Error 700 occurred at disk power-on lifetime: 31939 hours (1330 days + 19 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 00 29 8f 26 40 Error: UNC at LBA = 0x00268f29 = 2527017
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 08 80 28 8f 26 31 08 04:20:25.791 READ FPDMA QUEUED
60 00 78 f0 40 22 31 08 04:20:04.944 READ FPDMA QUEUED
60 68 70 88 40 22 31 08 04:20:04.942 READ FPDMA QUEUED
60 30 68 f0 3f 22 31 08 04:20:04.942 READ FPDMA QUEUED
60 80 60 70 3f 22 31 08 04:20:04.940 READ FPDMA QUEUED
Error 699 occurred at disk power-on lifetime: 31938 hours (1330 days + 18 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 00 29 8f 26 40 Error: UNC at LBA = 0x00268f29 = 2527017
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 08 d8 28 8f 26 31 08 03:50:03.085 READ FPDMA QUEUED
60 08 d0 20 8f 26 31 08 03:50:03.085 READ FPDMA QUEUED
60 08 c8 18 8f 26 31 08 03:50:03.084 READ FPDMA QUEUED
60 08 c0 10 8f 26 31 08 03:50:03.084 READ FPDMA QUEUED
60 08 b8 08 8f 26 31 08 03:50:03.084 READ FPDMA QUEUED
Error 698 occurred at disk power-on lifetime: 31938 hours (1330 days + 18 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 00 29 8f 26 40 Error: UNC at LBA = 0x00268f29 = 2527017
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 00 c8 00 8e 26 31 08 03:49:59.960 READ FPDMA QUEUED
60 00 b8 00 8c 26 31 08 03:49:59.955 READ FPDMA QUEUED
60 00 b0 00 8a 26 31 08 03:49:59.949 READ FPDMA QUEUED
60 00 a8 00 88 26 31 08 03:49:59.945 READ FPDMA QUEUED
60 00 a0 00 86 26 31 08 03:49:59.939 READ FPDMA QUEUED
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% 31959 -
# 2 Selective offline Completed without error 00% 31953 -
# 3 Short offline Completed without error 00% 22819 -
# 4 Short offline Completed without error 00% 22661 -
# 5 Short offline Completed without error 00% 21545 -
# 6 Short offline Completed without error 00% 21136 -
# 7 Short offline Aborted by host 10% 21033 -
# 8 Short offline Completed without error 00% 20860 -
# 9 Short offline Completed without error 00% 20611 -
#10 Short offline Completed without error 00% 19868 -
#11 Short offline Completed without error 00% 19620 -
#12 Short offline Completed without error 00% 19074 -
#13 Short offline Completed without error 00% 18815 -
#14 Short offline Completed without error 00% 18223 -
#15 Short offline Completed without error 00% 16302 -
#16 Short offline Completed without error 00% 15970 -
#17 Short offline Completed without error 00% 15331 -
#18 Short offline Completed without error 00% 14182 -
#19 Short offline Completed without error 00% 13785 -
#20 Short offline Completed without error 00% 11373 -
#21 Short offline Completed without error 00% 10845 -
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
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.
Hors ligne
#29 Le 22/03/2021, à 13:03
- geole
Re : copie du /home avec messages d'erreur [Résolu]
Il y a quelque chose que je ne comprends pas, mais ce n'est pas grave.
Je pensais avoir donné une commande qui ne testait que la moitié du disque. il est possible que les unités soient devenues 1024 au lieu de 512
On constate qu'aucun secteur n'est actuellement illisible et qu'il n'y a aucun test en attente.
197 Current_Pending_Sector 0x0012 200 200 000 Old_age Always - 0
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Le disque entier a bien été testé, sinon, il y aurait du reste à faire comme dans cet exemple
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 100000 149999 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#30 Le 22/03/2021, à 13:44
- AdrienC
Re : copie du /home avec messages d'erreur [Résolu]
Ok merci, du coup tu penses que je peux continuer à utiliser ce vénérable dd ? Je peux envisager de mettre mon home dessus et donc d'avoir plus de place sur mon SSD pour les logiciels ? J'ai de toute façon une synchro de mes documents persos avec mon NAS qui a deux DD en raid 1.
Hors ligne
#31 Le 22/03/2021, à 13:58
- geole
Re : copie du /home avec messages d'erreur [Résolu]
Si tu sécurises bien tes données ailleurs, au lieu de mettre le répertoire home dans ce disque, tu peux y mettre seulement tes données personnelles. C'est assez facile.
Une bonne idée: Mettre l'étiquette data à la partition peut permettre de faire une ligne de commande mettant à jour le fichier /etc/fstab
Le principe, => http://mezigoo.free.fr/ps/index.html
On monte le disque au démarrage -gnome disk utility qui met à jour /etc/fstab
On transfert les données.
On fait des liens
Si tu as besoin de plus de détails....
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#32 Le 22/03/2021, à 14:05
- AdrienC
Re : copie du /home avec messages d'erreur [Résolu]
Merci, je vais voir ce que je vais faire. En tous cas merci beaucoup pour le suivi.
Hors ligne