[LU-2164] mkfs.lustre segfaults when given improper options Created: 01/May/12  Updated: 19/Apr/13  Resolved: 17/Jan/13

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

Type: Bug Priority: Minor
Reporter: Cliff White (Inactive) Assignee: Alex Zhuravlev
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 2998

 Description   

After setting up a zpool, attempted to mkfs, with a thinko in the command:
Bad command:
mkfs.lustre --reformat --mgs --fsname lustre --backfstype=zfs mirror lustre-meta/mgs

Correct command:
mkfs.lustre --reformat --mgs --fsname lustre --backfstype=zfs lustre-meta/mgs

Result:
Segmentation fault (core dumped)



 Comments   
Comment by Alex Zhuravlev [ 12/Oct/12 ]

the ticket is still valid:

root@victim:/work/lustre/head/lustre-release/lustre/tests# ../utils/mkfs.lustre --reformat --mgs --fsname lustre --backfstype=zfs mirror lustre-meta/mgs

Permanent disk data:
Target: MGS
Index: unassigned
Lustre FS: lustre
Mount type: zfs
Flags: 0x64
(MGS first_time update )
Persistent mount opts:
Parameters:

Segmentation fault

Comment by Ned Bass [ 07/Nov/12 ]

Patch for review: http://review.whamcloud.com/4490

Comment by Alex Zhuravlev [ 17/Jan/13 ]

landed

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