||04-12-2007 06:10 PM
how to map a physical disk block to a file
IHAC who has a system running RHEL 4 with a direct attached raid array. Recently a disk failed in the array. I replaced the drive, but the rebuild failed halfway through. The reason the rebuild failed was because another drive in the lun has some bad blocks. I've identified the bad blocks, but need a way to map these blocks to a particular file(s) so I can remove it/them and rebuild the array without any corruption and minimal data loss. Is there an easy way to map a physical disk block to a file? The file system is EXT3 and the luns are mounted using the device path (/dev/sde1). There are no LVMs.