Migrate from ext4 to btrfs

Currently reading
Migrate from ext4 to btrfs

8
0
NAS
DS216 - DS214play - DS713
Hello, i have a synology ds216+ with 2 8tb Disks ext4
i recently bought a ds920 and 1 more 16tb disk

i wanted to move my 2 old disks to the ds920 and add the 16tb and migrate to btrfs.

1) i was afraid of directly migrating my disks so i decided to use the migration assistant. I insert the 16tb drive alone. Create a shr, btrfs volume and thought that the migration would just move everything without destroying my freshly created volume.
No luck. After waiting 24h for raid to sync, then 24h more hours to migrate, i discovered that the volume was ext4 .

i decided then to migrate the 2 old disks directly to the ds920, and remove the 16tb disk, keeping it as a backup in case something goes wrong.

2) the migration went fine. I decided to add the 16tb disk in slot 3 after having formatted the drive (no need of a backup since the migration went fine)
i created a shr, btrfs volume on this drive. I moved all the shared folders from volume1 to volume2(the one on the 16tb drive)
i moved the drive app database. I moved the maria db database (don’t know why i have this package installed)
i thought i could then delete both drives 1 and 2 and then re add them to create an shr btrfs bigger adding them to the storage pool with drive 3
But DSM don’t let me delete storage pool 1 it says it is not possible because of all the apps that are still on the first 2 drives

can somebody help me achieve what i want to do? I am know backuping everything. My shared folders are still on the 3rd drive (16tb)
i should have start fromscratch and rebuild a whole system on the 16tb, then move data from ds216 to ds920 using network then add the 2 drives to ds920.
thanks for your help
 

Rusty

Moderator
NAS Support
4,642
1,338
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
then move data from ds216 to ds920 using network then add the 2 drives to ds920.
Keep in mind that you would not be able to add smaller drives to your SHR array made with bigger drives.

My recommendation would be to start fresh with 16Tb in 920. Copy the data from the old nas, configure the apps on 920, and then as a final move, place the old pair of drives into 920 as a separate volume. Wipe it inside 920 and covert it to a new volume 2 btrf.
 
8
0
NAS
DS216 - DS214play - DS713
Thanks for your help. It’s even worse than what i thought. I didn’t know i couldn’t add smaller drives to my SHR array
 

Rusty

Moderator
NAS Support
4,642
1,338
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
8
0
NAS
DS216 - DS214play - DS713
Thx. And now that i have 2 volumes on the 920. Would the system boot if i remove both drives 1 and 2 (volume1)?
 

Rusty

Moderator
NAS Support
4,642
1,338
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
It would, but your apps would require repair considering those are missing. It would be a quick and dirty way to force DSM to reinstall apps on the new volume, but you might get corruption in services.
 
8
0
NAS
DS216 - DS214play - DS713
Ok. So i could try to remove the 2 drives and try reinstalling apps and if everything goes wrong, i can replug the 2 drives and everything will be as i left the system just before removing the drives?
 

Rusty

Moderator
NAS Support
4,642
1,338
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Can't say I have tried to reinsert them back especially after reinstalling/fixing apps. Wouldn't recommend it, but if you have a valid backup in case something goes wrong, try it.
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

  • Question
You can move the disks if you accept the limitations doing so imposes on your new unit. For example: No...
Replies
1
Views
112
Thanks @Rusty for the suggestions I will give it a try and report back how it went!
Replies
2
Views
410
Thanks for the response. I was planning on moving all the drive to the DX517 and keeping them in the same...
Replies
2
Views
526
Glad that it worked that way! True, your original idea to shrink the partition would have been very...
Replies
16
Views
1,886
  • Locked
Discussion is continued here: Help me build my new home/business network
Replies
12
Views
1,100

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending threads

Top