Skip to content
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

RAIDZ expansion incorrectly reports flag not enabled with some attach options #17082

Open
solidsnake1298 opened this issue Feb 22, 2025 · 0 comments
Labels
Type: Defect Incorrect behavior (e.g. crash, hang)

Comments

@solidsnake1298
Copy link

solidsnake1298 commented Feb 22, 2025

System information

Distribution Name | Ubuntu
Distribution Version | 24.04.2
Kernel Version | 6.11.0-17-generic
Architecture | AMD64
OpenZFS Version | 2.3.0+release-noble4

Describe the problem you're observing

When attaching a new disk to an existing RAIDZ1 for RAIDZ expansion while including -s and -w options incorrectly reports that the raidz_expansion feature flag is not enabled.

Describe how to reproduce the problem

Add a disk to an existing vdev with the following command.

zpool attach -fsw <pool> <raidzN-p> <new disk identifier>

Including the -s and -w options result in this message.

cannot attach wwn-0x5000cca0d2c46644 to raidz1-0: raidz_expansion feature must be enabled in order to attach a device to raidz

Removing the -s and -w options results in a successful attach and RAIDZ expansion.

@solidsnake1298 solidsnake1298 added the Type: Defect Incorrect behavior (e.g. crash, hang) label Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Defect Incorrect behavior (e.g. crash, hang)
Projects
None yet
Development

No branches or pull requests

1 participant