- ページ 20

サーバー Dell DX6000GのPDF 設定・構成マニュアルをオンラインで閲覧またはダウンロードできます。Dell DX6000G 23 ページ。 Rack installation instructions — static rails
Dell DX6000G にも: ユーザーマニュアル (48 ページ), リリースノート (7 ページ), ラックの設置 (2 ページ), ラックの設置 (2 ページ)

Dell DX6000G 設定・構成マニュアル
• Castor-CFS-FileId: the filesystem id for the file in the CFS name space
• Castor-CFS-Uid: the file's user id at the time it was stored
• Castor-CFS-Gid: the file's group id at the time it was stored
• Castor-CFS-Mode: the file's permission mode in decimal at the time it was stored
The mechanisms to add both custom metadata and life cycle retention policies to files stored in DX
Storage via DX Storage CFS are outlined in the sections below.

3.6.1. Custom Metadata

The 'cfs-admin metadata' utility allows a root user to administer the custom metadata that is
attached to newly created files when they are ready to be stored in DX Storage (last file close plus
5 seconds). Custom metadata applies to all files stored in a particular mountpoint and, like all DX
Storage metadata, is immutable after the file is stored in DX Storage. Thus, changing the custom
metadata for a CFS file system will affect only new or modified files and will not change metadata for
files that were previously written. To add metadata to a mountpoint, execute the following command
as the root user:
$ sudo su -
# cfs-admin metadata --set [--name=NAME] [--value=VALUE] <mount-root>
where <mount-root> is the full path for the CFS mountpoint to which the metadata should be
attached. For example, to add an attribute of 'Department' with a value of 'Legal' to all files in the
legal mountpoint, you would execute the following command:
# cfs-admin metadata --set --name=Department --value=Legal /mnt/legal
Metadata names must be unique within a mountpoint and may contain up to 100 characters. A '--
set' command that uses a pre-existing metadata name with new or different values will overwrite the
previous values. By default, metadata is cached for 60 seconds so attachment of new or updated
metadata to new files written to the mountpoint will be delayed until the cache is refreshed.
To add multiple values for a name, simply append them with a separator. For instance, a mountpoint
that had files that applied to both the legal department and the accounting department might
have a metadata value of '--value=Legal, Accounting'. Metadata values may contain up to 1536
characters. A "no space left on device" error will be returned if the size limit is exceeded. ASCII
control characters are not supported and any preceding or trailing whitespace will be discarded from
both the name and the value.
To view all the existing metadata name/value pairs for a mountpoint, the 'get' action for the cfs-
admin metadata utility can be utilized. For instance, to view all metadata for the legal mountpoint the
following command would be executed:
# cfs-admin metadata --get /mnt/legal
Similarly, if you wanted to see the value for a particular metadata name, you would include the
name in the command. For example:
# cfs-admin metadata --get --name=Department
To delete a metadata attribute for a mountpoint, the 'delete' action for the cfs-admin metadata utility
can be executed. For instance, to delete the Department=Legal attribute example added to the legal
mountpoint above, the following command could be executed:
Copyright © 2011 Caringo, Inc.
All rights reserved
/mnt/legal
17
Version 2.6
February 2011