Unable to create pool of brand new drives (geom/multipath issue?)

mitudels

Cadet
Joined
May 21, 2020
Messages
3
I have a 16 drive chassis that has a redundant expander backplanes for multipathing. I was using all 16 bays, but took out 8 drives to replace with new bigger drives. Everything related to the backplane seemed to be working just fine... prior to me plugging the new drives in and trying to create a pool. They showed up as /dev/da24-31.

The FreeNAS UI wasn't letting me create a pool. I would select all my drives, select raidz2, but the create button was greyed out. So I tried via shell. See what I tried here:
Code:
root@zahra:~ # zpool create volume4 raidz2 da24 da25 da26 da27 da28 da29 da30 da31
cannot create 'volume4': no such pool or dataset
root@zahra:~ # zpool create -f volume4 raidz2 da24 da25 da26 da27 da28 da29 da30 da31
cannot create 'volume4': no such pool or dataset
# Thinking I needed to maybe try zero-ing a super block
root@zahra:~ # dd if=/dev/zero of=/dev/da24 bs=1M count=1
dd: /dev/da24: Operation not permitted


These all show up in a geom disk list:
Code:
Geom name: da24
Providers:
1. Name: da24
   Mediasize: 12000138625024 (11T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   descr: ATA HGST HUH721212AL
   lunid: 5000cca291ca170c
   ident: 5PGR62ZF
   rotationrate: 7200
   fwsectors: 63
   fwheads: 255

Geom name: da25
Providers:
1. Name: da25
   Mediasize: 12000138625024 (11T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   descr: ATA HGST HUH721212AL
   lunid: 5000cca291ca1386
   ident: 5PGR54WE
   rotationrate: 7200
   fwsectors: 63
   fwheads: 255

Geom name: da26
Providers:
1. Name: da26
   Mediasize: 12000138625024 (11T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   descr: ATA HGST HUH721212AL
   lunid: 5000cca291c6b64e
   ident: 5PGGSRWD
   rotationrate: 7200
   fwsectors: 63
   fwheads: 255

Geom name: da27
Providers:
1. Name: da27
   Mediasize: 12000138625024 (11T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   descr: ATA HGST HUH721212AL
   lunid: 5000cca291ca2f6b
   ident: 5PGRDL7F
   rotationrate: 7200
   fwsectors: 63
   fwheads: 255

Geom name: da28
Providers:
1. Name: da28
   Mediasize: 12000138625024 (11T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   descr: ATA HGST HUH721212AL
   lunid: 5000cca291c97350
   ident: 5PGNTGVF
   rotationrate: 7200
   fwsectors: 63
   fwheads: 255

Geom name: da29
Providers:
1. Name: da29
   Mediasize: 12000138625024 (11T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   descr: ATA HGST HUH721212AL
   lunid: 5000cca291ca2f5f
   ident: 5PGRDKVF
   rotationrate: 7200
   fwsectors: 63
   fwheads: 255

Geom name: da30
Providers:
1. Name: da30
   Mediasize: 12000138625024 (11T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   descr: ATA HGST HUH721212AL
   lunid: 5000cca291ca2c66
   ident: 5PGRBT9F
   rotationrate: 7200
   fwsectors: 63
   fwheads: 255

Geom name: da31
Providers:
1. Name: da31
   Mediasize: 12000138625024 (11T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   descr: ATA HGST HUH721212AL
   lunid: 5000cca291c485df
   ident: 5PG9YETC
   rotationrate: 7200
   fwsectors: 63
   fwheads: 255



Any thoughts of what to try next? Kind of at a loss of where to go from here.
 

mitudels

Cadet
Joined
May 21, 2020
Messages
3
Also this is what I see if I try to wipe a drive:
Code:
[EFAULT] Failed to wipe disk da26: [EFAULT] Command gpart create -s gpt /dev/da26 failed (code 1):
gpart: geom 'da26': Operation not permitted
 

mitudels

Cadet
Joined
May 21, 2020
Messages
3
Oh they had MBR on them... Fixed like this:
Code:
root@zahra:~ # sysctl kern.geom.debugflags=0x10
kern.geom.debugflags: 0 -> 16
root@zahra:~ # gpart create -s gpt /dev/da24
da24 created
root@zahra:~ # gpart create -s gpt /dev/da25
^[[Ada25 created
root@zahra:~ # gpart create -s gpt /dev/da26
da26 created
root@zahra:~ # gpart create -s gpt /dev/da27
da27 created
root@zahra:~ # gpart create -s gpt /dev/da28
da28 created
root@zahra:~ # gpart create -s gpt /dev/da29
da29 created
root@zahra:~ # gpart create -s gpt /dev/da30
da30 created
root@zahra:~ # gpart create -s gpt /dev/da31
da31 created


Sorry for the noise :(
 
Top