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 add problem #1028

Closed
RicardoLorenzo opened this Issue Oct 9, 2012 · 6 comments

Comments

Projects
None yet
4 participants
@RicardoLorenzo

RicardoLorenzo commented Oct 9, 2012

If i use two type of disks (/dev/sdb is SAS RAID, and /dev/sdc, /dev/sdd USB disks). The problem is about efi_write() method.

zpool create -f Pool1 /dev/sdb

zpool add -f Pool1 /dev/sdc

cannot label 'sdc': try using parted(8) and then provide a specific slice: -4

But, if i use:

zpool create -f Pool1 /dev/sdb /dev/sdc

Everything is fine!

And:

zpool create -f Pool1 /dev/sdc

zpool add -f Pool1 /dev/sdd

Everything is fine again!

@behlendorf

This comment has been minimized.

Show comment
Hide comment
@behlendorf

behlendorf Oct 9, 2012

Member

Interesting... thanks for filing it when we get a little time we'll look in to it.

Member

behlendorf commented Oct 9, 2012

Interesting... thanks for filing it when we get a little time we'll look in to it.

@behlendorf

This comment has been minimized.

Show comment
Hide comment
@behlendorf

behlendorf Nov 8, 2013

Member

This looks like an issue with existing labels. You should be able to resolve this using the zpool labelclear command. For example:

# zpool create -f Pool1 /dev/sdb
# zpool add -f Pool1 /dev/sdc
cannot label 'sdc': try using parted(8) and then provide a specific slice: -4

# zpool labelclear /dev/sdc
# zpool add -f Pool1 /dev/sdc
Member

behlendorf commented Nov 8, 2013

This looks like an issue with existing labels. You should be able to resolve this using the zpool labelclear command. For example:

# zpool create -f Pool1 /dev/sdb
# zpool add -f Pool1 /dev/sdc
cannot label 'sdc': try using parted(8) and then provide a specific slice: -4

# zpool labelclear /dev/sdc
# zpool add -f Pool1 /dev/sdc
@FransUrbo

This comment has been minimized.

Show comment
Hide comment
@FransUrbo

FransUrbo Jun 8, 2014

Member

@behlendorf Exactly what and where should be documented?

Member

FransUrbo commented Jun 8, 2014

@behlendorf Exactly what and where should be documented?

@ilovezfs

This comment has been minimized.

Show comment
Hide comment
@ilovezfs

ilovezfs Jun 8, 2014

Contributor

This is a minor bug, not a documentation issue.

Contributor

ilovezfs commented Jun 8, 2014

This is a minor bug, not a documentation issue.

@behlendorf behlendorf added Bug and removed Documentation labels Jun 9, 2014

@behlendorf

This comment has been minimized.

Show comment
Hide comment
@behlendorf

behlendorf Jun 9, 2014

Member

Retagged as a bug. Someone should look in to exactly what's going on here. At worst we should be providing a more useful error message.

Member

behlendorf commented Jun 9, 2014

Retagged as a bug. Someone should look in to exactly what's going on here. At worst we should be providing a more useful error message.

@behlendorf behlendorf removed this from the 0.6.5 milestone Oct 6, 2014

@behlendorf behlendorf added Bug - Minor and removed Bug labels Oct 6, 2014

@behlendorf behlendorf added this to the 0.8.0 milestone Mar 26, 2016

@behlendorf behlendorf removed the Bug - Minor label Sep 30, 2016

@behlendorf

This comment has been minimized.

Show comment
Hide comment
@behlendorf

behlendorf Oct 5, 2016

Member

Closing as stale. If in fact this is still and issue we can reopen it.

Member

behlendorf commented Oct 5, 2016

Closing as stale. If in fact this is still and issue we can reopen it.

@behlendorf behlendorf closed this Oct 5, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment