Xfs.org talk:Anshul.kundra

From xfs.org
Revision as of 14:49, 15 October 2012 by Cattelan (talk | contribs) (xfs_db corrupting specific inode)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

To Developers I am using xfs utilities xfs_db, Suppose I want to corrupt a particular inode (inode no 131 ) in the file system present then will it be possible as per the manuals blocktrash in xfs_db randomly corrupt the blocks according to the type specified but if I use the xfs_db command like this

xfs_db "blockget -i <inode number (131)> " -c "blocktrash -t inode " device name

Then can it be possibe that the block I am corrupting is for inode with number 131. If it takes random blocks (inode ) then there will be no medium to corrupt the inode of our choice

I have tried but can be able to corrupt specific Inode can anybody correct me if I am using a wrong way for corrupting the inode

Thanks & Regards Anshul Kundra