Forums

Resolved
0 votes
My ClearOS 6.7.0 (Final) addition has been running, fairly smoothly since Apr '13.

Yes, I should ask for guidance on migrating from XP roaming profiles to Win7 roaming profiles (Does Win7 support roaming profiles?).

But I have a rather critical issue. I am in Seoul right now for IETF, and my home server hung. Took me a bit to realize it was hung with an upset wife not being able to get to her data or email, etc. After I realize the system was indeed wedged, I had her cycle the power and things are working. Going through the messages, I see drive problems with my 1TB ext4 server drive. Oh, no. Hardware failures what to do????

Is there a recommended method to migrate to a new harddrive?

For example, I could be down (once I get home) for a day. I boot up with Fedora 24 Live CD, mount my internal driver, have a new 1TB (or maybe now a 2TB) drive via a USB adapter and use some set of commands (dd? rsync?) to copy all the partitions (/boot, /, /storage, etc) to the new drive, put the new drive in and PRESTO. Hardware fixed?

Or do I need a new platform with a new drive, do a ClearOS install, copy whatever is appropriate, and move to the new server? I have enough subnets (via vlaning) at home to do the install on one subnet, and get everything up and going.

Or I can work out how to use Samba 4 for my needs....

Please help. I really do not have the time/resources to figure out Samba 4 (tried that last year). I really barely have the time/resources to learn a new release of ClearOS. I would rather have a copy mechanism and thus a new harddrive (I have used dd, rsync and tar at various times for various OS copying).

Or you might have this GREAT cloning app...

Speaking of that, my wife is in a bit of a panic and although I have a cron job to rsync all the data directories to an external HD, she is asking for a cloud backup. Can you recommend an affordable one?

You would rather have me working on stuff like DDoS mitigation and Network Security Function control standards in the IETF and Ethernet security in IEEE 802 than working on my server right now. Maybe in December, but the drive is failing now...

Thanks!

Bob Moskowtz
Monday, November 14 2016, 03:36 AM
Share this post:
Responses (2)
  • Accepted Answer

    Monday, November 14 2016, 01:44 PM - #Permalink
    Resolved
    0 votes
    I used Clonezilla some 10+ years ago. I think I recently pitched the CD. So will have to download it again. I will look into that option.

    I am quite familiar with dd the boot sector. I have done this with all the Fedora-arm and Redsleeve work I did when I was between jobs. But if Clonezilla is easier to use than it was back in the day, it may be my answer. Will look into it unless I get a better suggestion before I get home next week...

    thanks
    The reply is currently minimized Show
  • Accepted Answer

    Monday, November 14 2016, 12:49 PM - #Permalink
    Resolved
    0 votes
    Have a look at Clonezilla. It is a very lightweight distro which can run off a USB stick and is designed to clone disks. I think it also has the option of extending the last partition when you do the cloning. Otherwise you can use dd from most distro's to clone the whole disk and then either GParted or some native linux command to extend the final partition to use the whole disk. Note that disk cloning can take quite a few hours. Look at connecting the new disk directly to your SATA port as USB2 has a maximum speed of 480Mbps. SATA will be limited by the disk transfer rate and disks like the WD Red series can handle about twice the USB2 rate or more. If you use rsync rather than dd, you'll need to find a way of getting the boot sector across. Also all your partitions will have different GUID's so you'll need to remap /etc/fstab.

    Personally I'd do a fresh installation of 7.x in slower time, but this depends on what you have in 6.7. If you have roaming profiles then I think you need to take it slowly.

    For a basic installation with simple file sharing Samba4 is pretty much the same as Samba3. I do not know what it is like as a domain controller as I don't use it that way. The Samba 4 Directory should still be considered a beta app, so use it at your risk. Otherwise just stick to LDAP.
    The reply is currently minimized Show
Your Reply