Lustre File Level Replication (LU-3254)

[LU-3258] Command Line Tools Created: 01/May/13  Updated: 28/Feb/18  Resolved: 28/Feb/18

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.5.0
Fix Version/s: None

Type: Technical task Priority: Minor
Reporter: Jinshan Xiong (Inactive) Assignee: Jinshan Xiong (Inactive)
Resolution: Duplicate Votes: 1
Labels: None

Rank (Obsolete): 8064

 Description   

the following command line tools will be provided:
1. lfs raid1_merge
2. lfs raid1_split
3. lfs raid1_resync

Creating replication files directly won't be supported in this phase, because write to replication is not supported, it will be impossible to get a non-zero sized replication file.



 Comments   
Comment by Andreas Dilger [ 22/Aug/13 ]

This task should also include the functionality to make a replica copy of an existing file. I don't want the user tools to only do split/merge of a replicated file, but the user is required to write their own script to make a copy of the file.

Comment by Jinshan Xiong (Inactive) [ 22/Aug/13 ]

indeed. Things are a little easier than before since we have exclusive open. So let's define a command as:

lfs raid1_make_it_raid1 [options like lfs setstripe] <existing_file>

to turn an existing file into a raid1 file, or add one more copy to a raid1 file. In this command, the following steps will be performed:
1. create a temp file with speicified stripe pattern or default policy;
2. open the existing file exclusively;
3. copy the file content to the temp file;
4. lfs raid1_merge

However, this implementation of raid1_make_it_raid1 should have lower priority. The most important thing is still to finish the IO infrastructure.

Comment by Andreas Dilger [ 28/Feb/18 ]

Implemented as part of LU-9771.

Generated at Sat Feb 10 01:32:20 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.