While working on a server, you can use the nss /CreateHardLink command to create hard links for testing purposes only. In a production environment, use the Link (ln) command from a client instead, as described in Section 24.4, Creating a Hard Link Using Ln on an NSS Volume.
IMPORTANT:Do not use the nss /CreateHardLink command in a production environment.
The NSS volume must be upgraded to use the new metadata structure. For information, see Upgrading the NSS Media Format.
The Hard Links attribute must be enabled for the volume. For information, see Section 24.3, Enabling or Disabling the Hard Links Attribute.
Hard links must be created on the same volume as the original file.
To create a hard link for testing purposes on your server:
Issue the command at the NSS Console (nsscon) as the root user.
nss /CreateHardLink=PrimaryFilePath|HardLinkFilePath
Replace PrimaryFilePath with the complete volume name, pathname, and filename of the primary file. Replace HardLinkFilePath with the complete volume name, pathname, and filename of the new hard link.
IMPORTANT:The file paths are specified using the Long name space.
For example, to create a hard link on a volume named VOL1:
nss /CreateHardLink=VOL1:\path\file.ext|VOL1:\newpath\newfile.ext