Data-on-MDT phase II
(LU-10176)
|
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.11.0 |
| Type: | Technical task | Priority: | Major |
| Reporter: | Mikhail Pershin | Assignee: | Mikhail Pershin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | DoM, HSM | ||
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
HSM functionality for DoM files to be supported and tested |
| Comments |
| Comment by Andreas Dilger [ 04/Dec/17 ] |
|
What does this mean exactly? Surely we don’t want to archive the small files from the MDT to tape, but it does make sense to allow PFL files with DoM components to be archived to tape and restored. IMHO, it makes sense to drop the DoM component when a larger PFL file is restored or migrated by lfs migrate, since the DoM component isn’t very useful at that point. |
| Comment by John Hammond [ 04/Dec/17 ] |
|
> Surely we don’t want to migrate the small files from the MDT to tape, We do want the ability to archive every kind of file. Right? |
| Comment by John Hammond [ 04/Dec/17 ] |
|
Also, migrate is not an HSM action. |
| Comment by Andreas Dilger [ 05/Dec/17 ] |
|
I agree we want to be able to archive DoM files, probably for backup purposes and for consistency, but it won't really save much space if they are released since the inode currently still needs to be kept on the MDT. For archiving many small files, and trees of directories with HSM stub inodes, I think it would make the most sense to archive the files via an ldiskfs filesystem image, which is more efficient for both the Lustre and archive. Upon access, the filesystem image could be restored from the archive to an OST object in one shot, and mounted internally on the MDT via osd-ldiskfs and directly exported to clients, rather than having thousands of archive restore actions. On the restore side, it doesn't really make sense to restore a large PFL file with a DoM first component vs. dropping the DoM component and just extending the first OST component to start at offset zero. For that matter, restoring any file should potentially drop the first component(s) and use the layout of the last instantiated component to determine the stripe count/size, since a PFL layout is most useful when the file size is not known in advance. |
| Comment by Mikhail Pershin [ 06/Dec/17 ] |
|
So let's summarize that a bit. There are tasks to support all above: |
| Comment by Gerrit Updater [ 08/Dec/17 ] |
|
Mike Pershin (mike.pershin@intel.com) uploaded a new patch: https://review.whamcloud.com/30449 |
| Comment by Gerrit Updater [ 03/Mar/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30449/ |
| Comment by Peter Jones [ 03/Mar/18 ] |
|
Landed for 2.11 |