리눅스에서 디스크 복구 방법

리눅스에서 디스크 복구 방법

  • Format 된 디스크 복구
    가장 간단한 방법은 teskdisk 프로그램으로 복구하는 방법임
    # yum install teskdisk
    # teskdisk

    Use arrow keys to select, then press Enter key:
    [ Create ] Create a new log file
    [ Append ] Append information to log file
    >[ No Log ] Don’t record anything

    Select a media (use Arrow keys, then press Enter):
    >Disk /dev/sda – 1000 GB / 931 GiB – TOSHIBA MG04ACA100N
    Disk /dev/sdb – 1000 GB / 931 GiB – Hitachi HDS721010CLA332
    Disk /dev/sdc – 1000 GB / 931 GiB – ST31000528AS

    복구가 필요한 디스크 선택 후 proceed ..

    Disk /dev/sdb – 1000 GB / 931 GiB – Hitachi HDS721010CLA332

    Please select the partition table type, press Enter when done.
    >[Intel ] Intel/PC partition

    Intel/PC partition  선택

    Disk /dev/sdb – 1000 GB / 931 GiB – Hitachi HDS721010CLA332
    CHS 121601 255 63 – sector size=512

    [ Analyse ] Analyse current partition structure and search for lost partitions
    [ Advanced ] Filesystem Utils
    [ Geometry ] Change disk geometry
    [ Options ] Modify options
    [ MBR Code ] Write TestDisk MBR code to first sector
    [ Delete ] Delete all data in the partition table
    [ Quit ] Return to disk selection

    파티션이 날아간 경우 .. Analyse 를 통해 Quick Search , Deep Search 등으로 통해 사라진 파티션을 찾아내고,
    해당 파티션에 있는 데이터를 복구한다.
    (단 여러번 format 된 경우는 최근 파티션만 나타남)

  • 디스크 장애 (bad block 등으로..)

    디스크 인식이 되었다 안되었다 하는 경우..
    ddrescu 로 새 디스크로 disk dump 를 시켜서 복구하는 것을 권장
    # ddrescu -f -n <손상디스크> <새디스크>

    위와 같이 명령 실행하면 손상디스크에서 bad block 같은 손상부분은 빼고, 정상적인 부분만 새디스크로 그대로 복제함.
    작업이 완료되면 리부팅 하고 새디스크에 접근하면 데이터가 복원되어 있음.

서진우

슈퍼컴퓨팅 전문 기업 클루닉스/ 상무(기술이사)/ 정보시스템감리사/ 시스존 블로그 운영자

You may also like...

9 Responses

  1. 20bet 말해보세요:

    Your article gave me a lot of inspiration, I hope you can explain your point of view in more detail, because I have some doubts, thank you.

  2. fast weight loss 말해보세요:

    Your article is something that I truly like, and I blog very frequently. In point of fact, the piece has already piqued my attention. I am going to save your website to my bookmarks and continue to check it for brand spanking new information.

  3. Temp email 말해보세요:

    I loved even more than you will get done right here. The overall look is nice, and the writing is stylish, but there’s something off about the way you write that makes me think that you should be careful what you say next. I will definitely be back again and again if you protect this hike.

  4. doorhandles 말해보세요:

    I was recommended this website by my cousin I am not sure whether this post is written by him as nobody else know such detailed about my difficulty You are wonderful Thanks

  5. Health Stay 말해보세요:

    I really like reading through a post that can make men and women think. Also, thank you for allowing me to comment!

  6. qweqttt 말해보세요:

    Wonderful web site Lots of useful info here Im sending it to a few friends ans additionally sharing in delicious And obviously thanks to your effort

  7. qweqtttt 말해보세요:

    I was recommended this website by my cousin I am not sure whether this post is written by him as nobody else know such detailed about my trouble You are amazing Thanks

  1. 2022년 6월 22일

    3humdrum

  2. 2023년 1월 27일

    3slave-girl

페이스북/트위트/구글 계정으로 댓글 가능합니다.