Adding HArd Disk

  • Hello my name is Max and I'm new to OMV.
    I'm building my own home server and I'm testing the system.


    In this test I installed OMV in a sd card and that's ok.
    I have a pair of old Maxtor 80GB.


    I installed the first one, created the File System as EXT4, created folders and activated the SMB/CIFS.
    Everything works fine...I have access to the folders from Win10 with password protected folders for private users...ok.


    Now the question is :


    how can I add a new disk (the other 80GB Maxtor) and create the RAID 1 system without loosing datas?


    That's because it's my intention to use the WD 3TB that I have in the PC and buy a new one.
    I'd like to copy all datas to the new one installed in OMV and then move the WD 3 TB to the server and create the Raid.


    Is that possible?




    Thanks!

  • Thank you! but I don't need to pass from Raid1 to Raid5...I need to create a Raid1 with 2 single HDD.


    Anyway, I dont know if this is right but I'll explain what I did :



    the first disk was on the system with file system and folders active and mounted
    I connected the second one that was formatted in NTFS
    I deleted the partition and then created the array Raid1 with single disk : mdadm --create /dev/md0 --level=1 --raid-devices=2 missing /dev/sdb1
    Created the File system and rsync folders from old one to new one
    unmount the partitions with unmount /dev/sda1 and unmount /dev/md0
    Then i recreated the array with : mdadm /dev/md0 -a /dev/sda1


    now I can see, in Raid Manager, that the array is recovering...I'm waiting.


    Is this correct?


    I notice that in File System I have something like this :


    /dev/md0/ | Label : share | File System EXT4 | unmount
    /dev/sda1/ | Label : HomeNas:0 | File System Linux_Raid_Member | unmount


    is anything all right?


    Thank you.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!