transfer linux system from /dev/xvda to /dev/xvdb

  • Durum: Pending
  • Ödül: $30
  • Alınan Girdiler: 0

Yarışma Özeti

I'm using Ubuntu 14.04 64-bit HVM images on Amazon AWS EC2.

When an Amazon EC2 EBS-Based Spot Instance reboots, it mounts the root on /dev/xvda1 and has an empty /dev/xvdb which is the Ephemeral SSD Disk.

I am able to format and mount /dev/xvdb1 onto /mnt, but what I really want to do is transfer all the files from /dev/xvda to /dev/xvdb, then mount /dev/xvdb1 as root (/) and then completely unmount and detach /dev/xvda.

This problem is a lot tougher than it looks so I'm posting as a competition in order to avoid damaging the rating of those proposing incorrect solutions.

During the public phase of the contest, please upload screen-shots or screen-cast which is a demonstration of your script. You shouldn't show the full source code during this phase, just make a demo of you running the code and showing off the results.

If you are selected as the winner, then you'll be required to upload the working solution within 24 hours.

Tavsiye Edilen Beceriler

Genel Açıklama Panosu

  • neatsoft
    neatsoft
    • 2 yıl önce

    The problem became clear after your explanations. It's not so difficult, and it is definitely solvable, but it's not a $30 task. So I advise you to increase project budget.

    • 2 yıl önce
  • neatsoft
    neatsoft
    • 2 yıl önce

    You should transfer data from old disk to new one with dd at first, and then install grub to the new location. Partitions uuids will be the same on both disks after that, so don't forget to switch off your server and disconnect xvda.

    • 2 yıl önce
    1. neatsoft
      neatsoft
      • 2 yıl önce

      I posted my solution as contest entry

      • 2 yıl önce
  • mz1
    mz1
    • 2 yıl önce

    Hello, I know solution I am able to do this job quickly.

    • 2 yıl önce
    1. afterhourstech
      Yarışma Sahibi
      • 2 yıl önce

      Please post your demo.

      • 2 yıl önce
    2. mz1
      mz1
      • 2 yıl önce

      I already post it. Thanks

      • 2 yıl önce

Daha fazla yorum göster

Yarışmalara nasıl başlanır

  • Projenizi ilan edin

    Yarışmanızı İlan Edin Hızlı ve kolay

  • Tonlarca girdi alın

    Tonlarca Girdi Alın Bütün dünyadan

  • En iyi girdiyi seçin

    En iyi girdiyi seçin Dosyaları indirin - Kolay!

Şimdi bir Yarışma İlan Et ya da Bugün Bize Katılın!