-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: how to make RAID-1 with btrfs if have error "zoned: data raid1 needs raid-stripe-tree"? #856
Comments
Raid stripe tree feature is not stable, thus it's hidden behind experimental feature. Furthermore, if your fs is already zoned, it means at least one device is zoned, but with your sdc1, it's definitely not zoned device as no partition support for zoned device. I'm wondering what disks you have for sdb and sdc, are they really zoned devices? |
/dev/sdb
/dev/sdc
|
Please provide the following dump:
|
|
Then the problem is you have specified Just to be sure, please provide the following dump:
If it includes something like the following, then you have forced emulated zoned support:
In that case, you just need to re-mkfs the filesystem without Or just mkfs the RAID1 at mkfs time:
|
btrfs ins dump-super /dev/sdb
|
So you have to remake the fs to remove the ZONED flag unfortunately. And I have no idea why default |
I enable some flags with mkfs, but not At now, I need a pause to save data and re-mkfs /dev/sdb. |
For zoned on non-zoned devices, it could be possible to unset the bit and write superblock to the right locations so it's a regular fs afterwards. |
I have 2 separate disks:
I want to make RAID-1 with
/dev/sdb
and/dev/sdc1
.I got and error "BTRFS error (device sdb): zoned: data raid1 needs raid-stripe-tree" when try to do "balance -dconvnert=raid1".
Environment:
OS: Linux Gentoo
kernel: sys-kernel/gentoo-sources v6.10.0
btrfs-progs: v6.9.2 [use flags: convert man udev verify-sig zstd]
mkfs.btrfs -O list-all
Steps:
1 - Make storage
2 - Increase storage size
3 - Try to make raid 1
Got an error:
4 - Full balance
5 - Try to make raid 1
Still got an error
zoned: data raid1 needs raid-stripe-tree
.Questions
raid-stripe-tree
for RAID-1?raid-stripe-tree
?raid-stripe-tree
?The text was updated successfully, but these errors were encountered: