Lines Matching full:sndr

292 		/* get sndr entries until shost, sfile match */  in rdc_print()
296 "sndr.set%d", setnumber); in rdc_print()
613 * If this is the SNDR primary and there is a local disk queue in ctag_check()
696 (void) snprintf(key, sizeof (key), "sndr.set%d", setnumber); in check_diskqueue()
909 spcs_log("sndr", NULL, in rdc_ii_config()
959 * check to see if this is using a sndr bitmap. in rdc_ii_config()
962 * ii/sndr that way, in which case they are broken in rdc_ii_config()
972 (void) snprintf(key, sizeof (key), "sndr.set%d.phost", in rdc_ii_config()
979 "sndr.set%d.pbitmap", in rdc_ii_config()
983 "sndr.set%d.sbitmap", in rdc_ii_config()
1005 spcs_log("sndr", NULL, gettext("Point-in-Time Copy set " in rdc_ii_config()
1012 spcs_log("sndr", NULL, gettext("ndr_ii set " in rdc_ii_config()
1112 * and last but not least, make sure sndr is not using vol for anything in check_rdcbitmap()
1115 entries = cfg_get_section(cfg, &entry, "sndr"); in check_rdcbitmap()
1248 (void) snprintf(key, sizeof (key), "sndr.set%d", set); in rewrite_group_diskqueue()
1265 (void) sprintf(key, "sndr.set%d.diskq", set); in rewrite_group_diskqueue()
1312 "sndr.set%d", setnumber); in diskq_subcmd()
1385 if (cfg_vol_disable(cfg, qvol, ctag, "sndr") < 0) in diskq_subcmd()
1392 if (cfg_vol_enable(cfg, qvol, ctag, "sndr") < 0) { in diskq_subcmd()
1399 spcs_log("sndr", NULL, gettext("Remote Mirror: added " in diskq_subcmd()
1440 if (cfg_vol_disable(cfg, pair.diskqueue, ctag, "sndr") < 0) in diskq_subcmd()
1445 spcs_log("sndr", NULL, gettext("Remote Mirror: removed " in diskq_subcmd()
1460 if (cfg_vol_disable(cfg, pair.diskqueue, ctag, "sndr") < 0) in diskq_subcmd()
1466 spcs_log("sndr", NULL, gettext("Remote Mirror: forcibly " in diskq_subcmd()
1486 if (cfg_vol_disable(cfg, pair.diskqueue, ctag, "sndr") < 0) in diskq_subcmd()
1507 if (cfg_vol_disable(cfg, qvol, ctag, "sndr") < 0) in diskq_subcmd()
1513 if (cfg_vol_enable(cfg, qvol, ctag, "sndr") < 0) { in diskq_subcmd()
1520 spcs_log("sndr", NULL, gettext("Remote Mirror: replaced " in diskq_subcmd()
1545 spcs_log("sndr", NULL, in spcslog_sync()
1551 spcs_log("sndr", NULL, in spcslog_sync()
1565 spcs_log("sndr", NULL, gettext("diskqueue " in spcslog_tunable()
1569 spcs_log("sndr", NULL, gettext("diskqueue " in spcslog_tunable()
1574 spcs_log("sndr", NULL, gettext("maxqfbas set to %d for %s:%s"), in spcslog_tunable()
1577 spcs_log("sndr", NULL, gettext("maxwrites set to %d for %s:%s"), in spcslog_tunable()
1580 spcs_log("sndr", NULL, gettext("%d async threads configured " in spcslog_tunable()
1650 spcs_log("sndr", NULL, "%s sndradm -d %s %s %s %s %s %s", in rdc_force_disable()
1660 if (cfg_vol_disable(cfg, datavol, ctag, "sndr") < 0) in rdc_force_disable()
1665 if (cfg_vol_disable(cfg, bmpvol, ctag, "sndr") < 0) in rdc_force_disable()
2335 "sndr.set%d", setnumber);
2342 "sndr.set%d.shost", setnumber);
2349 "sndr.set%d.secondary", setnumber);
2358 "sndr.set%d.phost", setnumber);
2363 "sndr.set%d.primary", setnumber);
2368 "sndr.set%d.pbitmap", setnumber);
2373 "sndr.set%d.sbitmap", setnumber);
2378 "sndr.set%d.type", setnumber);
2385 "sndr.set%d.mode", setnumber);
2390 "sndr.set%d.group", setnumber);
2397 "sndr.set%d.cnode", setnumber);
2521 "sndr.set%d.cnode", setnumber);
2878 /* Build a new sndr entry and put it */
2901 if (cfg_put_cstring(cfg, "sndr", buf, strlen(buf)) < 0)
2920 "sndr.set%d.options", setnumber);
2945 /* get sndr entries until shost, sfile match */
2948 (void) snprintf(key, sizeof (key), "sndr.set%d",
2955 "sndr.set%d.secondary", setnumber);
2962 "sndr.set%d.shost",
2988 "sndr.set%d.options", setnumber);
2995 "sndr.set%d.cnode", setnumber);
3010 "sndr.set%d.diskq",
3021 (void) snprintf(key, sizeof (key), "sndr.set%d",
3053 /* get sndr entries until shost, sfile match */
3056 (void) snprintf(key, sizeof (key), "sndr.set%d",
3063 "sndr.set%d.secondary", setnumber);
3070 "sndr.set%d.shost",
3078 "sndr.set%d.cnode",
3120 "sndr.set%d.options", setnumber);
3135 (void) snprintf(key, sizeof (key), "sndr.set%d",
3284 "sndr.set%d", setnumber);
3337 spcs_log("sndr", NULL, "%s", rcp->msg);
3404 spcs_log("sndr", NULL, gettext("Remote Mirror: can't stat %s"),
3409 spcs_log("sndr", NULL, gettext("Remote Mirror: can't stat %s"),
3414 spcs_log("sndr", NULL, gettext("Remote Mirror: '%s' and '%s' "
3434 spcs_log("sndr", NULL, gettext("Remote Mirror: unable to parse "
3440 spcs_log("sndr", NULL, gettext("Remote Mirror: '%s': already "
3449 * Add the autosync value to the option field for the sndr set specified by
3506 (void) snprintf(key, sizeof (key), "sndr.set%d.options", setnumber);
3577 (void) snprintf(key, sizeof (key), "sndr.set%d", setnumber);
3594 (void) snprintf(key, sizeof (key), "sndr.set%d", set);
3604 (void) snprintf(key, sizeof (key), "sndr.set%d.options",
3741 (void) snprintf(key, CFG_MAX_KEY, "sndr.set%d.options", setnumber);
3787 spcs_log("sndr", &ustat, gettext("failed to update autosync for"
3862 spcs_log("sndr", NULL, gettext("cannot reconfigure sync/async, "
4002 (void) snprintf(key, sizeof (key), "sndr.set%d.options", set);
4066 spcs_log("sndr", NULL, gettext("changing queue parameters may "
4082 spcs_log("sndr", NULL,
4154 spcs_log("sndr", NULL, gettext("failed to update "
4174 spcs_log("sndr", NULL,
4185 spcs_log("sndr", &ustatus,
4224 numels = cfg_get_num_entries(cfg, "sndr");
4232 "sndr.set%d.shost", i);
4241 "sndr.set%d.secondary", i);
4283 "sndr.set%d.mode", i);
4305 "sndr.set%d.type", i);
4313 "sndr.set%d.type", i);
4325 "sndr.set%d.group", i);
4334 "sndr.set%d.group", i);
4348 "sndr.set%d.diskq", i);
4357 "sndr.set%d.pbitmap", i);
4366 "sndr.set%d.sbitmap", i);
4373 "sndr.set%d.cnode", i);
4384 spcs_log("sndr", NULL,
4411 spcs_log("sndr", NULL,
4431 spcs_log("sndr", NULL,
4469 * if the sv_enables fail, disable the sndr vols
4475 if (cfg_vol_enable(cfg, vol1, ctag, "sndr")
4477 spcs_log("sndr", NULL,
4502 spcs_log("sndr", &ustatus,
4521 if (cfg_vol_enable(cfg, vol2, ctag, "sndr")
4523 spcs_log("sndr", NULL,
4548 spcs_log("sndr", &ustatus,
4568 if (cfg_vol_enable(cfg, diskqueue, ctag, "sndr")
4570 spcs_log("sndr", NULL,
4575 "sndr") < 0)
4580 "sndr") < 0)
4606 spcs_log("sndr", &ustatus,
4632 if (cfg_vol_disable(cfg, vol1, ctag, "sndr")
4648 "sndr") < 0)
4662 "sndr") < 0)
4680 "sndr") < 0)
4690 "sndr") < 0) {
4691 spcs_log("sndr", NULL,
4709 spcs_log("sndr", &ustatus,
4727 "sndr") < 0)
4738 "sndr") < 0) {
4739 spcs_log("sndr", NULL, "reconfig sv "
4757 spcs_log("sndr", &ustatus,
4776 "sndr") < 0)
4787 "sndr") < 0) {
4788 spcs_log("sndr", NULL,
4806 spcs_log("sndr", &ustatus,
5108 (void) snprintf(key, sizeof (key), "sndr.set%d", setnumber);
5456 (void) snprintf(key, CFG_MAX_KEY, "sndr.set%d", set);
5588 (void) snprintf(key, sizeof (key), "sndr.set%d.%s", setnumber, fname);