Tutto ciò che altrimenti sarebbe OT

Messaggio5 ottobre 2011, 11:37 - Problemone, l'hard disk sta morendo #105805

Ciao a tutti,
Purtroppo sono costretto a chiedere di nuovo aiuto, stavolta il problema è grave.
Quando ho acceso il pc stamattina mi è apparsa subito la notifica di un hard disk danneggiato, vado subito a vedere nel gestore dischi e i dati smart dell'hdd da 500GB dicono che ci sono ben 114 settori rilocati (ora sono a 117).
La situazione forse non è tragica come potrebbe sembrare, infatti posseggo anche una SSD e le partizione sono così sistemate, /boot /root e /home sono su SSD mentre /var è su una partizione dell'hdd inguagliato, sull'hdd c'è anche una partizione dati, lo swap e la partizione /var di gentoo.
Di gentoo non me ne frega molto, anzi lo reinstallo che male non mi fa, ma vorrei sapere se posso in modi non troppo complicati e laboriosi salvare l'installazione di arch. Ho pensato a spostare /var momentaneamente su SSD o a fare un backup della partizione e rimetterla nel nuovo hdd, non so, ditemi voi, è la prima volta che mi capita.
Kipe
Novello Arciere
 
Messaggi: 122
Iscritto il: 10 febbraio 2011, 14:49
Top

Messaggio5 ottobre 2011, 12:49 - Problemone, l'hard disk sta morendo #105813

Penso che con uno spostamento di /var sul SSD dovresti avere Arch sano e salvo.
Poi un bel backup dei dati è d'obbligo.
PC: Amd FX-6100-Nvidia GT630-SSD- 64bit - kernel 3.8-ck - KDE 4.10
Mediacenter: Asus AT310NT-I - Atom N330 - Nvidia ION - i686 - kernel 3.7-ARCH - openbox - XBMC-Frodo
Netbook: Asus eeepc1001 - i686 - kernel-netbook 3.7 - lxde
Avatar utente
ambro
Robin Hood
 
Messaggi: 1868
Iscritto il: 27 agosto 2009, 21:37
Località: Verona
Top

Messaggio5 ottobre 2011, 16:34 - Problemone, l'hard disk sta morendo #105831

Ok, grazie della risposta, penso che sposterò /var sulla SSD (al posto di gentoo) per precauzione, poi però credo di reinstallare anche arch con il nuovo hdd, ne approfitto per mettere a posto qualcosina.
Chiedo prima di sbagliare, per copiare la partizione basta il comando cp -a?
Ad esempio:
Codice: Seleziona tutto
cp -av /var /media/nuovapartizione

Così andrebbe bene?
Kipe
Novello Arciere
 
Messaggi: 122
Iscritto il: 10 febbraio 2011, 14:49
Top

Messaggio5 ottobre 2011, 18:29 - Problemone, l'hard disk sta morendo #105856

Oltre a spostare /var ricordati anche di aggiornare fstab di conseguenza.
"It seems that perfection is reached not when there is nothing left to add, but when there is nothing left to take away".
Antoine de Saint Exupéry
http://www.keepsimple.it
Avatar utente
lgaggini
Arciere
 
Messaggi: 277
Iscritto il: 21 gennaio 2011, 0:46
Località: Pescia (PT)
Top

Messaggio5 ottobre 2011, 19:26 - Problemone, l'hard disk sta morendo #105862

