Enable and Disable Hard Link Attribute for Specified NSS Volume

0 Likes

Prerequisites




  1. Perl must be installed and running on the Linux server where this utility will be used.


  • nsscon must be installed.



Details



This tool can be used to enable and disable Hard Link attribute for specified nss volume.

It uses Virtual File Services (Originally called Virtual File Services for NetWare) and nsscon to enable or disable Hard Link attribute.

How to use the utility:



From a terminal prompt type:

Perl enableHardLink.pl <enter>



Following menu will be displayed:

1. Update Hard Link attribute
2. Exit



A sample output on selecting 1 would be:

<Lists all the volumes existing on the machine and prompts volume name>

----------------------------------------------------------------
Volume Name : VOL1
Host Pool : DONOTDELETE
Mount Point : /media/nss/VOL1
Block Size : 4096
Enabled Attributes : <salvage/><backup/>
----------------------------------------------------------------
Volume Name : VOL2
Host Pool : DONOTDELETE
Mount Point : /media/nss/VOL2
Block Size : 4096
Enabled Attributes : <salvage/><backup/>
----------------------------------------------------------------
Volume Name : VOL3
Host Pool : DONOTDELETE
Mount Point : /media/nss/VOL3
Block Size : 4096
Enabled Attributes : <salvage/><backup/>
----------------------------------------------------------------
Volume Name : VOL4
Host Pool : DONOTDELETE
Mount Point : /media/nss/VOL4
Block Size : 4096
Enabled Attributes : <salvage/><backup/>

volume name:
volume name: vol1
Enable or disable Hard Link attribute (enable/disable):e
---------------------------------------
Modifying Volume "VOL1"
VOL1 successfully updated
----------------------------------------



Note: If disable is selected and Hard Link is not enabled for the specified volume then tool will prompt Hard Link not enabled for the specified volume.

Labels:

Collateral
Comment List
Anonymous
Related Discussions
Recommended