XMEN BLOGGER: Alt-F - How to convert a "standard" filesystem to RAID1 keeping all your data

Monday, February 27, 2017

Alt-F - How to convert a "standard" filesystem to RAID1 keeping all your data


From: Alt-F Wiki

Apply to DLink DNS-320/320L/321/323/325/327L with Alt-F firmware (free alternative firmware)



If you have a one disk "standard" filesystem and you which to convert it to RAID1, you can use one of the following procedures:

A - safest, no risk of data loss:
-Create a new degraded RAID1 with your new disk using Disk->Wizard (1)
-Copy all data from the old "standard" partition to the new RAID1 using Setup->Folders
-Verify that the data in the RAID1 is fine
-Change the old disk "standard" partition type to RAID using Disk->Partitioner (2)
-Add the old disk RAID partition to the new RAID as a new component using Disk->RAID

B - only works on disks smaller than 2TB, there is a data loss risk (3)
-Shrink your current "standard" filesystem using Disk->Filesystem
-Change the "standard" partition type to RAID using Disk->Partitioner (2)
-Unmount the filesystem using Disk->Filesystem
-Create a degraded RAID1 using the now RAID partition using Disk->RAID
-Enlarge the filesystem contained in the RAID using Disk->Filesystem
-Add a new disk and follow the How to fix a degraded RAID1 wiki

NOTES:
(1)-Make sure that the new disk in the only disk checked in the Disk Wizard upper section!
(2)-Make sure to only uncheck the "Keep" check-box for the "standard" partition, and then only change its type from "linux" to "RAID" -- don't change anything else!
(3) Bigger than 2.2TB disks requires a RAID metadata version 1.x. If using metadata version 1.1 or 1.2 your data will be lost. Metadata version 0.9 and 1.0 are safe.

0 comentarios: