- Function
The hdsfstatfs command displays the status of a specified Datareplicator file system area.
UNIX Datareplicator supports Datareplicator file system areas. Windows Datareplicator does not support this command.
You can execute this command regardless of whether Datareplicator is active. If you execute the hdsfstatfs command while the Datareplicator file system area is being initialized, it displays the status of the area at the time the command was entered.
- Format
hdsfstatfs -f Datareplicator-file-system-area-name
- Option
- -f Datareplicator-file-system-area-name
- ~ <pathname>
- Specify the name of the Datareplicator file system area whose status is to be displayed.
- Rules
- If the hdsfstatfs command terminates normally, it returns 0. If it terminates abnormally, it returns 1.
- If any of the following is applicable to the Datareplicator file system area (according to the message that is output), the hdsfstatfs command's processing is cancelled:
- The area has not been initialized
- The Datareplicator file system area has not been initialized.
- The area was not found
- The Datareplicator file system area specified in the hdsfstatfs command was not found.
- A file access error occurred
- An error occurred on the disk that contains the Datareplicator file system area.
- Output format
- The command's execution results are output to the standard output. The following is the output format:
![[Figure]](FIGURE/RZ07S140.GIF)
- Explanation
- file system area: Name of the Datareplicator file system area
- status: Status of the Datareplicator file system area:
init: Initialized by the hdsfmkfs command
used: Being used by Datareplicator
error: Error occurred during initialization by the hdsfmkfs command
- initialize time: Time the Datareplicator file system area was initialized by the hdsfmkfs command
- Datareplicator directory: Name of the Datareplicator directory used
- Datareplicator type: Type of Datareplicator:
hde: Source Datareplicator
hds: Target Datareplicator
- area capacity: Total size of the Datareplicator file system area (KB)
- remain area capacity: Amount of unused space in the Datareplicator file system area (KB)
- sector size: Sector size of the Datareplicator file system area (KB)
- available file count: Maximum number of files specified in the hdsfmkfs command
- used file count: Number of existing files
- [nn] file name = aa...aa:
nn: Sequence number of a system file in the Datareplicator file system area
aa...aa: Name of the system file
- file kind = bb...bb file size = cc...cc [KB]
bb...bb: Type of system file:
DS_STATUS: Status file
DS_HDEFL: HiRDB communication file
DS_QUEUE: Queue file
cc...cc: Size of the system file (KB)
All rights reserved. Copyright (C) 2007, 2013, Hitachi, Ltd.