r/zfs•
LinuxUser437442

How screwed am I? ashift=4 vs ashift=9

As in my title, I was adding a disk to my zfs striped mirror setup. I had 3 4tb disks and a 1tb disk and I was changing the 1tb to a 4tb to get the storage bump. Long story short, I removed the 1tb drive to increase the storage before my other 4tb drive got to me, so I ran the zpool add command rather than the zpool replace command. I accidentally put ashift=4 in the add command rather than ashift=9.

The storage pool was still accessible until after I rebooted, now I can't mount/import my zfs pool. This is on Ubuntu 17.10 using ZFS on linux.

Is there anyway to fix this, or did I completely lose all my data?

Posted Mar 28, 2018, 1:08 AM UTC

38
Loading comments…