Replies: 1 comment 2 replies
-
This is a destructive operation which destroys part of the pool data and corrupts it. Also, ZFS doesn't support pool shrinking. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I previously used the following command to expand the zfs pool:
Since there was not enough disk space, I again used the following command to shrink the zfs pool:
The zfs pool cannot be imported after reboot.
discussions/13745 indicates that zfs can't be reduced in size.
But the data in pool is very important.
I think there may be a problem with the file header that causes inconsistent data checks after reducing the zfs pool size.
Is it possible to recover pool by modifying the file header?
Or is there any way to extract the files from the zfs pool?
Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions