Data-on-MDT phase II
(LU-10176)
|
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.12.0 |
| Type: | Technical task | Priority: | Major |
| Reporter: | Mikhail Pershin | Assignee: | Mikhail Pershin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | DoM2 | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||||||||||||||
| Description |
|
Make migration for DoM files with LFS command. This is not working out-of-box for Data-on-MDT files because it is not enough just change layout, data should be moved as well. |
| Comments |
| Comment by Mikhail Pershin [ 04/Jan/17 ] |
|
1) MDT to OST migration
2) OST to MDT
|
| Comment by Andreas Dilger [ 25/Nov/17 ] |
|
This should be able to use the existing FLR code paths on the client to open the MDT and OST components of the file for read/write to write under the other component. For some time at least this would become an FLR mirrored file, which is desirable to allow in any case. For FLR the DoM component would be preferred if the file size is below MDT size limit, and the OST component would be preferred if the file size is larger. |
| Comment by Gerrit Updater [ 10/Aug/18 ] |
|
Mike Pershin (mpershin@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/32979 |
| Comment by Andreas Dilger [ 11/Aug/18 ] |
|
How much work will it be to be able to do the reverse - to be able to migrate small files to the MDT? I'm thinking that the FLR resync ioctl to open the MDT component to "write behind" the OST object and then just drop the OST component. |
| Comment by Mikhail Pershin [ 11/Aug/18 ] |
|
well, my idea was to make that manually first with steps like:
and make it work, it is not working just out of box and requires code update to make DOM code understand FLR cases, e.g. DOM component can be not first one with FLR, but still should be first one inside a mirror, also we need to allow only one DOM component in all mirrors and so on. Next step will be implementing that in code as single call, probably with some optimizations. |
| Comment by Gerrit Updater [ 05/Oct/18 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32979/ |
| Comment by Peter Jones [ 06/Oct/18 ] |
|
Landed for 2.12 |