Jump to content
XPEnology Community

Raid 1 to Raid 5


dimis7

Recommended Posts

Hello everyone.

 

I have setup a XPenology box using a M/B asrock q2900-itx, 2x WD Red HDD 2 TB in raid 1 configuration, XPEnoboot 5.1-5022.3 and latest DSM 5.1 update 4.

 

I bought another 2x WD Red HDD 2 TB and i want to change the raid type to raid 5.

 

When i choose Manage --> Change raid type and select the raid 5 option at the storage manager, nothing happens.

 

This is the logs from var/log/messages:

 

Diskstation> cat messages
Mar 29 16:33:55 Diskstation volumehandler.cgi: space_disk_data_partition_clean.c:44 [info] Clean data partition on /dev/sdc
Mar 29 16:33:56 Diskstation volumehandler.cgi: space_disk_data_partition_create.c:133 [info] Create primary data partition on /dev/sdc
Mar 29 16:33:59 Diskstation volumehandler.cgi: space_disk_data_partition_create.c:133 [info] Create primary data partition on /dev/sdd
killall: synolunbkp: no process killed
Mar 29 16:34:12 Diskstation kernel: [  652.255120] init: crond main process (10544) killed by TERM signal
Mar 29 16:34:17 Diskstation kernel: [  657.208601] init: smbd main process (15435) killed by TERM signal
Mar 29 16:34:17 Diskstation synocheckshare: synocheckshare_vol_unmount.c:147 Unmount Share [iNTERNAL] [/dev/md2] [/volume1]
Mar 29 16:34:17 Diskstation synosharesnap: synosharesnap.c:526 Start synosharesnap vol-unmount...
Mar 29 16:34:17 Diskstation synosharesnap: synosharesnap.c:533 End synosharesnap vol-unmount...
Mar 29 16:34:20 Diskstation kernel: [  659.849722] md: md2: set sdb3 to auto_remap [0]
Mar 29 16:34:20 Diskstation kernel: [  659.849727] md: md2: set sda3 to auto_remap [0]
Mar 29 16:34:20 Diskstation volumehandler.cgi: raid_create.c:127 Failed to do '/sbin/mdadm -C /dev/md2 -e 1.2 -amd --assume-clean -R -l1  -n2  -x0 -z 1948692560  /dev/sdb3 /dev/sda3 > /dev/null 2>&1'
Mar 29 16:34:20 Diskstation volumehandler.cgi: space_migrate_raid1_to_5.c:276 Failed to create /dev/md2 (RAID-1): designed: 2, spare: 0
Mar 29 16:34:20 Diskstation volumehandler.cgi: space_migrate_raid1_to_5.c:97 failed to migrate RAID /dev/md2
Mar 29 16:34:22 Diskstation CUPS: Starting cupsd...
Mar 29 16:34:22 Diskstation synocheckshare: synocheckshare_vol_mount.c:47 Export Share [iNTERNAL] [/dev/md2] [/volume1]
Mar 29 16:34:22 Diskstation synosharesnap: synosharesnap.c:526 Start synosharesnap vol-mount...
Mar 29 16:34:22 Diskstation synosharesnap: synosharesnap.c:533 End synosharesnap vol-mount...
Mar 29 16:34:33 Diskstation volumehandler.cgi: space_migrate.c:438 Failed to migrate '/dev/md2' from RAID 1 to RAID 5
Mar 29 16:34:33 Diskstation volumehandler.cgi: space_lib.cpp:461 Failed to migrate space '/dev/md2', migrateType: '8'
Mar 29 16:34:33 Diskstation volumehandler.cgi: volumehandler.cpp:479 failed to migrate space: /volume1
Mar 29 16:34:36 Diskstation synostoraged: hotspare_log_repair_err.c:29 [iNFO] space [/dev/md2] is not degrade, skip repairing with spare disks
Diskstation>

 

 

Any help would be great.

Thanks.

Link to comment
Share on other sites

  • 2 weeks later...

If I were you I would transfer your data to one of the new drives... build a SHR-1 with 3 of the drives... transfer your data on the new drive to your SHR-1 and expand the SHR-1 with the 4th disk...

Since Raid 1 is a mirror you might be able to skip the transfer to a new drive and just use one of the mirror disk...

 

there might be better ways to do this... But personal I would do it this way...

Link to comment
Share on other sites

×
×
  • Create New...