Results 1 to 2 of 2
  1. #1

    LINUX: Bad blocks on HDD, any way to fix and clone HDD into new one (no downtime)?

    Hi guys,

    One of my server 500GB hdd's seem to be crashing,

    === START OF READ SMART DATA SECTION ===
    SMART Self-test log structure revision number 1
    Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
    # 1 Extended offline Completed without error 00% 5944 -
    # 2 Extended offline Completed without error 00% 4696 -
    # 3 Extended offline Completed without error 00% 3602 -
    # 4 Extended offline Completed: read failure 90% 3596 7658887
    # 5 Extended offline Completed without error 00% 3003 -
    # 6 Extended offline Completed without error 00% 1003 -
    I have fixed this block several times, however it keeps coming back. I wrote all 0's on that sector and followed a tutorial to make that block unavailable for the system.

    For whatever reason it seems to still be an issue so I want to swap the HDD. Are there any tools that will allow me to "clone" my linux hdd, while NOT copying over the bad sectors?

    I am looking at minimum downtime please. Off-line tools like Acronis would take at least 3 hours, if there was a software that I could run with the server still active it would be great. I have a spare hardware node available with the same specs.
    ^_^

  2. #2
    Join Date
    Sep 2007
    Posts
    368

    *

    Quote Originally Posted by hostbox View Post
    Hi guys,

    One of my server 500GB hdd's seem to be crashing,



    I have fixed this block several times, however it keeps coming back. I wrote all 0's on that sector and followed a tutorial to make that block unavailable for the system.

    For whatever reason it seems to still be an issue so I want to swap the HDD. Are there any tools that will allow me to "clone" my linux hdd, while NOT copying over the bad sectors?

    I am looking at minimum downtime please. Off-line tools like Acronis would take at least 3 hours, if there was a software that I could run with the server still active it would be great. I have a spare hardware node available with the same specs.
    Hello,

    As you mention you have already have same specs node ready, then transferred the related data via rsync and restart services, data should be in same directories.

    About tool you can use dd,

    dd if=/dev/sda1 of=firstpartion.iso [sda1 is the partition u want backup]

    after that you can transfer the file on new server and mount it like.

    mount firstpartion.iso -o ro,loop /mnt

    and you need whatever files you can copy here to new server.

    Down time in both cases is very rare, i am assuming your document files not going to update, so after all transfer of every thing, you can again take backup of mysql database from old server and restore to new server and change the ip address in your name server accordingly.

Similar Threads

  1. Replies: 8
    Last Post: 11-18-2008, 11:24 AM
  2. Replies: 45
    Last Post: 05-15-2007, 02:53 AM
  3. Customer complains about downtime...but no downtime according to log files
    By thomas.smith in forum Providers and Network Outages and Updates
    Replies: 6
    Last Post: 11-09-2004, 12:57 AM
  4. More popular - Sun U5, Cobalt Raq, or clone x86 linux?
    By coloman in forum Dedicated Server
    Replies: 0
    Last Post: 11-25-2001, 07:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •