Troubleshooting CIFS Services
Listing Open Files in a CIFS Service
CLI Maintenance Guide
9-9
Listing Open Files in a CIFS Service
To prevent locking contention with CIFS clients, the policy engine does not migrate
or replicate (shadow-copy) any files that are already opened by CIFS clients for
writes. It typically queues each open file and retries later, perhaps after all clients have
closed the file. In some cases, files need to be closed manually for the migration or
replication to fully succeed. To list the files currently opened by CIFS clients, use the
show cifs-service open-files
command:
show cifs-service open-files {
fqdn
| all}
where
fqdn
| all
is a required choice:
fqdn
(1-128 characters) is the fully-qualified domain name (for example,
www.company.com) for the CIFS service’s global server.
all
selects all CIFS services on the current switch.
If remote-Windows management is allowed for this CIFS service (see
“Allowing
Clients to Use Windows Management (MMC)” on page 11-22
of the
CLI
Storage-Management Guide
), authorized clients can use MMC to list these files.
For each open file, this shows the client’s IP address and identity, the NSM processor
that is serving the file to the client, the file and server information that the client
application sees, the location of the file at the back-end filer, and some other
information about the file. Each NSM processor assigns its own set of file IDs, so the
same
F/E FID
may be reused by multiple processors.
For example, this finds some files that are open in the CIFS service for
“ac1.medarch.org:”
bstnA6k>
show cifs-service open-files
ac1.medarch.org
Proc User IP F/E FID Mode Virtual IP F/E Share Name
User Name B/E FID Locks Filer IP B/E Share Name
Filename
---------------------------------------------------------------------------------------
3.2 172.16.100.20 788 Read 192.168.25.15 CELEBS
medarch\lfine_md 0 0 0.0.0.0
File:\rcrds\VIP_wing
3.2 172.16.100.20 789 Read 192.168.25.15 ARCHIVES
medarch\lfine_md 0 0 0.0.0.0
File:\rcrds\sprains
Содержание Adaptive Resource Switch
Страница 12: ...2 xii CLI Maintenance Guide...
Страница 62: ...Backing Up the Running Configuration Restoring the Configuration 3 24 CLI Maintenance Guide...
Страница 128: ...Metadata Utilities nsck and sync Clearing All nsck Jobs 5 48 CLI Maintenance Guide...
Страница 206: ...Troubleshooting Network Connections Configuring Port Mirroring 7 32 CLI Maintenance Guide...
Страница 306: ...GUI Maintenance Restarting the GUI 10 4 CLI Maintenance Guide...
Страница 316: ...Powering Down the ARX Restoring Power 11 10 CLI Maintenance Guide...
Страница 318: ...Copyright 2 CLI Maintenance Guide...
Страница 324: ...Index 6 CLI Maintenance Guide...