[LU-13357] striped directory doesn't support lookup Created: 11/Mar/20 Updated: 08/Aug/21 Resolved: 20/May/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.12.0 |
| Fix Version/s: | Lustre 2.14.0, Lustre 2.12.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Lai Siyao | Assignee: | Lai Siyao |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Severity: | 3 | ||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||
| Description |
|
The dt_index_operations::dio_lookup() function is not implemented for striped directory, which will cause subdirectory mount from a striped directory fail. # cd /system/ ### Setup test directories # lfs mkdir -c 1 -i 0 dir-mdt0-nostripe # lfs mkdir -c 1 -i 1 dir-mdt1-nostripe # lfs mkdir -c 2 dir-stripe # mkdir dir-mdt0-nostripe/mountme # mkdir dir-mdt1-nostripe/mountme # mkdir dir-stripe/mountme ### Attempt mounts # cd /tmp/lustremnt # mkdir mount-dir ### Successful mounts from the non-striped directories on either MDT # mount -t lustre 10.6.254.71@o2ib2:10.6.254.72@o2ib2:10.6.254.76@o2ib2:10.6.254.77@o2ib2:/testsys/dir-mdt0-nostripe/mountme mount-dir # umount # mount -t lustre 10.6.254.71@o2ib2:10.6.254.72@o2ib2:10.6.254.76@o2ib2:10.6.254.77@o2ib2:/testsys/dir-mdt1-nostripe/mountme mount-dir # umount ### Fails to mount from striped directory # mount -t lustre 10.6.254.71@o2ib2:10.6.254.72@o2ib2:10.6.254.76@o2ib2:10.6.254.77@o2ib2:/testsys/dir-stripe/mountme mount-dir mount.lustre: mount 10.6.254.71@o2ib2:10.6.254.72@o2ib2:10.6.254.76@o2ib2:10.6.254.77@o2ib2:/testsys/dir-stripe/mountme at /mnt/mount-dir failed: No such file or directory Is the MGS specification correct? Is the filesystem name correct? If upgrading, is the copied client log valid? (see upgrade docs) |
| Comments |
| Comment by Gerrit Updater [ 12/Mar/20 ] |
|
Lai Siyao (lai.siyao@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/37903 |
| Comment by Gerrit Updater [ 20/May/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37903/ |
| Comment by Peter Jones [ 20/May/20 ] |
|
Landed for 2.14 |
| Comment by Gerrit Updater [ 21/May/20 ] |
|
Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38691 |
| Comment by Gerrit Updater [ 10/Jun/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38691/ |
| Comment by Gerrit Updater [ 12/Jun/20 ] |
|
Oleg Drokin (green@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38923 |
| Comment by Gerrit Updater [ 12/Jun/20 ] |
|
Oleg Drokin (green@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38924 |
| Comment by Andreas Dilger [ 22/Jun/20 ] |
|
Do we need to reopen this issue? The b2_12 revert patch has not yet landed, and is also not in b2_12-next so it isn't clear if that is needed. |