Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Advertise on LowEndTalk.com
replacing harddisk on cPanel server
New on LowEndTalk? Please read our 'Community Rules' by clicking on it in the right menu!

replacing harddisk on cPanel server

Hi

My dedicated server have 2 harddisk

  • 120G SSD
  • 1TB SATA

server have cPanel installed and have around 1000 cPanel accounts.

S.M.A.R.T report us that 120G SSD drive is failing soon and need to be replaced.

Is it possible to just install new SSD, copy all data from old SSD to new one and then this cPanel server will be online again as before with all the same config and accounts?

Regards,
zidit

Comments

  • Clone the old SSD, and ur done. Should work just fine.

  • @joodle said:
    Clone the old SSD, and ur done. Should work just fine.

    Can you share any tutorial how to do this?

  • @zidit said:

    @joodle said:
    Clone the old SSD, and ur done. Should work just fine.

    Can you share any tutorial how to do this?

    Use Macrium Reflect.

  • Which SSD you are using, I mean Company name?

    Dewlance
  • AlphaNinevps_comAlphaNinevps_com Member, Provider

    Is it a RAID 10 server ?

  • @joodle said:

    @zidit said:

    @joodle said:
    Clone the old SSD, and ur done. Should work just fine.

    Can you share any tutorial how to do this?

    Use Macrium Reflect.

    Will simple rsync between two drive work?

    @DewlanceVPS said:
    Which SSD you are using, I mean Company name?

    I don't know. I pay server fee monthly at some hosting company

    @AlphaNinevps_com said:
    Is it a RAID 10 server ?

    No RAID

  • zidit said: Will simple rsync between two drive work?

    Of course not.. Rsync/Copy will not copy over the boot record etc.

  • dd

    I like my uptime down low and my servers all hacked. Can see me droppin' twenty-fours with a router in the rack.
    Ya like ya Switch-Ports hot and ya servers all hacked. If ya pings real high and ya networks pitch black.

  • @joodle said:

    zidit said: Will simple rsync between two drive work?

    Of course not.. Rsync/Copy will not copy over the boot record etc.

    I see

    @teamacc said:
    dd

    1. boot with rescue mode
    2. dd from old drive to new drive
    3. remove old drive from server
    4. reboot

    Do I need to do anything to make new drive bootable? or am I miss something that require in this process?

    Thanks

  • Make a backup first. You would not be the first person to switch the source and the target of a dd operation.

    Thanked by 1doughmanes

    I like my uptime down low and my servers all hacked. Can see me droppin' twenty-fours with a router in the rack.
    Ya like ya Switch-Ports hot and ya servers all hacked. If ya pings real high and ya networks pitch black.

  • @teamacc said:
    Make a backup first. You would not be the first person to switch the source and the target of a dd operation.

    Yes, I will make backup first.

    1. make backup.
    2. replace drive.
    3. reinstall.
    4. upload.

    This is how I will do it.

  • qpsqps Member, Provider

    Maybe try Clonezilla?

    QuickPacket - Charlotte, Los Angeles, Chicago, Manchester UK

  • NickMNXioNickMNXio Member, Provider

    @zidit said:
    Hi

    My dedicated server have 2 harddisk

    • 120G SSD
    • 1TB SATA

    I'm not sure how many disk bays are available in this server -- but at a minimum you should likely be using RAID1 for each of these disks.

    What I'd do (assuming disk drive bays are avail) is add another 120 gb ssd and setup software raid1 -- and afterward replace the failing disk -- but keep it as a raid 1 mirror long term.

    I'd do the same to the 1tb drive too -- as it will fail eventually.

    Also -- this is a good time to evaluate your backups. You'd be able to recover in the event this disk drive fails before you have time to replace, right?

    https://mnx.io - 100% SSD Cloud Hosting - $10/month - FreeBSD - SmartOS - Linux

  • @NickMNXio said:

    @zidit said:
    Hi

    My dedicated server have 2 harddisk

    • 120G SSD
    • 1TB SATA

    I'm not sure how many disk bays are available in this server -- but at a minimum you should likely be using RAID1 for each of these disks.

    What I'd do (assuming disk drive bays are avail) is add another 120 gb ssd and setup software raid1 -- and afterward replace the failing disk -- but keep it as a raid 1 mirror long term.

    I'd do the same to the 1tb drive too -- as it will fail eventually.

    Also -- this is a good time to evaluate your backups. You'd be able to recover in the event this disk drive fails before you have time to replace, right?

    That's good idea. I will ask DC if they can provide it. Thanks

    @WHT said:
    1. make backup.
    2. replace drive.
    3. reinstall.
    4. upload.

    This is how I will do it.

    I will do this as a second plan as I have many configuration and setting need to be done.

    @qps said:
    Maybe try Clonezilla?

    Thanks, I will try it.

  • pbgbenpbgben Member, Provider
    edited December 2016

    You REALLY should have had a mirror. However, I think Crucial SSD's come with Acronis, that will let you clone the SSD to the second just fine. I would reccomend you go with a mirror from now on. Even if its software.

Sign In or Register to comment.