Re: GFS2/DLM deadlock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message -----
| I'm not clear on the two different inode numbers in the two lines
| above:
| Which n: number do I use to locate the file the lock is for? The one
| in the
| glock line or the one in the I: line? From RedHat docs I have read, I
| should convert the 81523 (from the '2/ 81523') to decimal, which is
|  533795,
| and then use 'find -inum 533795' to locate the file after the
| filesystem
| has been unfrozen.
| 
| I guess my confusion is the definition of a "disk inode's block
| address"
| versus an "inode disk address". Could you clarify the difference for
| me?

Hi,

Technically, there are two inode numbers in GFS2: The "formal inode number"
and the "block number" or "block address". You need only ever concern
yourself with the latter. The first number is not used for anything
(except possibly in NFS situations). In your example, the device block
address is 0x81523, which is 529699 (not 533795 which is 0x82523) decimal.
This is the value that "stat <file>" will return as "Inode:", and it's the
same value that is used by "find -inum <X>". Because we don't typically
use or care about the first number, we often use the terms "block address"
and "inode number" interchangeably, since really they're the same thing
in GFS2.

Regards,

Bob Peterson
Red Hat File Systems

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster


[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux