Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / doc / man-pages / pod1 / fs_flushvolume.pod
CommitLineData
805e021f
CE
1=head1 NAME
2
3fs_flushvolume - Forces the Cache Manager to discard cached data from a volume
4
5=head1 SYNOPSIS
6
7=for html
8<div class="synopsis">
9
10B<fs flushvolume> S<<< [B<-path> <I<dir/file path>>+] >>> [B<-help>]
11
12B<fs flushv> S<<< [B<-p> <I<dir/file path>>+] >>> [B<-h>]
13
14=for html
15</div>
16
17=head1 DESCRIPTION
18
19The B<fs flushvolume> command removes from the cache all data that was
20fetched from the same volume as each specified directory or file. It does
21not discard cached status information. The next time an application
22requests data from a flushed directory or file, the Cache Manager fetches
23the most current version from a File Server, along with a new callback (if
24necessary) and associated status information. This command has no effect
25on two types of data:
26
27=over 4
28
29=item *
30
31Data in application program buffers.
32
33=item *
34
35Data that has been changed locally and written to the cache but not yet
36written to the copy on the file server machine.
37
38=back
39
40To discard the data and status information associated with individual
41files and directories, use the B<fs flush> command. To flush a corrupted
42mount point, use the B<fs flushmount> command.
43
44=head1 OPTIONS
45
46=over 4
47
48=item B<-path> <I<dir/file path>>+
49
50Names a file or directory from each volume for which to discard all cached
51data. Partial pathnames are interpreted relative to the current working
52directory, which is also the default value if this argument is omitted.
53
54=item B<-help>
55
56Prints the online help for this command. All other valid options are
57ignored.
58
59=back
60
61=head1 EXAMPLES
62
63The following command flushes from the cache all data fetched from the
64volume that contains the current working directory:
65
66 % fs flushvolume
67
68=head1 PRIVILEGE REQUIRED
69
70The issuer must have the C<l> (lookup) permission on the ACL of the root
71directory of the volume that houses the file or directory named by the
72B<-path> argument, and on the ACL of each directory that precedes it in
73the pathname.
74
75=head1 SEE ALSO
76
77L<fs_flush(1)>,
78L<fs_flushmount(1)>
79
80=head1 COPYRIGHT
81
82IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
83
84This documentation is covered by the IBM Public License Version 1.0. It was
85converted from HTML to POD by software written by Chas Williams and Russ
86Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.