|
About
TODO
Blog
RSS
Old blog
Projects
Gallery
Notes
Thu, 06 Dec 2007
A simple way to crash machine using XFS and DST.
./dst -n storage -A alg_mirror -d /dev/sda1 -R -s0 -S0this will overwrite the last sector of the /dev/sda1,
where XFS stores its metadata. Mounting XFS after that will lead
to almost 100% crash of the machine on 2.6.22 kernels because of some
bugs in XFS, which appear when XFS reads corrupted metadata from the
last sector.To work with DST you have to operate with /dev/dst-$storage-$num
devices (i.e. run mkfs.xfs /dev/dst-$storage-$num), and not with
underlying ones.
/devel/dst :: Link / Comments (0) Please solve this captcha to be allowed to post (need to reload in a minute): 61 - 44 Comments are closed for this story. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||