Re: question about the best suited RAID level/layout
From: Christoph Anton Mitterer <hidden>
Date: 2013-07-07 17:39:21
Attachments
- smime.p7s [application/x-pkcs7-signature] 5113 bytes
From: Christoph Anton Mitterer <hidden>
Date: 2013-07-07 17:39:21
On Sun, 2013-07-07 at 14:46 +0200, Bernd Schubert wrote:
The block layer has no knowledge which file a block belongs to.
Sure...
Even for file systems that is hard task to figure out, as only inodes store information which blocks they use. So if you would want to figure out the corresponding file, you first need to scan through all inodes and search for the specific block. Once you have the corresponding inode you need to find directory-entries referencing it. So lots of expensive reverse searching.
Well of course nothing that should run online in the RAID drivers... but when you have a tool like raid6check or similar... it sounds nice if it would tell you which files were affected (if any). Cheers, Chris.