Tool
Prerequisites
- Perl must be installed and running on the Linux server where this utility will be used.
- NSS must be installed to get the VFS support.
(The SDK for this API set can be downloaded from http://developer.novell.com/wiki/index.php/Virtual....) - 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 ----------------------------------------
| Bilaga | Storlek |
|---|---|
| enableHardLink.pl.txt | 7.24 kB |
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.
Related Articles
User Comments
- Be the first to comment! To leave a comment you need to Login or Register
- 5755 reads


0