.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.20) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is turned on, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .ie \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . nr % 0 . rr F .\} .el \{\ . de IX .. .\} .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. . \" fudge factors for nroff and troff .if n \{\ . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] \fP .\} .if t \{\ . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff .if n \{\ . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} .if t \{\ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E . \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' . \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} .rm #[ #] #H #V #F C .\" ======================================================================== .\" .IX Title "FS_DISCON 1" .TH FS_DISCON 1 "2021-12-09" "OpenAFS" "AFS Command Reference" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" fs_discon \- Manage client "disconnected mode" .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBfs discon\fR \fB\-mode\fR\ [\fB\-policy\fR\ ] [\fB\-force\fR] [\fB\-uid\fR\ <\fIuid\fR>] [\fB\-help\fR] .PP \&\fBfs disc\fR \fB\-m\fR\ [\fB\-p\fR\ ] [\fB\-f\fR] [\fB\-u\fR\ <\fIuid\fR>] [\fB\-h\fR] .SH "DESCRIPTION" .IX Header "DESCRIPTION" The \fBfs discon\fR command configures \*(L"disconnected mode\*(R" in the OpenAFS Cache Manager. Disconnected mode allows you to keep reading and writing files in \s-1AFS\s0 without a network connection, and any changes to files are recorded locally. When the network connection is restored and disconnected mode is turned off, any locally recorded changes are sent to the relevant server. .PP This command was introduced in OpenAFS 1.5.38. .SH "CAUTIONS" .IX Header "CAUTIONS" The \*(L"disconnected mode\*(R" of the OpenAFS cache manager is still considered an experimental feature. It can be a bit rough around the edges, and you may lose or corrupt data you have written while in disconnected mode. Use with caution. .SH "OPTIONS" .IX Header "OPTIONS" .IP "\fB\-mode\fR " 4 .IX Item "-mode " This turns \*(L"disconnected mode\*(R" on or off. If \f(CW\*(C`offline\*(C'\fR is specified, the client will go into disconnected mode, and the client will no longer make any effort to reach any server over the network. .Sp If \f(CW\*(C`online\*(C'\fR is specified, the client will come out of disconnected mode, and any pending changes will be sent to the relevant server. If there are errors when synchronizing changes to the server, the client will stay in disconnected mode, unless the \fB\-force\fR flag is also given. See \fB\-force\fR. .IP "\fB\-policy\fR " 4 .IX Item "-policy " This specifies the conflict resolution policy when resynchronizing data afer coming back online. A conflict resolution policy is needed when changes have been made locally on the client while in disconnected mode, and different changes have occurred on the server while we were in disconnected mode. When this happens, there are two different possible results: .Sp If \f(CW\*(C`client\*(C'\fR is specified, the local changes on the client will overwrite any conflicting changes on the server. This means that if we change a file locally while in disconnected mode, and another user changes the same file in the same place on the fileserver while we are disconnected, the other user's changes will be lost. .Sp If \f(CW\*(C`server\*(C'\fR is specified, the conflicting changes on the server will overwrite our local changes. This means that if we change a file locally while in disconnected mode, and another user changes the same file in the same place on the fileserver while we are disconnected, our local changes will be lost. .Sp The default value is \f(CW\*(C`server\*(C'\fR. .IP "\fB\-force\fR" 4 .IX Item "-force" If \fB\-force\fR is specified when coming back online, any errors during resynchronization are ignored by throwing away our local changes. That is, if we write our local pending changes to a server while coming back online, and there is an error while writing those changes, those changes will be lost. .Sp Without \fB\-force\fR, such an error causes the client to stay offline. .IP "\fB\-uid\fR <\fIuid\fR>" 4 .IX Item "-uid " When resynchronizing local pending changes to the relevant fileserver, by default we use the credentials of the user issuing \fBfs discon\fR to send the changes to the fileserver. If \fB\-uid\fR is specified, we will instead use the credentials for the specified uid. .Sp Note that this will only use the PAG-less credentials of the specified uid. It is currently not possible to specify an arbitrary \s-1PAG\s0 here. .IP "\fB\-help\fR" 4 .IX Item "-help" Prints the online help for this command. All other valid options are ignored. .SH "PRIVILEGE REQUIRED" .IX Header "PRIVILEGE REQUIRED" The issuer must be logged in as the local superuser \f(CW\*(C`root\*(C'\fR. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIafsd\fR\|(8) .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright 2013 Sine Nomine Associates .PP This documentation is covered by the \s-1BSD\s0 License as written in the doc/LICENSE file. This man page was written by Andrew Deason for OpenAFS.