config_disk_file_system | Teradata DSA Commands - 17.20 - config_disk_file_system - BAR - Data Stream Architecture

Teradata® DSA User Guide

Product
BAR
Data Stream Architecture
Release Number
17.20
Release Date
October 2021
Content Type
User Guide
Publication ID
B035-3150-101K
Language
English (United States)

Purpose

The config_disk_file_system command configures the disk file system in the DSA repository.

Syntax

config_disk_file_system -f|-file FILE

Example

dsc config_disk_file_system -f configDiskFileSystem.xml

Parameters

f|file filename
The full path and name of the file containing the necessary configuration parameters.
Example: configDiskFileSystem.xml
u|user_authentication User
Required when security management is enabled. Supplies the command with the Viewpoint user, and triggers a password prompt for authentication.

Permissions required: Administrator role

Usage Notes

File system names must be unique, fully qualified path names that begin with a forward slash, for example, /dev/mnt1.

File system names cannot differ by case alone. For example, both /dev/mnt1 and /dev/Mnt1 cannot be configured.

XML File Example

The sample XML file below contains the required parameters to configure the disk file system. The file_system parameter should use an absolute path, for example, /tmp/dsu_mnt.
<?xml version="1.0" encoding="UTF-8"?>

            <!--****The command below must be on one line.****-->
<dscConfigDiskFileSystem xmlns="http://schemas.teradata.com/v2012/DSC"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://schemas.teradata.com/v2012/DSC DSC.xsd">

  <file_system_list>
    <!-- 'file_system' - Required, max characters 4096 -->
    <file_system>/tmp/barms1-1</file_system>
    <!-- 'max_files' - Required, Linux max file descriptor, use max number of streams for data domain system -->
    <max_files>200</max_files>
  </file_system_list>
  <file_system_list>
    <!-- 'file_system' - Required, max characters 4096, use absolute path  -->
    <file_system>/tmp/barms1-2</file_system>
	<!-- 'max_files' - Required, Linux max file descriptor, use max number of streams for data domain system -->
    <max_files>6</max_files>
  </file_system_list>
  <file_system_list>
    <!-- 'file_system' - Required, max characters 4096, use absolute path  -->
    <file_system>/tmp/barms1-3</file_system>
	<!-- 'max_files' - Required, Linux max file descriptor, use max number of streams for data domain system -->
    <max_files>6</max_files>
  </file_system_list>
  <file_system_list>
    <!-- 'file_system' - Required, max characters 4096, use absolute path  -->
    <file_system>/tmp/barms2-1</file_system>
	<!-- 'max_files' - Required, Linux max file descriptor, use max number of streams for data domain system -->
    <max_files>200</max_files>
  </file_system_list>
  <file_system_list>
    <!-- 'file_system' - Required, max characters 4096, use absolute path  -->
    <file_system>/tmp/barms2-2</file_system>
	<!-- 'max_files' - Required, Linux max file descriptor, use max number of streams for data domain system -->
    <max_files>6</max_files>
  </file_system_list>
  <file_system_list>
    <!-- 'file_system' - Required, max characters 4096, use absolute path  -->
    <file_system>/tmp/barms3-1</file_system>
	<!-- 'max_files' - Required, Linux max file descriptor, use max number of streams for data domain system -->
    <max_files>4</max_files>
  </file_system_list>
</dscConfigDiskFileSystem>