Skip to content

N1-gHT/RAID_remount

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAID_remount

Bash script which able you to remount automaticly your RAID1

Shell Script
English version release
Next update in progress..

Dependances

I'm currently using 3 programs for my script.

  • MDADM this program is used for remount the RAID.
  • GDISK and SGDISK to copy the partition table form disk 1 to disk 2.
  • NWIPE to wipe the disk 2 to ensure that it is empty.

Future of code

When the first version will be release, I will work on 2 diferent ways :

  • Other RAID
    I will working on the capacity of my code to be usefull for other RAID than only RAID 1.
    This means implementing RAID 0, 5, and 10.
  • Improving the code
    Improve error feedback and enforce root user verification.
    • exit when nwipe or sgidsk error append + log
      Take useful code elements from nwipe and gdisk and integrate them into my own code.

About

Bash script which able you to remount automaticly your RAID1

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages