Remote Storage Analysis of Win2k "Secret Weapons"

  

I. Introduction to Tools and Features

The purpose of remote file storage has been briefly mentioned in the previous article. And introduced the diagnostic tools related to it. The tool introduced this time is also a tool for remotely storing file services, which is called "Remote Storage File Analysis Utility". The program name is: Rsdir.exe. This is a command-line based tool that displays information from the current directory of a remote storage file or its subdirectories. So what is the difference between these two tools with similar names? The main differences are: 1. Remote Storage File Diagnostic Tool (referred to as diagnostic tool), focusing on the diagnosis and description of the stored operation during the storage process, for example, the description of the database table structure, the exact meaning of each field, and so on. The remote storage file analysis tool (abbreviated as an analysis tool) mainly analyzes the information of the files in the current directory or its subdirectories, and displays only the location information of the files within the manageable range of the remote storage volume. It can be seen that the two are very different in their use. Of course, you can also use the remote storage file database to diagnose problems with the file system. It also has a simple execution function.

Second, use:

This tool can be opened in the command console. The full syntax used is as follows: rsdir [file_or_directory] [/s] [/f]. It is not difficult to see that the parameters used by this tool are very few. The meaning of the parameters is explained as follows:

file_or_directory Displays the setting of the file status for the specified file or directory. If a file is specified, it is displayed whether it is a file moved to the remote.

/s Displays file information in the current or specified directory and its subdirectories.

/f shows the extended information of the file.

Third, the meaning of the output information explanation:

The information output by the analysis tool is mainly the state of the file. These states are composed of many attributes, and each attribute contains one or Multiple, these description data have numbers, strings or logical values. Each has its own meaning. The following table describes the meaning of these attributes and description data:

Attribute name role and value

Name


File name


Status


The status of the file can be one of the following:

Trunc: This is a file that has been deleted.

Premigr: This is a moved file

Mount: This is an assembleable file

Normal: This file is not managed by the remote storage system. file.


Attributes


Attributes of files:

A : Archives

C : Compressed files < Br>

E: Encrypted files

D:Directory

H :Hidden files

O : Offline offline files

R : Read-only file

S : System file

X :Has extended attribute

Z : Sparse file.


Logical Size


Logical Size of Files


Physical Size


The size of the physical space occupied by the file


Access Time


Access time


Modify Time


Modify Time


FileId


ID ID of File < Br>


HSM Id


Unique identifier for data owner in HSM


BAG Id


BAG ID ID


File Start


File Start vs. Remote Storage "Segment" Offset of starting point


File Size


Size of file


Data Start

The offset of the file data start position in the segment data in the segment

The offset of the file data start position in the segment data in the segment


Data Size


The size of the file data in this piece of data


File Version ID


ID number of the file version


Verification Id


ID number of the check


Verification Data


Validation data used in remote storage


Recall Count


Count


Data Stream Start


Data Flow Start Location


Data Stream Size< Br>


Size of the transmitted data stream


Data Stream


Simple description of data stream
>


Data Stream CRC Type


Types of Data Stream Validation


Data Stream CRC


Description of the location and size of the checksum data needed


Migration Time


Data Movement ( Time to send


Last Recall Time


Time to last access to data


IV. Example

If you run: rsdir test, you can get two files: test71.tst and test72.tst, the details of these two files are not in our discussion. Please refer to the relevant information. But roughly speaking, this file works in conjunction with the /f switch in the command.

For example: Here is an example of this:

rsdir /f test59.tst

This uses a file named test59.tst. The output of this line of commands is very long. But they all correspond to the fields in the above table.

Copyright © Windows knowledge All Rights Reserved