[LU-9792] "loop" devices testing with zfs is broken Created: 23/Jul/17  Updated: 10/Jul/19  Resolved: 10/Jul/19

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

Type: Bug Priority: Major
Reporter: Oleg Drokin Assignee: Alex Zhuravlev
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-7884 utils: mkfs prevents the creation of ... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

LU-7884 landed a patch that touches a file before loopback mounting it and it works for ldiskfs,
but for zfs in utils/mkfs/mount_utils_zfs.c::zfs_create_vdev() we check if the file exists and if it does not, we create it with the specified size, but since the patch here creates the file, zfs vdev attachment always fails due to existign file of less than 64M.

Need to fix this up somehow, I guess.



 Comments   
Comment by Peter Jones [ 23/Feb/19 ]

https://review.whamcloud.com/34105

Comment by Gerrit Updater [ 10/Jul/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34105/
Subject: LU-9792 tests: t-f do not create empty files for ZFS
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 858c36a35ef71cb2787e36ce89de49a4a30cdd9c

Comment by Peter Jones [ 10/Jul/19 ]

Landed for 2.13

Generated at Sat Feb 10 02:29:19 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.