[LU-4015] Have ldiskfs handle changing device numbers for an external journal Created: 26/Sep/13  Updated: 31/Dec/13  Resolved: 20/Dec/13

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.4.1, Lustre 2.5.0
Fix Version/s: Lustre 2.6.0, Lustre 2.4.2, Lustre 2.5.1

Type: Improvement Priority: Major
Reporter: James A Simmons Assignee: James Nunez (Inactive)
Resolution: Fixed Votes: 0
Labels: patch
Environment:

MDT server with a installed RHEL6.4 distro. The MDT uses a external journal.


Rank (Obsolete): 10760

 Description   

For linux the block device name always maps to the UUID but this is not the case for device numbers. Usually this is not a problem but if you use a external journal and after a reboot the device number change will prevent the MDT from mounting. The proper solution is to add a mount option for ldiskfs to locate the journal using the device path instead of the device number.



 Comments   
Comment by James Nunez (Inactive) [ 26/Sep/13 ]

James,

Will you be uploading a patch?

Thanks,
James

Comment by James A Simmons [ 26/Sep/13 ]

http://review.whamcloud.com/#/c/7777

Comment by James A Simmons [ 14/Nov/13 ]

Patch has been updated. Will need back ports to 2.4 and 2.5 as well.

Comment by James A Simmons [ 18/Nov/13 ]

Rebased patch is ready for review.

Comment by James A Simmons [ 02/Dec/13 ]

Now to backport patches for b2_4 and b2_5

Comment by James A Simmons [ 03/Dec/13 ]

Appears the patch landed to master can be cherry picked to b2_5. Lustre 2.4 will need a new patch since it doesn't support SLES11 SP3.

Comment by James A Simmons [ 03/Dec/13 ]

Patch for b2_4 - http://review.whamcloud.com/#/c/8471

Comment by Jian Yu [ 17/Dec/13 ]

Patch landed on Lustre b2_4 branch for 2.4.2.

Comment by Peter Jones [ 20/Dec/13 ]

Landed for 2.4.2 and 2.6. Will land for 2.5.1 shortly.

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