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
zpool create assigns same partlabel to all partitions #4076
Comments
One workaround to avoid the log-clutter is to rename the partitions by hand with
However I am not 100% sure if this is safe. It works in my test-environment but I will only do this on a production system if someone knowledgable convinces me, that its save. Be careful to only rename the partitions which are part of your pool. sgdisk does not ask any questions |
This is unfortunate and it's not 100% clear we should do anything about this. At the time the @rabnab as for changing the partition label that's safe, nothing depends on it. |
Thank you for reassuring, that partition labels can be changed. I did so on my systems and everything works as expected, no errors. Since I close this issue and migrate to FC23 which has more recent version of systemd available. |
@behlendorf |
@tuxoko just something we inherited from the illumos efi library. We could remove it. |
zpool create assigns the same partition label ('zfs') to all pristine disks added to a raidvz2.
This triggers an error in systemd<219 due to duplicate entries in sysfs.
zpool create could assign different partition labels to each partition (e.g zfs1, zfs2, ....) to prevent this.
My system is a Fedora FC22 in vmware-player. I installed zfs-0.6.5.3-1.fc22
I create the pool with:
After which only one link in /dev/disk/by-partlabel is created
The systemd-journal shows errors, however no malfunction was experienced:
The partition name of /dev/sd[b-f]1 are indeed the same
The text was updated successfully, but these errors were encountered: