[LU-4227] mkfs.lustre allows formatting without --mgsnode Created: 07/Nov/13 Updated: 05/Jun/15 Resolved: 16/Jun/14 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.6.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Andreas Dilger | Assignee: | Emoly Liu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 11511 |
| Description |
|
Was just formatting a second MDT for a test filesystem by hand, and forgot to add --mgsnode= to the mkfs.lustre options. This succeeded, but failed when the MDT was mounted: mount -t lustre /dev/vg_sookie/lvmdt2 /mnt/mds2 mount.lustre: missing option mgsnode=<nid> This should really be a required option for mkfs.lustre, since no target is usable without this. |
| Comments |
| Comment by Robert Read (Inactive) [ 08/Nov/13 ] |
|
I would prefer to see target initialization divided into two steps: low level formatting, and the registration with a specific Lustre filesystem. The initial step would initialize ldiskfs, and the second step would assign the index, NIDs, mgsnode, etc, and then register it with the MGS. |
| Comment by Emoly Liu [ 25/Nov/13 ] |
|
patch tracking at: http://review.whamcloud.com/8387 |
| Comment by Emoly Liu [ 16/Jun/14 ] |
|
The patch landed to 2.6. |