C
C
ChikiHh2020-04-04 16:31:50
RAID
ChikiHh, 2020-04-04 16:31:50

Is it possible to restore a zpool ZFS array (raidz1) of 4 disks after a physical reordering of the disks?

On the home server, proxmox created a ZFS RAID-5 array (raidz1) of four disks on which the virtual machine lay, foolishly, without making a backup, pulled out all the disks in order to change them to larger pieces of iron, put them back, but the order of physical connection to the sata ports is mat. fees, respectively, can no longer be guessed. Proxmox writes that the folder is empty, is it possible to somehow restore information on a ZFS array?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
ChikiHh, 2020-04-04
@1mAx0

I’ll answer myself - I didn’t have enough knowledge of the device of linux systems, I spent half a day until I figured it out.
In general, when loading, after pulling out the disks, zpool fell apart, and since the pool directory is specified in Proxmox (/rpoolz), system subfolders were automatically created in the /rpoolz directory, after zpool recovered, it automatically tried to mount to the /rpoolz directory, but since it was not empty - it did not work. It helped to simply clear the empty folders in the /rpoolz directory.
The strange thing is that the raid generally fell apart and I had to randomly poke all the disks into different sata ports in order for it to work, because, after reading various articles, I came to the conclusion that raidz should not disintegrate if the disks are physically swapped...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question