libzfs_pool.c (332525) | libzfs_pool.c (332536) |
---|---|
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 --- 1795 unchanged lines hidden (view full) --- 1804 break; 1805 1806 case ENXIO: 1807 if (nv && nvlist_lookup_nvlist(nv, 1808 ZPOOL_CONFIG_LOAD_INFO, &nvinfo) == 0 && 1809 nvlist_lookup_nvlist(nvinfo, 1810 ZPOOL_CONFIG_MISSING_DEVICES, &missing) == 0) { 1811 (void) printf(dgettext(TEXT_DOMAIN, | 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 --- 1795 unchanged lines hidden (view full) --- 1804 break; 1805 1806 case ENXIO: 1807 if (nv && nvlist_lookup_nvlist(nv, 1808 ZPOOL_CONFIG_LOAD_INFO, &nvinfo) == 0 && 1809 nvlist_lookup_nvlist(nvinfo, 1810 ZPOOL_CONFIG_MISSING_DEVICES, &missing) == 0) { 1811 (void) printf(dgettext(TEXT_DOMAIN, |
1812 "The devices below are missing, use " 1813 "'-m' to import the pool anyway:\n")); | 1812 "The devices below are missing or " 1813 "corrupted, use '-m' to import the pool " 1814 "anyway:\n")); |
1814 print_vdev_tree(hdl, NULL, missing, 2); 1815 (void) printf("\n"); 1816 } 1817 (void) zpool_standard_error(hdl, error, desc); 1818 break; 1819 1820 case EEXIST: 1821 (void) zpool_standard_error(hdl, error, desc); --- 2535 unchanged lines hidden --- | 1815 print_vdev_tree(hdl, NULL, missing, 2); 1816 (void) printf("\n"); 1817 } 1818 (void) zpool_standard_error(hdl, error, desc); 1819 break; 1820 1821 case EEXIST: 1822 (void) zpool_standard_error(hdl, error, desc); --- 2535 unchanged lines hidden --- |