diff --git a/sys/geom/vinum/geom_vinum_init.c b/sys/geom/vinum/geom_vinum_init.c index b60a743838a9..e35fbcee69db 100644 --- a/sys/geom/vinum/geom_vinum_init.c +++ b/sys/geom/vinum/geom_vinum_init.c @@ -106,6 +106,10 @@ gv_parityop(struct g_geom *gp, struct gctl_req *req) p->name); goto out; } + if (p->org != GV_PLEX_RAID5) { + gctl_error(req, "plex %s is not a RAID5 plex", p->name); + goto out; + } cp = p->consumer; error = g_access(cp, 1, 1, 0);