Add additional clarification for Linux systems to error message.

This commit is contained in:
Brian Behlendorf 2009-10-26 10:50:43 -07:00
parent 757cbd422e
commit 37a519433c
1 changed files with 4 additions and 2 deletions

View File

@ -932,10 +932,12 @@ zpool_create(libzfs_handle_t *hdl, const char *pool, nvlist_t *nvroot,
* This can happen if the user has specified the same * This can happen if the user has specified the same
* device multiple times. We can't reliably detect this * device multiple times. We can't reliably detect this
* until we try to add it and see we already have a * until we try to add it and see we already have a
* label. * label. This can also happen under if the device is
* part of an active md or lvm device.
*/ */
zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, zfs_error_aux(hdl, dgettext(TEXT_DOMAIN,
"one or more vdevs refer to the same device")); "one or more vdevs refer to the same device, or one of\n"
"the devices is part of an active md or lvm device"));
return (zfs_error(hdl, EZFS_BADDEV, msg)); return (zfs_error(hdl, EZFS_BADDEV, msg));
case EOVERFLOW: case EOVERFLOW: