Closing An Open File - Acopia Adaptive Resource Switch Cli Maintenance Manual

Table of Contents

Advertisement

Troubleshooting CIFS Services

Closing an Open File

Closing an Open File
bstnA6k> show cifs-service open-files ac1.medarch.org 3.6
Proc
User IP
User Name
Filename
---------------------------------------------------------------------------------------
3.6
172.16.100.6
medarch\juser
File:\rcrds\2004\infarction_stats.xsl
3.6
172.16.100.6
medarch\juser
File:\rcrds\2004\planB\jmilton_rcrd.dat
3.6
172.16.100.6
medarch\juser
File:\rcrds
3.6
172.16.100.6
medarch\juser
File:\rcrds\mmo_medical_record.dat
9-12
The policy engine does not migrate or replicate (shadow-copy) any file that is opened
for writes by a CIFS client. For situations where migration is required for a
long-opened file, you can use the
command from priv-exec mode:
close cifs file fqdn slot.processor fid file-id
where
fqdn (1-128 characters) identifies a single CIFS service,
slot.processor identifies an NSM processor, and
file-id (0-65535) identifies the file. This ID is shown in the output of
cifs-service open-files
The CLI indicates a successful close by showing the processor and FID of the closed
file.
For example, this command sequence shows all open files hosted by the
"ac1.medarch.org" service at processor 3.6, closes one, and shows that the file is
no-longer open:
F/E FID
Mode
B/E FID
Locks
586
Read+Write
16395
0
758
Read+Write
49158
0
898
Read
0
0
945
Read+Write
16393
0
command to close the file. Invoke this
close cifs file
, described above.
Virtual IP
Filer
IP
192.168.25.15
192.168.25.20
192.168.25.15
192.168.25.20
192.168.25.15
0.0.0.0
192.168.25.15
192.168.25.20
show
F/E Share Name
B/E Share Name
Y2004
Y2004
Y2004
Y2004
ARCHIVES
ARCHIVES
histories
CLI Maintenance Guide

Advertisement

Table of Contents
loading

Table of Contents