libzfs_pool.c (333194) | libzfs_pool.c (339106) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 2822 unchanged lines hidden (view full) --- 2831 */ 2832 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, 2833 "new device must be a single disk")); 2834 (void) zfs_error(hdl, EZFS_INVALCONFIG, msg); 2835 break; 2836 2837 case EBUSY: 2838 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, "%s is busy, " | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 2822 unchanged lines hidden (view full) --- 2831 */ 2832 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, 2833 "new device must be a single disk")); 2834 (void) zfs_error(hdl, EZFS_INVALCONFIG, msg); 2835 break; 2836 2837 case EBUSY: 2838 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, "%s is busy, " |
2839 "or pool has removing/removed vdevs"), | 2839 "or device removal is in progress"), |
2840 new_disk); 2841 (void) zfs_error(hdl, EZFS_BADDEV, msg); 2842 break; 2843 2844 case EOVERFLOW: 2845 /* 2846 * The new device is too small. 2847 */ --- 1564 unchanged lines hidden --- | 2840 new_disk); 2841 (void) zfs_error(hdl, EZFS_BADDEV, msg); 2842 break; 2843 2844 case EOVERFLOW: 2845 /* 2846 * The new device is too small. 2847 */ --- 1564 unchanged lines hidden --- |