Ho piallato il povero gentoo e ho copiato la partizione così:
Codice: Seleziona tutto
cp -av /var/* /media/newvar

Sembra andato tutto a buon fine.
lorenzog ha scritto:Oltre a spostare /var ricordati anche di aggiornare fstab di conseguenza.

Sisi! Grazie, ma ho in mente di lasciare così finchè l'hdd non muore, poi da live modifico fstab.
Però ora mi stanno venendo dei dubbi, non è che poi ci saranno delle incongruenze se monto /var di adesso fra qualche giorno? Ad esempio se installo o rimuovo qualcosa nel frattempo.
Kipe
Novello Arciere
 
Messaggi: 122
Iscritto il: 10 febbraio 2011, 14:49
Top

Messaggio6 ottobre 2011, 9:27 - Problemone, l'hard disk sta morendo #105890

Credo che l'hdd mi stia lasciando del tutto, avviando gnome shell ho ottenuto uno schermo nero, fortunatamente riprovando si è avviato normalmente, questo è quello che ho trovato nei log:
Codice: Seleziona tutto
Oct  6 09:16:13 localhost kernel: ata2: hard resetting link
Oct  6 09:16:13 localhost kernel: ata2: hard resetting link
Oct  6 09:16:13 localhost kernel: ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Oct  6 09:16:13 localhost kernel: ata2.00: configured for UDMA/133
Oct  6 09:16:13 localhost kernel: ata2.00: device reported invalid CHS sector 0
Oct  6 09:16:13 localhost kernel: ata2: EH complete
Oct  6 09:16:13 localhost gnome-session[745]: Gdk-WARNING: gnome-session: Fatal IO error 0 (Successo) on X server :0.
Oct  6 09:16:19 localhost dbus[548]: [system] Activating service name='org.freedesktop.UDisks' (using servicehelper)
Oct  6 09:16:19 localhost dbus[548]: [system] Successfully activated service 'org.freedesktop.UDisks'
Oct  6 09:16:20 localhost dbus[548]: [system] Activating service name='org.freedesktop.RealtimeKit1' (using servicehelper)
Oct  6 09:16:20 localhost dbus[548]: [system] Successfully activated service 'org.freedesktop.RealtimeKit1'
Oct  6 07:16:20 localhost rtkit-daemon[925]: Successfully made thread 923 of process 923 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
Oct  6 07:16:21 localhost rtkit-daemon[925]: Successfully made thread 956 of process 956 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
Oct  6 09:16:21 localhost dbus[548]: [system] Activating service name='org.freedesktop.UPower' (using servicehelper)
Oct  6 09:16:21 localhost dbus[548]: [system] Successfully activated service 'org.freedesktop.UPower'
Oct  6 09:16:21 localhost kernel: EXT4-fs (sda2): re-mounted. Opts: barrier=0,discard,commit=0
Oct  6 09:16:21 localhost kernel: EXT4-fs (sda3): re-mounted. Opts: discard,commit=0
Oct  6 09:16:21 localhost dbus[548]: [system] Activating service name='org.freedesktop.SystemToolsBackends' (using servicehelper)
Oct  6 09:16:21 localhost dbus[548]: [system] Successfully activated service 'org.freedesktop.SystemToolsBackends'
Oct  6 09:16:21 localhost dbus[548]: [system] Activating service name='org.freedesktop.SystemToolsBackends.SMBConfig' (using servicehelper)
Oct  6 09:16:21 localhost dbus[548]: [system] Activating service name='org.freedesktop.SystemToolsBackends.NFSConfig' (using servicehelper)
Oct  6 09:16:22 localhost dbus[548]: [system] Successfully activated service 'org.freedesktop.SystemToolsBackends.NFSConfig'
Oct  6 09:16:22 localhost dbus[548]: [system] Successfully activated service 'org.freedesktop.SystemToolsBackends.SMBConfig'
Oct  6 09:16:22 localhost dbus[548]: [system] Activating service name='org.freedesktop.SystemToolsBackends.Platform' (using servicehelper)
Oct  6 09:16:22 localhost dbus[548]: [system] Activating service name='org.blueman.Mechanism' (using servicehelper)
Oct  6 09:16:22 localhost dbus[548]: [system] Successfully activated service 'org.freedesktop.SystemToolsBackends.Platform'
Oct  6 09:16:22 localhost blueman-mechanism: Starting blueman-mechanism
Oct  6 09:16:22 localhost dbus[548]: [system] Successfully activated service 'org.blueman.Mechanism'
Oct  6 09:16:22 localhost blueman-mechanism: reload 0 0
Oct  6 09:16:22 localhost dbus[548]: [system] Activating service name='org.freedesktop.Accounts' (using servicehelper)
Oct  6 09:16:22 localhost dbus[548]: [system] Successfully activated service 'org.freedesktop.Accounts'
Oct  6 09:16:22 localhost accounts-daemon[1072]: started daemon version 0.6.12
Oct  6 09:16:52 localhost blueman-mechanism: Exiting
Oct  6 09:17:45 localhost kernel: chromium-sandbo (1248): /proc/1246/oom_adj is deprecated, please use /proc/1246/oom_score_adj instead.
Oct  6 09:21:14 localhost kernel: ata2.00: configured for UDMA/133
Oct  6 09:21:14 localhost kernel: ata2: EH complete
Oct  6 09:21:19 localhost kernel: ata2.00: configured for UDMA/133
Oct  6 09:21:19 localhost kernel: ata2: EH complete
Oct  6 09:21:22 localhost kernel: ata2.00: configured for UDMA/133
Oct  6 09:21:22 localhost kernel: ata2: EH complete
Oct  6 09:21:27 localhost kernel: ata2.00: configured for UDMA/133
Oct  6 09:21:27 localhost kernel: ata2: EH complete
Oct  6 09:21:30 localhost kernel: ata2.00: configured for UDMA/133
Oct  6 09:21:30 localhost kernel: ata2: EH complete
Oct  6 09:21:33 localhost kernel: ata2.00: configured for UDMA/133
Oct  6 09:21:33 localhost kernel: sd 1:0:0:0: [sdb] Unhandled sense code
Oct  6 09:21:33 localhost kernel: sd 1:0:0:0: [sdb]  Result: hostbyte=0x00 driverbyte=0x08
Oct  6 09:21:33 localhost kernel: sd 1:0:0:0: [sdb]  Sense Key : 0x3 [current] [descriptor]
Oct  6 09:21:33 localhost kernel: Descriptor sense data with sense descriptors (in hex):
Oct  6 09:21:33 localhost kernel: 72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
Oct  6 09:21:33 localhost kernel: 00 04 50 14
Oct  6 09:21:33 localhost kernel: sd 1:0:0:0: [sdb]  ASC=0x11 ASCQ=0x4
Oct  6 09:21:33 localhost kernel: sd 1:0:0:0: [sdb] CDB: cdb[0]=0x28: 28 00 00 04 50 08 00 00 10 00
Oct  6 09:21:33 localhost kernel: ata2: EH complete

Ora per precauzione, carico /var da SSD.
Kipe
Novello Arciere
 
Messaggi: 122
Iscritto il: 10 febbraio 2011, 14:49
Top

Messaggio6 ottobre 2011, 9:51 - Problemone, l'hard disk sta morendo #105892

Non ha senso che ti sposti /var su SSD e poi continui ad utilizzare quella sull' HD. Già che l'hai copiata utilizza quella "nuova".
PC: Amd FX-6100-Nvidia GT630-SSD- 64bit - kernel 3.8-ck - KDE 4.10
Mediacenter: Asus AT310NT-I - Atom N330 - Nvidia ION - i686 - kernel 3.7-ARCH - openbox - XBMC-Frodo
Netbook: Asus eeepc1001 - i686 - kernel-netbook 3.7 - lxde
Avatar utente
ambro
Robin Hood
 
Messaggi: 1868
Iscritto il: 27 agosto 2009, 21:37
Località: Verona
Top

Messaggio6 ottobre 2011, 11:14 - Problemone, l'hard disk sta morendo #105902

ambro ha scritto:Non ha senso che ti sposti /var su SSD e poi continui ad utilizzare quella sull' HD. Già che l'hai copiata utilizza quella "nuova".

Sisi, quando ho detto "carico /var da SSD" intendo dire uso /var da ssd.
Comunque hai ragione, volevo solo vedere se resisteva ancora un po' l'hdd, ma non credo dato che la situazione peggiora. Ad un certo punto si è bloccato, cioè, la spia dell'hdd fissa accesa e l'hdd fermo. Ora i settori ricollocati sono ben 314, dice anche che i dati smart sono sconosciuti, infatti non mi avvisa più della rottura...
Kipe
Novello Arciere
 
Messaggi: 122
Iscritto il: 10 febbraio 2011, 14:49
Top


Torna a Altro

Chi c’è in linea

Visitano il forum: Nessuno e 2 ospiti

Moderatori: 4javier, aleph, veleno77, adriano, Hilinus