Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Sophos XG - RAID

Hi everyone,

I have one question. Is possible create software RAID(using mdadm) on software appliance? If yes how and what commands I need to run?

After quick look on advanced shell I don't see second HDD(sdb) and see only one HDD(sda). BIOS software RAID(Intel RAID Software) also do not work because installer automaticly remove HDD from RAID and instal on sw on that hdd.

Thanks for any help.



This thread was automatically locked due to age.
Parents
  • So far Im found this:

    1.) Install Sophos XG Software Appliance on HDD1(HDD2 Disabled)
    2.) Make first time boot to complete partitions
    3.) Enable both HDD's
    4.) Boot into Live version of Linux(Im use Kali)
    5.) Install mdadm and create RAID on second drive using next command:
    sudo mdadm --create --verbose /dev/md0 --level=mirror --raid-devices=2 missing /dev/sdb
    6.) Copy all data from sda to md0 using this command:
    sudo dd if=/dev/sda of=/dev/md0
    7.) Wait until process complete (It will need 10 minutes or more and depend of HDD size/speed)
    8.) Shutdown and disable HDD1
    9.) Try to boot

    And it boot from HDD2 but mdadmin still show that there is no RAID configuration.

    Im try run:

    mdadm --assemble --scan

    And it do not show anything. But if I run that command on Live Linux it reactivate md0 drive... After reboot to live linux I see that on disk is raid configuration and rescan command find it...

    Probably I need time to sleep and try some another aproach...

    In troubleshot mode command mdadm do not work.

    
    

Reply
  • So far Im found this:

    1.) Install Sophos XG Software Appliance on HDD1(HDD2 Disabled)
    2.) Make first time boot to complete partitions
    3.) Enable both HDD's
    4.) Boot into Live version of Linux(Im use Kali)
    5.) Install mdadm and create RAID on second drive using next command:
    sudo mdadm --create --verbose /dev/md0 --level=mirror --raid-devices=2 missing /dev/sdb
    6.) Copy all data from sda to md0 using this command:
    sudo dd if=/dev/sda of=/dev/md0
    7.) Wait until process complete (It will need 10 minutes or more and depend of HDD size/speed)
    8.) Shutdown and disable HDD1
    9.) Try to boot

    And it boot from HDD2 but mdadmin still show that there is no RAID configuration.

    Im try run:

    mdadm --assemble --scan

    And it do not show anything. But if I run that command on Live Linux it reactivate md0 drive... After reboot to live linux I see that on disk is raid configuration and rescan command find it...

    Probably I need time to sleep and try some another aproach...

    In troubleshot mode command mdadm do not work.

    
    

Children
No Data