Analysis of Remote Storage of Windows2000 secret weapon

Source: Internet
Author: User
Tags count file size file system

Introduction of the function and characteristics of tools

The purpose of remote file storage has been briefly mentioned in the previous article. The diagnostic tools associated with it are also introduced. The tool described here is also a tool for remote storage of file services, which is known as the remote file Storage Analysis Utility (sqlremote Storage file analyze Utility). The program name is: Rsdir.exe. This is a command-line based tool that displays information in the current directory or its subdirectories of Remote Storage files. So what's the difference between the two tools with similar names? The main differences are: 1. Remote Storage of File diagnostic tools (diagnostic tools for short), focusing on the diagnosis and description of stored jobs during storage, such as the description of the database table structure, the exact meaning of each field, and so on. The Remote Storage File Analysis tool (the analysis tool for short), mainly analyzes the current directory or its subdirectories of the file information, and only the Remote storage volume within the manageable scope of the file location information. It can be seen that the two are very different in their use. Of course, you can also use Remote Storage of file databases to diagnose file system problems. Also has the simple execution function.

Second, the use of methods:

This tool can be opened in the command console. The complete syntax used is as follows: Rsdir [file_or_directory] [/s] [/f]. It is not difficult to see that the tool uses a very small number of parameters. Its parameter meanings are explained as follows:

File_or_directory the specified file or directory, displays the status of the file, and if you specify a file, displays whether it is a file that is moved to the remote.

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

/F Displays the extended information for the file.

Interpretation of the meaning of the output information:

The information that is exported using the Profiling Tools is primarily the state of the file, which consists of a number of attributes, each containing one or more descriptive data that has numbers, strings, or logical values. Each has its own meaning. The following table describes the meaning of these attributes and descriptive data as follows:

Property name Function and Value

Name

File name

Status

File status, which can be one of the following:

Trunc: This is a file that has been censored.

PREMIGR: This is a moving file.

Mount: This is a file that can be assembled

Normal: This file is a generic file that cannot be managed by a remote Storage system.

Attributes

Properties of File:

A: Archival files

C: Compressed Files

E: Encrypted files

D: Table of Contents

H: Hidden files

O: Off-line Offline Files

R: Read-only files

S: System files

X:has Extended Properties

Z: Sparse files.

Logical Size

The logical size of the file

Physical Size

File occupies the size of the physical space

Access time

Access time

Modify time

Modified Time

Fileid

ID identification number of the file

HSM Id

Unique identification of the data owner in the HSM

BAG Id

ID Identification of Bag

File Start

The offset of the start of the file relative to the Remote Storage "segment"

File Size

Size of File

Data Start

Data Size

The size of the file data in this segment of data

File Version ID

ID number of file version

Verification Id

ID number of the checksum

Verification Data

Checksum data used in remote Storage

Recall Count

Count

Data Stream Start

Data Flow start position

Data Stream Size

The size of the transmitted data stream

Data Stream

Simple description of Data flow

Data Stream CRC Type

Type of data flow checksum

Data Stream CRC

Description of the location and size of the data to be validated

Migration time

Time of data Movement (transfer)

Last Recall time

Time of last access to data

Iv. examples

If run: Rsdir \test, you can get two files: Test71.tst and TEST72.TST, as for the details of these two files are not in our discussion. Please refer to the relevant information. But roughly speaking, this file is used in conjunction with the/F switch in the command.

For example: The following is an example of this:

rsdir/f TEST59.TST

A file called Test59.tst is used. The output for this line of command is very long. But they all correspond to the fields in the table above.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.