Answer the question
In order to leave comments, you need to log in
How to migrate NAS on Debian from Raid1 to Raid0?
There is a NAS with two physical HDDs. It has three sections:
/dev/md0 - Swap (512MB)
/dev/md1 - Rootfs (5GB)
/dev/md2 - User data (All unused space, not mounted by default)
Requires /dev/md2 to be transferred from Raid1 to Raid0 . According to the manual, everything is simple, you just need to run one command:
# If you need RAID-0 (Stripped):
# Warning! Data partition will be erased!
umount /dev/md2
mdadm --stop /dev/md2
mdadm --create --force /dev/md2 --raid-devices=2 --level=raid0 --run /dev/sda3 /dev/sdb3
Answer the question
In order to leave comments, you need to log in
If sclerosis does not change me, then these underNAS have 4 partitions per disk - swap, 2 systems and user data.
Also what hinders to make to make all operations through a web-muzzle?
> when you click Reset
Set the settings, reset the settings. Why aren't they saved?
backup all data to a third-party medium.
reformat the system to Raid0
Restore data to fs.
even your link says
# Warning! Data partition will be erased!
when converting partitions, the data is overwritten.
The resulting configuration must be saved in mdadm.conf.
Example: xgu.ru/wiki/mdadm#.D0.A1.D0.BE.D0.B7.D0.B4.D0.B0.D...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question