# cd /mnt/lustre
# ls -a
. .. .lustre
# touch FILE
# stat FILE
File: `FILE'
Size: 0 Blocks: 0 IO Block: 2097152 regular empty file
Device: 2c54f966h/743766374d Inode: 144115205255725057 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2012-06-20 12:51:48.000000000 -0500
Modify: 2012-06-20 12:51:48.000000000 -0500
Change: 2012-06-20 12:51:48.000000000 -0500
# exec 3<FILE
# stat -L /proc/self/fd/3
File: `/proc/self/fd/3'
Size: 0 Blocks: 0 IO Block: 2097152 regular empty file
Device: 2c54f966h/743766374d Inode: 144115205255725057 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2012-06-20 12:51:48.000000000 -0500
Modify: 2012-06-20 12:51:48.000000000 -0500
Change: 2012-06-20 12:51:48.000000000 -0500
# rm FILE
# stat -L /proc/self/fd/3
File: `/proc/self/fd/3'
Size: 0 Blocks: 0 IO Block: 2097152 regular empty file
Device: 2c54f966h/743766374d Inode: 144115205255725057 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2012-06-20 12:51:48.000000000 -0500
Modify: 2012-06-20 12:51:48.000000000 -0500
Change: 2012-06-20 12:52:33.000000000 -0500
# lsof /mnt/lustre
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
bash 5579 root cwd DIR 1273,181606 4096 25003 /mnt/lustre
bash 5579 root 3r REG 1273,181606 0 144115205255725057 /mnt/lustre/FILE (deleted)
lsof 10806 root cwd DIR 1273,181606 4096 25003 /mnt/lustre
lsof 10807 root cwd DIR 1273,181606 4096 25003 /mnt/lustre
# sleep 3600
# stat -L /proc/self/fd/3
File: `/proc/self/fd/3'
Size: 0 Blocks: 0 IO Block: 2097152 regular empty file
Device: 2c54f966h/743766374d Inode: 144115205255725057 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2012-06-20 12:51:48.000000000 -0500
Modify: 2012-06-20 12:51:48.000000000 -0500
Change: 2012-06-20 12:52:33.000000000 -0500