Previous  |  Next  >  
Product: File System Manual Pages for Storage Foundation   
Manual: Maintenance Commands (1m)   

vxlsino

NAME

vxlsino - VxFS reverse path name lookup utility

SYNOPSIS


vxlsino [ -a ] inode_number mount_point

AVAILABILITY

VRTSvxfs

DESCRIPTION

The vxlsino command searches for and displays one path name of a file or directory with the specified inode number. If the -a option is specified, all path names of a file or directory with the specified inode number are displayed.

inode_number is the inode for which to find the path name.

mount_point specifies the mounted VxFS file system.

NOTES

vxlsino operates only on file systems using the Version 6 or higher disk layout.

Reverse path name lookup cannot track symbolic links to files.

vxlsino uses the vxfs_inotopath API to obtain the path name (see the vxfs_inotopath(3) manual page).

CLUSTER FILE SYSTEM ISSUES

No cluster issues; command operates the same on cluster file systems.

OPTIONS

-a

Displays all the path names of the specified inode number.

EXAMPLES

The following is an example of the reverse name lookup procedure on the file system /mnt1. List the contents of the directory:


$ ls -liR /mnt1
/mnt1:
total 0
   417 drwxrwxrwx   2 root  other  2048 Aug 24 17:02 dir1
   140 -rw-rw-rw-   1 root  other    12 Aug 24 17:02 file1
     3 drwxr-xr-x   2 root  root     96 Aug 24 17:02 lost+found
    80 -rw-rw-rw-   1 root  other     0 Aug 25 10:54 file3
/mnt1/dir1:
total 0
    480 -rw-rw-rw-  1 root  other     0 Aug 24 17:02 file2

To determine the single path name of inode number 140, enter:


$ vxlsino 140 /mnt1
/mnt1/file1

Create hard links to the file file3:


$ cd dir1
$ ln ../file3 file4
$ ln ../file3 file5
$ ls -li ../file3
80 -rw-rw-rw- 3 root  other  0 Aug 25 10:54 ../file3

To determine the single path name of inode number 80, enter:


$ vxlsino 80 /mnt1
/mnt1/file3

To determine all the path names of inode number 80, enter:


$ vxlsino -a 80 /mnt1
/mnt1/file3
/mnt1/dir/file4
/mnt1/dir1/file5

When an inode number corresponds to a VxFS named data stream, the file name is preceded by a dot (.). For example, if inode number 100 corresponds to the named data stream attributes of the file file2, the command displays the following output:


$ vxlsino 100 /mnt1
/mnt1/file2/./attributes

SEE ALSO

fcladm (1M), vxfs_inotopath (3)
 ^ Return to Top Previous  |  Next  >  
Product: File System Manual Pages for Storage Foundation  
Manual: Maintenance Commands (1m)  
VERITAS Software Corporation
www.veritas.com