Date: Mon, 24 Jul 2017 09:47:40 +0500 From: "Eugene M. Zheganin" <emz@norma.perm.ru> To: freebsd-stable@freebsd.org Subject: Re: cannot destroy faulty zvol Message-ID: <af3c7e75-cb75-6f6b-1255-520985decaa1@norma.perm.ru> In-Reply-To: <c604f49c-f47e-bc73-ea1c-93943053f60e@norma.perm.ru> References: <73ed4a4d-a156-457a-37d3-12d7ef4f89b9@norma.perm.ru> <c604f49c-f47e-bc73-ea1c-93943053f60e@norma.perm.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi. On 23.07.2017 0:28, Eugene M. Zheganin wrote: > Hi, > > On 22.07.2017 17:08, Eugene M. Zheganin wrote: >> >> is this weird error "cannot destroy: already exists" related to the >> fact that the zvol is faulty ? Does it indicate that metadata is >> probably faulty too ? Anyway, is there a way to destroy this dataset ? > Follow-up: I sent a similar zvol of the thexactly same size into the > faulty one, zpool errors are gone, still cannot destroy the zvol. Is > this a zfs bug ? Seems like it. zdb shows some "invisible" dataset not shown by zfs list -t all, one of them is a child dataset of the one I'm trying to destroy: # zdb -d zfsroot Dataset mos [META], ID 0, cr_txg 4, 60.7M, 1078 objects Dataset zfsroot/usr/src [ZPL], ID 1181, cr_txg 59832, 1.03G, 158964 objects Dataset zfsroot/usr/home [ZPL], ID 1197, cr_txg 59911, 21.7M, 551 objects Dataset zfsroot/usr/ports [ZPL], ID 1189, cr_txg 59881, 887M, 335670 objects Dataset zfsroot/usr [ZPL], ID 1173, cr_txg 59829, 23.0K, 7 objects Dataset zfsroot/tmp [ZPL], ID 1253, cr_txg 59931, 6.66G, 480610 objects Dataset zfsroot/userdata/worker226 [ZVOL], ID 940, cr_txg 59580, 12.0K, 2 objects Dataset zfsroot/userdata/worker251 [ZVOL], ID 948, cr_txg 59583, 132M, 2 objects Dataset zfsroot/userdata/worker152 [ZVOL], ID 924, cr_txg 59551, 928M, 2 objects Dataset zfsroot/userdata/worker125 [ZVOL], ID 932, cr_txg 59566, 997M, 2 objects Dataset zfsroot/userdata/worker158 [ZVOL], ID 916, cr_txg 59536, 498M, 2 objects Dataset zfsroot/userdata/worker214 [ZVOL], ID 908, cr_txg 59530, 736M, 2 objects Dataset zfsroot/userdata/worker160 [ZVOL], ID 900, cr_txg 59524, 774M, 2 objects Dataset zfsroot/userdata/worker184 [ZVOL], ID 892, cr_txg 59518, 609M, 2 objects Dataset zfsroot/userdata/worker235 [ZVOL], ID 1012, cr_txg 59663, 1.62G, 2 objects Dataset zfsroot/userdata/worker242 [ZVOL], ID 1021, cr_txg 59674, 96.1M, 2 objects Dataset zfsroot/userdata/worker248 [ZVOL], ID 1004, cr_txg 59660, 153M, 2 objects Dataset zfsroot/userdata/worker141 [ZVOL], ID 988, cr_txg 59631, 1014M, 2 objects Dataset zfsroot/userdata/worker136 [ZVOL], ID 996, cr_txg 59646, 995M, 2 objects Dataset zfsroot/userdata/worker207 [ZVOL], ID 980, cr_txg 59617, 577M, 2 objects Dataset zfsroot/userdata/worker179 [ZVOL], ID 972, cr_txg 59602, 801M, 2 objects Dataset zfsroot/userdata/worker197 [ZVOL], ID 964, cr_txg 59595, 383M, 2 objects Dataset zfsroot/userdata/worker173 [ZVOL], ID 956, cr_txg 59586, 1.26G, 2 objects Dataset zfsroot/userdata/worker190 [ZVOL], ID 1085, cr_txg 59757, 236M, 2 objects Dataset zfsroot/userdata/worker174 [ZVOL], ID 1077, cr_txg 59743, 2.11G, 2 objects Dataset zfsroot/userdata/worker200 [ZVOL], ID 1069, cr_txg 59732, 260M, 2 objects Dataset zfsroot/userdata/worker131 [ZVOL], ID 1053, cr_txg 59711, 792M, 2 objects Dataset zfsroot/userdata/worker146 [ZVOL], ID 1061, cr_txg 59725, 418M, 2 objects Dataset zfsroot/userdata/worker245 [ZVOL], ID 1037, cr_txg 59692, 208M, 2 objects Dataset zfsroot/userdata/worker232 [ZVOL], ID 1045, cr_txg 59695, 527M, 2 objects Dataset zfsroot/userdata/worker238 [ZVOL], ID 1029, cr_txg 59677, 1.94G, 2 objects Dataset zfsroot/userdata/worker167 [ZVOL], ID 1165, cr_txg 59823, 4.43G, 2 objects Dataset zfsroot/userdata/worker189 [ZVOL], ID 1157, cr_txg 59817, 326M, 2 objects Dataset zfsroot/userdata/worker183 [ZVOL], ID 1149, cr_txg 59811, 1.18G, 2 objects Dataset zfsroot/userdata/worker219 [ZVOL], ID 1141, cr_txg 59808, 12.0K, 2 objects Dataset zfsroot/userdata/worker213 [ZVOL], ID 1133, cr_txg 59802, 1.04G, 2 objects Dataset zfsroot/userdata/worker122 [ZVOL], ID 1117, cr_txg 59782, 1.05G, 2 objects Dataset zfsroot/userdata/worker155 [ZVOL], ID 1125, cr_txg 59790, 963M, 2 objects Dataset zfsroot/userdata/worker128 [ZVOL], ID 1109, cr_txg 59769, 1.67G, 2 objects Dataset zfsroot/userdata/worker256 [ZVOL], ID 1093, cr_txg 59763, 602K, 2 objects Dataset zfsroot/userdata/worker221 [ZVOL], ID 1101, cr_txg 59766, 12.0K, 2 objects Dataset zfsroot/userdata/worker126 [ZVOL], ID 666, cr_txg 59194, 781M, 2 objects Dataset zfsroot/userdata/worker151 [ZVOL], ID 674, cr_txg 59205, 435M, 2 objects Dataset zfsroot/userdata/worker252 [ZVOL], ID 650, cr_txg 59188, 127M, 2 objects Dataset zfsroot/userdata/worker225 [ZVOL], ID 658, cr_txg 59191, 12.0K, 2 objects Dataset zfsroot/userdata/worker187 [ZVOL], ID 642, cr_txg 59171, 2.55G, 2 objects Dataset zfsroot/userdata/worker169 [ZVOL], ID 634, cr_txg 59157, 359M, 2 objects Dataset zfsroot/userdata/worker163 [ZVOL], ID 626, cr_txg 59139, 2.30G, 2 objects Dataset zfsroot/userdata/worker217 [ZVOL], ID 618, cr_txg 59136, 12.0K, 2 objects Dataset zfsroot/userdata/worker135 [ZVOL], ID 731, cr_txg 59301, 1.36G, 2 objects Dataset zfsroot/userdata/worker142 [ZVOL], ID 739, cr_txg 59315, 468M, 2 objects Dataset zfsroot/userdata/worker148 [ZVOL], ID 723, cr_txg 59288, 1.21G, 2 objects Dataset zfsroot/userdata/worker241 [ZVOL], ID 707, cr_txg 59265, 758M, 2 objects Dataset zfsroot/userdata/worker236 [ZVOL], ID 715, cr_txg 59268, 351M, 2 objects Dataset zfsroot/userdata/worker170 [ZVOL], ID 699, cr_txg 59249, 440M, 2 objects Dataset zfsroot/userdata/worker194 [ZVOL], ID 691, cr_txg 59234, 1.63G, 2 objects Dataset zfsroot/userdata/worker204 [ZVOL], ID 683, cr_txg 59218, 981M, 2 objects Dataset zfsroot/userdata/worker209 [ZVOL], ID 819, cr_txg 59421, 840M, 2 objects Dataset zfsroot/userdata/worker203 [ZVOL], ID 811, cr_txg 59410, 650M, 2 objects Dataset zfsroot/userdata/worker199 [ZVOL], ID 803, cr_txg 59398, 999M, 2 objects Dataset zfsroot/userdata/worker177/worker121@candidate [ZVOL], ID 1606, cr_txg 54888377, 708M, 2 objects Dataset zfsroot/userdata/worker177/worker121 [ZVOL], ID 1603, cr_txg 54888370, 708M, 2 objects Dataset zfsroot/userdata/worker177 [ZVOL], ID 1597, cr_txg 54888367, 12.0K, 2 objects Dataset zfsroot/userdata/worker193 [ZVOL], ID 787, cr_txg 59377, 1.02G, 2 objects Dataset zfsroot/userdata/worker231 [ZVOL], ID 771, cr_txg 59360, 723M, 2 objects Dataset zfsroot/userdata/worker246 [ZVOL], ID 779, cr_txg 59374, 148M, 2 objects Dataset zfsroot/userdata/worker145 [ZVOL], ID 755, cr_txg 59351, 3.09G, 2 objects Dataset zfsroot/userdata/worker132 [ZVOL], ID 763, cr_txg 59357, 176M, 2 objects Dataset zfsroot/userdata/worker138 [ZVOL], ID 747, cr_txg 59337, 967M, 2 objects Dataset zfsroot/userdata/worker210 [ZVOL], ID 884, cr_txg 59500, 2.35G, 2 objects Dataset zfsroot/userdata/worker180 [ZVOL], ID 875, cr_txg 59482, 2.59G, 2 objects Dataset zfsroot/userdata/worker164 [ZVOL], ID 867, cr_txg 59467, 2.41G, 2 objects Dataset zfsroot/userdata/worker222 [ZVOL], ID 851, cr_txg 59461, 12.0K, 2 objects Dataset zfsroot/userdata/worker255 [ZVOL], ID 859, cr_txg 59464, 80.4M, 2 objects Dataset zfsroot/userdata/worker228 [ZVOL], ID 843, cr_txg 59458, 12.0K, 2 objects Dataset zfsroot/userdata/worker156/worker121@candidate [ZVOL], ID 1558, cr_txg 54888340, 708M, 2 objects Dataset zfsroot/userdata/worker156/worker121 [ZVOL], ID 1555, cr_txg 54888332, 708M, 2 objects Dataset zfsroot/userdata/worker156 [ZVOL], ID 1549, cr_txg 54888329, 12.0K, 2 objects Dataset zfsroot/userdata/worker121 [ZVOL], ID 835, cr_txg 59450, 708M, 2 objects Dataset zfsroot/userdata/worker182/worker121@candidate [ZVOL], ID 1678, cr_txg 55113277, 708M, 2 objects Dataset zfsroot/userdata/worker182/worker121 [ZVOL], ID 1675, cr_txg 55113271, 708M, 2 objects Dataset zfsroot/userdata/worker182 [ZVOL], ID 1669, cr_txg 55113268, 12.0K, 2 objects Dataset zfsroot/userdata/worker166 [ZVOL], ID 401, cr_txg 58842, 865M, 2 objects Dataset zfsroot/userdata/worker188 [ZVOL], ID 393, cr_txg 58828, 566M, 2 objects Dataset zfsroot/userdata/worker212 [ZVOL], ID 385, cr_txg 58812, 595M, 2 objects Dataset zfsroot/userdata/worker218 [ZVOL], ID 377, cr_txg 58809, 12.0K, 2 objects Dataset zfsroot/userdata/worker129 [ZVOL], ID 369, cr_txg 58798, 545M, 2 objects Dataset zfsroot/userdata/worker154 [ZVOL], ID 353, cr_txg 58774, 344M, 2 objects Dataset zfsroot/userdata/worker123 [ZVOL], ID 361, cr_txg 58787, 877M, 2 objects Dataset zfsroot/userdata/worker220 [ZVOL], ID 345, cr_txg 58771, 12.0K, 2 objects Dataset zfsroot/userdata/worker175 [ZVOL], ID 473, cr_txg 58947, 1.08G, 2 objects Dataset zfsroot/userdata/worker191 [ZVOL], ID 465, cr_txg 58933, 563M, 2 objects Dataset zfsroot/userdata/worker201/worker121@candidate [ZVOL], ID 1621, cr_txg 54888389, 708M, 2 objects Dataset zfsroot/userdata/worker201/worker121 [ZVOL], ID 1618, cr_txg 54888382, 708M, 2 objects Dataset zfsroot/userdata/worker201 [ZVOL], ID 1612, cr_txg 54888379, 12.0K, 2 objects Dataset zfsroot/userdata/worker147 [ZVOL], ID 441, cr_txg 58884, 2.59G, 2 objects Dataset zfsroot/userdata/worker130 [ZVOL], ID 449, cr_txg 58900, 597M, 2 objects Dataset zfsroot/userdata/worker239/worker121@candidate [ZVOL], ID 1703, cr_txg 55113548, 708M, 2 objects Dataset zfsroot/userdata/worker239/worker121 [ZVOL], ID 1700, cr_txg 55113542, 708M, 2 objects Dataset zfsroot/userdata/worker239 [ZVOL], ID 1694, cr_txg 55113536, 12.0K, 2 objects Dataset zfsroot/userdata/worker233 [ZVOL], ID 417, cr_txg 58854, 2.92G, 2 objects Dataset zfsroot/userdata/worker244 [ZVOL], ID 425, cr_txg 58872, 12.0K, 2 objects Dataset zfsroot/userdata/worker249 [ZVOL], ID 546, cr_txg 59061, 366M, 2 objects Dataset zfsroot/userdata/worker243 [ZVOL], ID 530, cr_txg 59044, 270M, 2 objects Dataset zfsroot/userdata/worker234 [ZVOL], ID 538, cr_txg 59047, 918M, 2 objects Dataset zfsroot/userdata/worker137 [ZVOL], ID 514, cr_txg 59011, 783M, 2 objects Dataset zfsroot/userdata/worker140 [ZVOL], ID 522, cr_txg 59025, 3.35G, 2 objects Dataset zfsroot/userdata/worker206 [ZVOL], ID 506, cr_txg 58984, 555M, 2 objects Dataset zfsroot/userdata/worker172 [ZVOL], ID 498, cr_txg 58971, 566M, 2 objects Dataset zfsroot/userdata/worker178 [ZVOL], ID 490, cr_txg 58964, 654M, 2 objects Dataset zfsroot/userdata/worker196 [ZVOL], ID 482, cr_txg 58961, 411M, 2 objects Dataset zfsroot/userdata/worker250 [ZVOL], ID 602, cr_txg 59130, 178M, 2 objects Dataset zfsroot/userdata/worker227 [ZVOL], ID 610, cr_txg 59133, 12.0K, 2 objects Dataset zfsroot/userdata/worker159/worker121@candidate [ZVOL], ID 1576, cr_txg 54888352, 708M, 2 objects Dataset zfsroot/userdata/worker159/worker121 [ZVOL], ID 1570, cr_txg 54888345, 708M, 2 objects Dataset zfsroot/userdata/worker159 [ZVOL], ID 1564, cr_txg 54888342, 12.0K, 2 objects Dataset zfsroot/userdata/worker124/worker121@candidate [ZVOL], ID 1528, cr_txg 54888291, 708M, 2 objects Dataset zfsroot/userdata/worker124/worker121 [ZVOL], ID 1525, cr_txg 54888285, 708M, 2 objects Dataset zfsroot/userdata/worker124 [ZVOL], ID 1470, cr_txg 54888220, 12.0K, 2 objects Dataset zfsroot/userdata/worker153 [ZVOL], ID 586, cr_txg 59121, 455M, 2 objects Dataset zfsroot/userdata/worker215/worker121@candidate [ZVOL], ID 1636, cr_txg 54888401, 708M, 2 objects Dataset zfsroot/userdata/worker215/worker121 [ZVOL], ID 1633, cr_txg 54888394, 708M, 2 objects Dataset zfsroot/userdata/worker215 [ZVOL], ID 1627, cr_txg 54888391, 12.0K, 2 objects Dataset zfsroot/userdata/worker185 [ZVOL], ID 562, cr_txg 59070, 507M, 2 objects Dataset zfsroot/userdata/worker161/worker121@candidate [ZVOL], ID 1591, cr_txg 54888365, 708M, 2 objects Dataset zfsroot/userdata/worker161/worker121 [ZVOL], ID 1588, cr_txg 54888357, 708M, 2 objects Dataset zfsroot/userdata/worker161 [ZVOL], ID 1582, cr_txg 54888354, 12.0K, 2 objects Dataset zfsroot/userdata/worker211 [ZVOL], ID 127, cr_txg 58470, 240M, 2 objects Dataset zfsroot/userdata/worker165 [ZVOL], ID 119, cr_txg 58456, 547M, 2 objects Dataset zfsroot/userdata/worker181 [ZVOL], ID 111, cr_txg 58442, 1.16G, 2 objects Dataset zfsroot/userdata/worker229 [ZVOL], ID 103, cr_txg 58426, 2.96G, 2 objects Dataset zfsroot/userdata/worker254 [ZVOL], ID 87, cr_txg 58420, 87.4M, 2 objects Dataset zfsroot/userdata/worker223 [ZVOL], ID 95, cr_txg 58423, 12.0K, 2 objects Dataset zfsroot/userdata/worker157 [ZVOL], ID 79, cr_txg 58414, 224M, 2 objects Dataset zfsroot/userdata/worker202 [ZVOL], ID 208, cr_txg 58565, 1.75G, 2 objects Dataset zfsroot/userdata/worker208/worker121@candidate [ZVOL], ID 1654, cr_txg 54888514, 708M, 2 objects Dataset zfsroot/userdata/worker208/worker121 [ZVOL], ID 1651, cr_txg 54888488, 708M, 2 objects Dataset zfsroot/userdata/worker208 [ZVOL], ID 1645, cr_txg 54888482, 12.0K, 2 objects Dataset zfsroot/userdata/worker192 [ZVOL], ID 191, cr_txg 58544, 1.36G, 2 objects Dataset zfsroot/userdata/worker198 [ZVOL], ID 183, cr_txg 58530, 619M, 2 objects Dataset zfsroot/userdata/worker176 [ZVOL], ID 175, cr_txg 58523, 506M, 2 objects Dataset zfsroot/userdata/worker247 [ZVOL], ID 159, cr_txg 58514, 119M, 2 objects Dataset zfsroot/userdata/worker230 [ZVOL], ID 167, cr_txg 58517, 532M, 2 objects Dataset zfsroot/userdata/worker139 [ZVOL], ID 151, cr_txg 58499, 1.93G, 2 objects Dataset zfsroot/userdata/worker133 [ZVOL], ID 135, cr_txg 58477, 925M, 2 objects Dataset zfsroot/userdata/worker144 [ZVOL], ID 143, cr_txg 58493, 582M, 2 objects Dataset zfsroot/userdata/worker149 [ZVOL], ID 272, cr_txg 58684, 330M, 2 objects Dataset zfsroot/userdata/worker143 [ZVOL], ID 256, cr_txg 58665, 427M, 2 objects Dataset zfsroot/userdata/worker134/worker121@candidate [ZVOL], ID 1543, cr_txg 54888327, 708M, 2 objects Dataset zfsroot/userdata/worker134/worker121 [ZVOL], ID 1540, cr_txg 54888321, 708M, 2 objects Dataset zfsroot/userdata/worker134 [ZVOL], ID 1534, cr_txg 54888318, 12.0K, 2 objects Dataset zfsroot/userdata/worker237 [ZVOL], ID 240, cr_txg 58632, 1.84G, 2 objects Dataset zfsroot/userdata/worker240 [ZVOL], ID 248, cr_txg 58649, 585M, 2 objects Dataset zfsroot/userdata/worker195 [ZVOL], ID 232, cr_txg 58615, 1.21G, 2 objects Dataset zfsroot/userdata/worker171 [ZVOL], ID 224, cr_txg 58598, 642M, 2 objects Dataset zfsroot/userdata/worker205 [ZVOL], ID 216, cr_txg 58579, 2.52G, 2 objects Dataset zfsroot/userdata/worker182-bad/worker121 [ZVOL], ID 1659, cr_txg 54888528, 708M, 2 objects Dataset zfsroot/userdata/worker182-bad [ZVOL], ID 409, cr_txg 58848, 708M, 2 objects Dataset zfsroot/userdata/worker150 [ZVOL], ID 328, cr_txg 58742, 2.71G, 2 objects Dataset zfsroot/userdata/worker127 [ZVOL], ID 337, cr_txg 58758, 1.84G, 2 objects Dataset zfsroot/userdata/worker224 [ZVOL], ID 312, cr_txg 58736, 12.0K, 2 objects Dataset zfsroot/userdata/worker253 [ZVOL], ID 320, cr_txg 58739, 95.8M, 2 objects Dataset zfsroot/userdata/worker162 [ZVOL], ID 304, cr_txg 58720, 770M, 2 objects Dataset zfsroot/userdata/worker186 [ZVOL], ID 296, cr_txg 58714, 338M, 2 objects Dataset zfsroot/userdata/worker168 [ZVOL], ID 288, cr_txg 58708, 1.15G, 2 objects Dataset zfsroot/userdata/worker216 [ZVOL], ID 280, cr_txg 58690, 2.43G, 2 objects Dataset zfsroot/userdata [ZPL], ID 71, cr_txg 58411, 23.0K, 7 objects Dataset zfsroot/var/audit [ZPL], ID 1237, cr_txg 59925, 23.0K, 9 objects Dataset zfsroot/var/tmp [ZPL], ID 1245, cr_txg 59928, 245K, 1029 objects Dataset zfsroot/var/mail [ZPL], ID 1229, cr_txg 59922, 3.72M, 11 objects Dataset zfsroot/var/crash [ZPL], ID 1221, cr_txg 59919, 23.0K, 8 objects Dataset zfsroot/var/log [ZPL], ID 1213, cr_txg 59916, 1.60M, 125 objects Dataset zfsroot/var [ZPL], ID 1205, cr_txg 59913, 23.0K, 7 objects Dataset zfsroot/ROOT/default [ZPL], ID 63, cr_txg 58244, 3.92G, 189509 objects Dataset zfsroot/ROOT [ZPL], ID 55, cr_txg 58241, 23.0K, 7 objects Dataset zfsroot [ZPL], ID 21, cr_txg 1, 23.0K, 7 objects Verified large_blocks feature refcount of 0 is correct Verified sha512 feature refcount of 0 is correct Verified skein feature refcount of 0 is correct As soon as Ib destroyed this invisible child I was able to destroy it's parent. Eugene.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?af3c7e75-cb75-6f6b-1255-520985decaa1>