[LU-2469] Test-framework.sh ignores MDSDEV when FSTYPE=zfs Created: 11/Dec/12 Updated: 03/Apr/16 Resolved: 22/Nov/13 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.4.0 |
| Fix Version/s: | Lustre 2.6.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Cliff White (Inactive) | Assignee: | Nathaniel Clark |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | zfs | ||
| Issue Links: |
|
||||||||||||||||||||
| Severity: | 3 | ||||||||||||||||||||
| Rank (Obsolete): | 5815 | ||||||||||||||||||||
| Description |
|
Test-framework.sh ignores MDSDEV here: mdsdevname() {
num=$1
DEVNAME=MDSDEV$num
local fstype=$(facet_fstype mds$num)
case $fstype in
ldiskfs )
#if $MDSDEVn isn't defined, default is $MDSDEVBASE + num
eval DEVPTR=${!DEVNAME:=${MDSDEVBASE}${num}};;
zfs )
#dataset name is independent of vdev device names
eval DEVPTR=${FSNAME}-mdt${num}/mdt${num};;
* )
error "unknown fstype!";;
esac
andreas suggests: |
| Comments |
| Comment by Nathaniel Clark [ 18/Dec/12 ] |
| Comment by Di Wang [ 08/Jan/13 ] |
|
This patch cause following error. Please check [root@testnode tests]# FSTYPE=zfs sh llmount.sh mkfs.lustre FATAL: Invalid filesystem name /tmp/lustre-mdt1 mkfs.lustre FATAL: unable to prepare backend (22) |
| Comment by Andreas Dilger [ 10/Jan/13 ] |
|
Oleg is reverting this patch due to the severe breakage. It needs to be fixed and resubmitted after it passes testing with ZFS enabled (using Test-Parameters. |
| Comment by Andreas Dilger [ 10/Jan/13 ] |
|
See http://wiki.whamcloud.com/plugins/servlet/content/view/8552564 |
| Comment by Nathaniel Clark [ 14/Jan/13 ] |
|
Reworked patch |
| Comment by Nathaniel Clark [ 19/Feb/13 ] |
|
Skip failing zfs tests: |
| Comment by Andreas Dilger [ 24/Sep/13 ] |
|
Patches for this bug are landed, should it be closed? |
| Comment by Jessica A. Popp (Inactive) [ 21/Nov/13 ] |
|
Nathaniel - Can this be closed? |
| Comment by Nathaniel Clark [ 22/Nov/13 ] |
|
Should this be cherry-picked for 2.5.1? |