Date: Tue, 22 Nov 2011 23:45:20 GMT From: Garrett Cooper <yanegomi@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: docs/162775: Document some undocumented zpool import options Message-ID: <201111222345.pAMNjKJM029180@red.freebsd.org> Resent-Message-ID: <201111222350.pAMNo1OQ026113@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 162775 >Category: docs >Synopsis: Document some undocumented zpool import options >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 22 23:50:01 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Garrett Cooper >Release: 10-CURRENT >Organization: iXsystems, Inc. >Environment: FreeBSD streetfighter.ixsystems.com 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Mon Oct 24 12:46:00 PDT 2011 root@streetfighter.ixsystems.com:/usr/obj/usr/src/sys/STREETFIGHTER amd64 >Description: There are a few options that aren't documented in the import section of the zpool manpage (at least not in the one that we have with the additional updates, and potentially not in the OpenSolaris manpage either). They are [according to the out of date comment above cddl/contrib/opensolaris/cmd/zpool/zpool_do_import()]: case 'F': do_rewind = B_TRUE; break; case 'm': flags |= ZFS_IMPORT_MISSING_LOG; break; case 'N': flags |= ZFS_IMPORT_ONLY; break; case 'T': errno = 0; txg = strtoull(optarg, &endptr, 10); if (errno != 0 || *endptr != '\0') { (void) fprintf(stderr, gettext("invalid txg value\n")); usage(B_FALSE); } rewind_policy = ZPOOL_DO_REWIND | ZPOOL_EXTREME_REWIND; break; case 'V': flags |= ZFS_IMPORT_VERBATIM; break; case 'X': xtreme_rewind = B_TRUE; break; >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111222345.pAMNjKJM029180>