[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] Ubuntu server filsystem mounted sit eget filsystem ro ?



2011/1/18 Gunner Carstens <sslug@sslug>:
> On Tue, Jan 18, 2011 at 2:22 PM, Doc Nielsen <sslug@sslug> wrote:
>> [14210381.217872] sd 0:0:0:0: [sda] Sense Key : Medium Error [current]
>> [descriptor]
>> [14210381.217875] Descriptor sense data with sense descriptors (in hex):
>> [14210381.217876]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
>> [14210381.217882]         08 50 00 47
>> [14210381.217884] sd 0:0:0:0: [sda] Add. Sense: Unrecovered read error
>> - auto reallocate failed
>>
>>
>> Du kan vist godt skynde dig ud og købe en ny harddisk.
>> "Medium Error" og "Unrecovered read error - auto reallocate failed"
>> betyder at den disk er moden til pension i de store skrotbunker.
> ok - øv - men rart at du ved sådan noget.
>
>
>>
>> Hvis du er heldig kan du nå at redde data ud fra disken. I så fald kan
>> jeg anbefale brug af ddrescue.
> Jeg har en ny backup af data men ikke af systemet. ddrescue er ikke
> installeret på maskinen (og den vil ikke installere noget på ro
> filesystem). Ligger ddrescue på en ubuntu LIVECD så man kunne køre den
> derfra ?

Ja, put den nye disk i maskinen, (lad os kalde den hdb) ved siden af
den gamle (hda)
Når du så booter på en livecd kan du bare køre apt-get update &&
apt-get install ddrescue

Så kan du enten lave en direkte spejling af disken
 $ ddrescue /dev/hda /dev/hdb hda-hdb-spejl.log
eller du kan spejle de enkelte partitioner til et image, som du så kan
mounte og kopiere data ud fra.
 $ ddrescue /dev/hda1 hda1.img hda1-spejl.log
 $ mount -o loop hda1.img /mnt/hda1

Logfilen gør at du kan genstarte spejlingen, hvis du får brug for det.

-Doc

-- 
No trees were killed in the sending of this message
However, a large number of electrons were terribly inconvenienced.


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2011-02-01, 02:01 CET [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *