Xfs.org talk:Anshul.kundra: Difference between revisions

From xfs.org
xfs_db corrupting specific inode
 
m Anshul.kundra moved page User:Anshul.kundra to XFS.org talk:Anshul.kundra: Query
(No difference)

Revision as of 14:50, 15 October 2012

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