Whamcloud - gitweb
LU-1946 mount: Print more helpful message on EBUSY
authorPrakash Surya <surya1@llnl.gov>
Thu, 13 Sep 2012 23:45:01 +0000 (16:45 -0700)
committerOleg Drokin <green@whamcloud.com>
Mon, 24 Sep 2012 06:23:48 +0000 (02:23 -0400)
commit308459747b4be593cfa8e2108a3a17c4a4059e23
tree118d625527fd696cdde3a13a80fd3f0f206df097
parent85639923b9583c9c62a6653fe133b9014f216bb2
LU-1946 mount: Print more helpful message on EBUSY

If the mount function returns EBUSY, there is a chance that the
backend filesystem is mounted through the Posix layer. Specifically,
when using a ZFS backend EBUSY will be returned in this use case. As an
aid the to end user, this patch prints a message intended to help the
user diagnose and fix the issue.

Signed-off-by: Prakash Surya <surya1@llnl.gov>
Change-Id: I7bacbb74c1e76efbbea60f76049a9356d601d246
Reviewed-on: http://review.whamcloud.com/3997
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Bobi Jam <bobijam@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/utils/mount_lustre.c