Whamcloud - gitweb
LU-1608 utils: require --fsname for mkfs.lustre
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 6 Jul 2012 19:41:46 +0000 (13:41 -0600)
committerOleg Drokin <green@whamcloud.com>
Mon, 20 Aug 2012 15:12:07 +0000 (11:12 -0400)
commitb07add7feea5bec23e54556238f28a63298203dc
treecceff6ddd65a9e8ea572603d294135e3bf8ac6db
parent5e04a816ea02cdbf4dfcbeac6f4df3ffb28f81b9
LU-1608 utils: require --fsname for mkfs.lustre

When formatting a filesystem, require that fsname is specified to
mkfs.lustre so that users have to think about this a bit.  In some
cases, two filesystems at the same site have used the same default
filesystem name, and this later caused problems when trying to mount
both filesystems on the same node.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I15a5ebb8d7d3afc6037587961e94dc66426bcf5d
Reviewed-on: http://review.whamcloud.com/3297
Tested-by: Hudson
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Reviewed-by: Li Wei <liwei@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/mkfs_lustre.c