Menu

Ubuntu 16.04LTS : raider complains that /dev/sda[1] is currently in use

Help
Manu
2016-09-28
2016-09-28
  • Manu

    Manu - 2016-09-28

    Hello,

    Attempting the migration from a second server from single disk to RAID1.

    While it was a success on the first one, I cannot get it to work on this machine.
    I think it could be related to UEFI BIOS.

    Doing a raider -s -R1 sda sdb would always end up in

    raider -s -R1 sda sdb

    :: raider version 0.13.2 started
    :: Option: Single disk to RAID 1 (MIRRORING)


    :: Distro name and version: Ubuntu 16.04.1
    :: Distro edition: Ubuntu 16.04.1 LTS (xenial)
    :: Test Status (in lab): Not tested
    :: Advice: Use raider at your own risk (and send back your result)!


    :: Disks selected (2):
    :: /dev/sda: Seagate Model: ST5000DM002-1XY17X Serial: Z4D1KSZA (5T)
    :: /dev/sdb: Seagate Model: ST5000DM002-1XY17X Serial: Z4D00CVN (5T)


    :: /dev/sda partition table type: GPT/GUID
    :: Bootloader found in the boot sector: GRUB
    :: GRUB 2 version: 3.2
    :: Initramfs generator: mkinitramfs
    :: Initramfs generator command: "update-initramfs -u"


    :: Swapraider is on

    :: Running in "single mode"
    :: Good!...


    :: BuildRaid phase will start now!
    :: There are 0.00B of data to be copied to the new raid system
    :: BuildRaid phase will take a long time, maybe more then one day(?).


    :: Do you want to continue? (y/[n])y
    :: BuildRaid phase started...
    :: Working on /dev/sdb ...


    :: Copying partitions from disk /dev/sda to /dev/sdb
    :: Disk /dev/sda[1] is currently in use

    The partitions are as follow on the first disk :
    fdisk /dev/sda

    Welcome to fdisk (util-linux 2.27.1).
    Changes will remain in memory only, until you decide to write them.
    Be careful before using the write command.

    Commande (m pour l'aide) : p
    Disque /dev/sda : 4,6 TiB, 5000981078016 octets, 9767541168 secteurs
    Unités : sectors of 1 * 512 = 512 octets
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disklabel type: gpt
    Disk identifier: 491348B5-BD93-418D-AAEE-A68138940F19

    Périphérique Start Fin Secteurs Size Type
    /dev/sda1 2048 249855 247808 121M EFI System
    /dev/sda2 249856 200249343 199999488 95,4G Linux filesystem
    /dev/sda3 200249344 264249343 64000000 30,5G Partition d'échange Linux
    /dev/sda4 264249344 9767540735 9503291392 4,4T Linux filesystem

    So apparently the UEFI partition cannot be copied

    Any idea how I could migrate to Raid1 on this machine ?

    Regards,
    Manu

     
    • Manu

      Manu - 2016-09-28

      Ok... I just read the "readme" and found out UEFI is not (yet) supported.

      So I guess I'll have to find another solution :-(

       

Log in to post a comment.