Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Lustre 2.5.3
-
None
-
TOSS 2.4-9
-
2
-
9223372036854775807
Description
After a power outage we encountered a hardware error on one of our storage devices that essentially corrupted ~30 files on one of the OSTs. Since then the OST has been read-only and is throwing the following log messages:
[ 351.029519] LustreError: 8974:0:(ofd_obd.c:1376:ofd_create()) fscratch-OST0001: unable to precreate: rc = -5
[ 360.762505] LustreError: 8963:0:(ofd_obd.c:1376:ofd_create()) fscratch-OST0001: unable to precreate: rc = -5
[ 370.784372] LustreError: 8974:0:(ofd_obd.c:1376:ofd_create()) fscratch-OST0001: unable to precreate: rc = -5
I have scrubbed the device in question and rebooted the system bring up the server normally but I am still unable to create a file on that OST.
zpool status -v reports the damaged files and recommended restoring from backup and I'm inclined to simply removing the files. I know how to do this with ldiskfs but I don't know how to with ZFS. At this point I don't know how to proceed.
Attachments
Issue Links
- is related to
-
LU-7585 Implement OI Scrub for ZFS
-
- Resolved
-
So just to be clear, if I do a stat on a particular file in ROOT/O/<username> that could be wildly different than the associated object on the OST? For example I have a file similar to this:
File: `jamervi/scripts/check-key-image-files'
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: fd00h/64768d Inode: 844107533 Links: 1
Access: (0700/
rwx-----) Uid: ( 0/ root) Gid: ( 0/ root)Access: 2015-04-14 13:54:09.000000000 -0600
Modify: 2015-04-14 11:31:58.000000000 -0600
Change: 2015-04-14 11:31:58.000000000 -0600
Is it possible that what is stored on the OST could be perhaps a year or more different?
I am not particularly interested in the file sizes. What I need is a WAG at the age of the files on the file system.