[lustre-discuss] Moving files out of MDT ROOT/ directory
adilger at dilger.ca
Thu Dec 22 06:06:23 PST 2016
If you move them to CORRUPTED (either inside the namespace or outside) then Lustre shouldn't do anything further to them. That would also prevent the blocks from being reallocated.
The other option would be to run "e2fsck -l" and feed it the bad block numbers and have those stored in the ext4 bad blocks inode. That should prevent ext4 from ever reallocating those blocks again, but note that the badblocks feature is rarely used these days as most devices had internal bad block remapping.
On Dec 21, 2016, at 08:03, Tommi T <tommi_t77 at yahoo.com> wrote:
> We have 33 files/inodes which we'd like to move out MDT ROOT/ directory due to FS corruption issue. If I mount MDT as as ldiskfs and create some directory (e.g. CORRUPTED) and move corrupted files from ROOT/path/file to CORRUPTED, will lustre ignore those files?
> Another option is just mark those inodes as a used with debugfs so that e2fsck could "fix" the fs.
> Corruption is not lustre fault, something writes EFI partition label on top of lustre fs. It's exactly at $(fs size) - 2 TB location so atm. we suspect Qlogic FC card bios settings.
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lustre-discuss