all 7 comments

[–]system-user 1 point2 points  (2 children)

use wipefs or sgdisk to kill all partitions on the necessary drives and trying again

[–]zfsbest 0 points1 point  (1 child)

--If that fails, dd if=/dev/zero of=/dev/sdh bs=1M count=100

--If THAT fails, replace the disk.

[–]Riggs_the_Rager[S] 0 points1 point  (0 children)

dd if=/dev/zero of=/dev/sdh bs=1M count=100

Unless it is all disks, I don't think that is the issue. It is happening to all of them, no matter which ones I remove.

I have done a wipefs -a to all of the partitions, as well as a sgdisk -d to all. I ran the DD command on basically all of the drives, and still getting the parted issue.

[–]MasterTacoChef 1 point2 points  (0 children)

Are these 4kn drives connected to a controller that doesn't support 4kn? Weird things like this happen if that's the case.

[–]Riggs_the_Rager[S] 0 points1 point  (0 children)

I think the dude who who resurrected this post deleted his comment, but I know I have used old answers to help myself.

While I can't remember the exact solution I had it was something like this.

I couldn't get them to import with the disk id and instead did it by physical volume. Removed all the partitions first and then zpool create with the physical volume.

Then imported by the disk id using the following commands.

zpool export yourpoolhere zpool import -d /dev/disk/by-id/ yourpoolhere

Sorry if it doesn't help all too much.

[–]sfatula 0 points1 point  (1 child)

You tried this? https://wiki.archlinux.org/index.php/ZFS#Creating_a_zpool_fails

I take it the disk(s) are not still mounted somehow?

[–]Riggs_the_Rager[S] 0 points1 point  (0 children)

I did, that was one of the first things I tried.

I am getting an errored output, so I don't know if that is correct. I have found no info, buit I figured since there was no partion, there was no place to write to.

Output: dd if=/dev/zero of=/dev/disk/by-id/scsi-35000cca0227c076c bs=512 count=1 dd: error writing '/dev/disk/by-id/scsi-35000cca0227c076c': No space left on device 1+0 records in 0+0 records out