V
V
Vitaly Gusev2020-09-23 10:38:10
linux
Vitaly Gusev, 2020-09-23 10:38:10

How to clone ext4 partitions?

Good day!

Two new RAID arrays have been added to the server on new fast disks. You need to transfer data from one to another and remount so that the partitions are named the same in the system. How to do it better using Linux, so as not to bother with acronis?
The migration should happen like this:
5f6afb02c8baa037630569.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Armenian Radio, 2020-09-23
@guvijur

#отмонтировать диски
umount /dev/sdb1 
umount /dev/sdc1
#посекторно перенести барахло
dd if=/dev/sdb of=/dev/sdd bs=4M status=progress
dd if=/dev/sdc of=/dev/sde bs=4M status=progress

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question