0

I'm working on creating a ZFS zpool and I'm getting the following error:

# zpool create main_zfs raidz2 /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg /dev/sdh /dev/sdi /dev/sdj /dev/sdk /dev/sdl /dev/sdm /dev/sdn /dev/sdo /dev/sdp /dev/sdq -f

the kernel failed to rescan the partition table: 16

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

I found another post on this subject here, but I can confirm that these disks have never been part of an MD array before.

Here's what I've tried so far:

  1. According to mount, none of these disks are currently mounted (they don't even have a file system anyway).

  2. I've used zpool labelclear /dev/sd[c-q] to erase any ZFS metadata from them.

  3. I've used dd to just zero the disks out.

Cameron
  • 9
  • 2

1 Answers1

1

Put the -f right after the create.

Michael Mrozek
  • 93,103
  • 40
  • 240
  • 233
cypromis
  • 11
  • 1