Chapter 7 Administrative Procedures
© 2017 Harmonic Inc. All rights reserved.
207
Harmonic MediaGrid Release 4.1
Enabling Directories with More than 15 Levels
CAUTION:
All ContentDirectors in your system must be running release 3.4 before enabling deeper
directories. The section
What You Might See in an Inconsistent Cluster
below gives an example of the
anomalies you might experience if this requirement is not met.
CAUTION:
The client FSD must be running 3.4 in order to use this feature. There are known issues with
all file system drivers (Windows, Mac, and Linux) running version 3.3 or earlier when path names exceed
1000 bytes. Please keep file paths below this length until you have version 3.4 or later installed on your
FSD clients.
CAUTION:
If you do not understand the procedures or recommendations described in this section, please
consult with Technical Support before proceeding.
To enable directories with more than 15 levels:
1. Make sure all ContentDirectors in your system are up and running.
2. Log in to one of the ContentDirectors as root, and use the “mdsclientn” command in a
running cluster to add a config file, which enables deeper directories. See the following
example:
# echo 1 > /tmp/yes
# /opt/omcld/bin/mdsclientn localhost
mdsclientn: built by mgrid-builds on 2014.... ......
Opened default session of ......
=> session authenticate <username> <password>
Authenticated successfully
Session = .....
=> configfile add /tmp/yes no_dir_depth_limit
The add was successful (2 bytes)
Support for directories with more than 15 levels will be enabled on all members of the cluster, and
will be automatically enabled on any members which are added to a running cluster later.
NOTE:
Any ContentDirectors, which start up while the current cluster members are down will not receive
the changes so Harmonic recommends first having all ContentDirectors running at this point.
Client applications will now be able to create directories whose depth is only limited by the overall
path limit (1024 bytes, which will be fewer than 1024 characters for non-ASCII character sets).
The “configfile list” command may be used to check whether the file is present. See the following
example:
=> configfile list
2 names were returned:
clusteruid
no_dir_depth_limit
Disabling Directories with More than 15 Levels
To disable deeper directories, remove the config file, which was added to enable it.
To disable directories with more than 15 levels:
1. Make sure all ContentDirectors in your system are up and running.