Bug 162419

Summary: [request] please document (new) zfs and zpool cmdline options
Product: Documentation Reporter: jo
Component: Books & ArticlesAssignee: Allan Jude <allanjude>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description jo 2011-11-10 00:20:08 UTC
Please update manpages for zfs and zpool to include to new command line options that sneaked in with a previous import:
- zfs diff
- zpool import -F -X

Esp what does -F and -X do for import? Discard the most recent txg?
Comment 1 jo 2011-11-21 19:38:23 UTC
I think r227794 on head just sorted this.
Please close.
Comment 2 fjwcash 2011-11-22 22:35:32 UTC
Not sure if this should be a separate PR or not, but the -m option to
"zpool import" is not documented in FreeBSD 9.0-RC2 r227826.  This option
just rescued a large pool where the cache device had died, and "zpool
import" kept complaining about "one or more devices are missing".  -m
allows you to import pools by skipping over the missing devices.

There's lots of information on -m here:
http://docs.oracle.com/cd/E19963-01/html/821-1448/gbchy.html

-- 
Freddie Cash
fjwcash@gmail.com
Comment 3 Allan Jude freebsd_committer freebsd_triage 2014-05-23 16:29:45 UTC
The -F parameter is documented in more recent versions of FreeBSD
starting with 9.1

The -X parameter is purposefully not documented (and considered
dangerous) by the upstream OpenZFS project.

-m is documented as well, however the documentation says it only works
for missing log devices, not missing data devices.

-- 
Allan Jude
Comment 4 Allan Jude freebsd_committer freebsd_triage 2014-05-23 16:30:58 UTC
State Changed
From-To: open->closed

take and close. resolved by mm@ in r227794 


Comment 5 Allan Jude freebsd_committer freebsd_triage 2014-05-23 16:30:58 UTC
Responsible Changed
From-To: freebsd-doc->allanjude

take and close. resolved by mm@ in r227794