To view a list of all hard links that exist for a volume: At the server console, enter
/nss /ListHardLinks=vol:path\filename.ext
Replace path with the file’s primary link path or one of its hard link paths where you want to start the search. Replace filename.ext with the actual filename of the file, including the extension.
The command returns a list of hard links, where the first link in the list is the primary link. The second link is the most recently created hard link. This is the hard link that becomes the new primary link if the primary link is deleted. All links for the file are listed in the order they appear in the metadata, which is also the order in which a new primary name would be assigned.
For example, if you wanted the hard link listed as name 4 in the list to become the primary link path, names 1 (the primary link), name 2 (the most recently created hard link), and name 3 (the next most recently created link), would each need to be deleted without creating any new links in the meantime.
IMPORTANT:Make sure that you are aware of the impact of the link deletion on the inherited rights for the file as you are deleting links and the primary link is reassigned to the next hard link in the list.
The list reports the following information for the file: