Lines Matching refs:detach
1636 * detach submirror
1648 md_detach_params_t detach;
1660 * In a MN set, the master always executes the detach command first.
1665 * As each slave executes the detach command, each slave will
1678 /* detach submirror */
1679 (void) memset(&detach, 0, sizeof (detach));
1680 detach.mnum = meta_getminor(mirnp->dev);
1681 MD_SETDRIVERNAME(&detach, MD_MIRROR, sp->setno);
1682 detach.submirror = submirnp->dev;
1683 detach.force_detach = force;
1684 if (metaioctl(MD_IOCDETACH, &detach, &detach.mde, NULL) != 0)
1685 return (mdstealerror(ep, &detach.mde));