Remontage de fs en ro sur SSD

Bonjour à tous,

J’ai une machine avec un petit SSD, un SanDisk SDSSDRC032G.
Je rencontre actuellement des soucis de remontage en ro du fs, et ce sporadiquement. Que je sois avec un kernel 3.2 ou 3.16 n’a pas l’air de changer grand-chose au problème. Aussi, un smartclt -a dessus ne donne rien d’affolant.

Je ne sais pas du tout par où commencer dans mes recherches, donc je veux bien quelques pistes s’il vous plaît :slightly_smiling: (voire la solution mais bon, ça m’a l’air un peu spécial quand même).
J’ai quand même essayé avec des trucs du genre « SSD SanDisk SDSSDRC032G remount ro » dans un moteur de recherche, sans rien trouver de bien probant.

Voici que nous pouvons trouver dans les logs :

Nov 21 06:26:17 drscott kernel: [311310.056135] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen Nov 21 06:26:17 drscott kernel: [311310.056158] ata2.00: failed command: WRITE DMA Nov 21 06:26:17 drscott kernel: [311310.056172] ata2.00: cmd ca/00:08:b0:77:44/00:00:00:00:00/e0 tag 0 dma 4096 out Nov 21 06:26:17 drscott kernel: [311310.056172] res 40/00:01:00:00:00/00:00:00:00:00/40 Emask 0x4 (timeout) Nov 21 06:26:17 drscott kernel: [311310.056192] ata2.00: status: { DRDY } Nov 21 06:26:22 drscott kernel: [311315.096022] ata2: link is slow to respond, please be patient (ready=0) Nov 21 06:26:27 drscott kernel: [311320.080023] ata2: soft resetting link Nov 21 06:26:32 drscott kernel: [311325.276018] ata2: link is slow to respond, please be patient (ready=0) Nov 21 06:26:37 drscott kernel: [311330.092021] ata2: SRST failed (errno=-16) Nov 21 06:26:37 drscott kernel: [311330.092035] ata2: soft resetting link Nov 21 06:26:42 drscott kernel: [311335.288018] ata2: link is slow to respond, please be patient (ready=0) Nov 21 06:26:47 drscott kernel: [311340.104016] ata2: SRST failed (errno=-16) Nov 21 06:26:47 drscott kernel: [311340.104029] ata2: soft resetting link Nov 21 06:26:52 drscott kernel: [311345.300020] ata2: link is slow to respond, please be patient (ready=0) Nov 21 06:27:22 drscott kernel: [311375.148023] ata2: SRST failed (errno=-16) Nov 21 06:27:22 drscott kernel: [311375.148041] ata2: soft resetting link Nov 21 06:27:27 drscott kernel: [311380.176019] ata2: SRST failed (errno=-16) Nov 21 06:27:27 drscott kernel: [311380.186851] ata2: reset failed, giving up Nov 21 06:27:27 drscott kernel: [311380.186861] ata2.00: disabled Nov 21 06:27:27 drscott kernel: [311380.186879] ata2.00: device reported invalid CHS sector 0 Nov 21 06:27:27 drscott kernel: [311380.186909] ata2: EH complete

Et voici la sortie de [mono]smartctl -a /dev/sda[/mono] :

[code]smartctl 5.41 2011-06-09 r3365 [i686-linux-3.16-0.bpo.3-686-pae] (local build)
Copyright © 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Device Model: SanDisk SDSSDRC032G
Serial Number: 140748405372
LU WWN Device Id: 5 001b44 bd0d7367c
Firmware Version: 3.0.0
User Capacity: 32 017 047 552 bytes [32,0 GB]
Sector Size: 512 bytes logical/physical
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 8
ATA Standard is: ACS-2 revision 3
Local Time is: Sun Nov 23 23:45:19 2014 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: (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: ( 120) seconds.
Offline data collection
capabilities: (0x51) SMART execute Offline immediate.
No Auto Offline data collection support.
Suspend Offline collection upon new
command.
No 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: ( 7) minutes.

SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
5 Reallocated_Sector_Ct 0x0002 100 100 000 Old_age Always - 0
9 Power_On_Hours 0x0002 100 100 000 Old_age Always - 1432
12 Power_Cycle_Count 0x0002 100 100 000 Old_age Always - 18
171 Unknown_Attribute 0x0002 100 100 000 Old_age Always - 0
172 Unknown_Attribute 0x0002 100 100 000 Old_age Always - 0
173 Unknown_Attribute 0x0002 100 100 000 Old_age Always - 0
174 Unknown_Attribute 0x0002 100 100 000 Old_age Always - 11
187 Reported_Uncorrect 0x0002 100 100 000 Old_age Always - 0
230 Head_Amplitude 0x0002 100 100 000 Old_age Always - 0
232 Available_Reservd_Space 0x0003 100 100 005 Pre-fail Always - 0
234 Unknown_Attribute 0x0002 100 100 000 Old_age Always - 0
241 Total_LBAs_Written 0x0002 100 100 000 Old_age Always - 15883568
242 Total_LBAs_Read 0x0002 100 100 000 Old_age Always - 4910271

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]

Note: selective self-test log revision number (65535) not 1 implies that no selective self-test has ever been run
SMART Selective self-test log data structure revision number 65535
Note: revision number not 1 implies that no selective self-test has ever been run
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 18446744073709551615 18446744073709551615 Not_testing
2 18446744073709551615 18446744073709551615 Not_testing
3 18446744073709551615 18446744073709551615 Not_testing
4 18446744073709551615 18446744073709551615 Not_testing
5 18446744073709551615 18446744073709551615 Not_testing
65535 18446744073709551615 65534 Read_scanning was never started
Selective self-test flags (0xffff):
Currently read-scanning the remainder of the disk.
If Selective self-test is pending on power-up, resume after 65535 minute delay.[/code]