- Joined
- Feb 18, 2014
- Messages
- 2,925
Same resultTry oseek=7809842694
Same resultTry oseek=7809842694
dd if=/dev/zero of=/dev/da0p2 bs=1m
and just let that run until the end. It wipes all data from that particular partition but you still have one level of redundancy, so ...zpool labelclear
but wouldn't execute due to the device still being marked as part of the pool. (I did not try dd the device as I didn't see the thread comments at the time.)zpool status
.gpart list
with a freebsd-zfs partition and swap.NAME STATE READ WRITE CKSUM vol1 ONLINE 0 0 0 raidz2-0 ONLINE 0 0 0 gptid/6838364e-5018-11eb-9efa-3ca82a4ba544 ONLINE 0 0 0 gptid/a987dc98-5204-11eb-ab4d-3ca82a4ba544 ONLINE 0 0 0 gptid/4a1fd222-b266-11e7-8c66-3ca82a4ba544 ONLINE 0 0 0 gptid/2e23b965-53d6-11eb-84cb-3ca82a4ba544 ONLINE 0 0 0 (resilvering) gptid/962a2678-4e36-11eb-9efa-3ca82a4ba544 ONLINE 0 0 0 gptid/5448fa00-241f-11e7-8724-3ca82a4ba544 ONLINE 0 0 0
root@NAS3:~ # dd if=/dev/zero of=/dev/da0p2 bs=1m dd: /dev/da0p2: short write on character device dd: /dev/da0p2: end of device 3813400+0 records in 3813399+1 records out 3998639460352 bytes transferred in 33642.505574 secs (118856767 bytes/sec)
root@NAS3:~ # zpool replace Volume1 da0p2 gptid/9be4e735-bd6a-11e4-8c34-d0509946c5e6 root@NAS3:~ # zpool status -v pool: Volume1 state: DEGRADED status: One or more devices is currently being resilvered. The pool will continue to function, possibly in a degraded state. action: Wait for the resilver to complete. scan: resilver in progress since Mon Jan 11 08:01:08 2021 79.3G scanned at 2.09G/s, 1.01G issued at 27.2M/s, 9.89T total 0B resilvered, 0.01% done, 4 days 09:48:50 to go config: NAME STATE READ WRITE CKSUM Volume1 DEGRADED 0 0 0 raidz2-0 DEGRADED 0 0 0 replacing-0 DEGRADED 0 0 0 da0p2 OFFLINE 0 0 0 gptid/9be4e735-bd6a-11e4-8c34-d0509946c5e6 ONLINE 0 0 0 da2p2 ONLINE 0 0 0 gptid/9cd608c6-bd6a-11e4-8c34-d0509946c5e6 ONLINE 0 0 0 da3p2 ONLINE 0 0 0 errors: No known data errors pool: freenas-boot state: ONLINE status: Some supported features are not enabled on the pool. The pool can still be used, but some features are unavailable. action: Enable all features using 'zpool upgrade'. Once this is done, the pool may no longer be accessible by software that does not support the features. See zpool-features(5) for details. scan: scrub repaired 0B in 00:01:39 with 0 errors on Sat Jan 9 03:46:39 2021 config: NAME STATE READ WRITE CKSUM freenas-boot ONLINE 0 0 0 ada0p2 ONLINE 0 0 0 errors: No known data errors
root@NAS3:~ # zpool status pool: Volume1 state: ONLINE status: Some supported features are not enabled on the pool. The pool can still be used, but some features are unavailable. action: Enable all features using 'zpool upgrade'. Once this is done, the pool may no longer be accessible by software that does not support the features. See zpool-features(5) for details. scan: resilvered 2.40T in 11:11:25 with 0 errors on Mon Jan 11 19:12:33 2021 config: NAME STATE READ WRITE CKSUM Volume1 ONLINE 0 0 0 raidz2-0 ONLINE 0 0 0 gptid/9be4e735-bd6a-11e4-8c34-d0509946c5e6 ONLINE 0 0 0 da2p2 ONLINE 0 0 0 gptid/9cd608c6-bd6a-11e4-8c34-d0509946c5e6 ONLINE 0 0 0 da3p2 ONLINE 0 0 0 errors: No known data errors pool: freenas-boot state: ONLINE status: Some supported features are not enabled on the pool. The pool can still be used, but some features are unavailable. action: Enable all features using 'zpool upgrade'. Once this is done, the pool may no longer be accessible by software that does not support the features. See zpool-features(5) for details. scan: scrub repaired 0B in 00:01:39 with 0 errors on Sat Jan 9 03:46:39 2021 config: NAME STATE READ WRITE CKSUM freenas-boot ONLINE 0 0 0 ada0p2 ONLINE 0 0 0
dd if=/dev/zero of=/dev/da2p2 bs=1m count=1; dd if=/dev/zero of=/dev/da2p2 bs=1m oseek=3813300
zpool status pool: freenas-boot state: ONLINE status: Some supported and requested features are not enabled on the pool. The pool can still be used, but some features are unavailable. action: Enable all features using 'zpool upgrade'. Once this is done, the pool may no longer be accessible by software that does not support the features. See zpool-features(7) for details. scan: scrub repaired 0B in 00:01:57 with 0 errors on Sun Jan 8 03:46:57 2023 config: NAME STATE READ WRITE CKSUM freenas-boot ONLINE 0 0 0 da0p2 ONLINE 0 0 0 errors: No known data errors pool: home_server state: ONLINE scan: resilvered 828K in 00:00:01 with 0 errors on Thu Jan 12 19:14:18 2023 config: NAME STATE READ WRITE CKSUM home_server ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 gptid/fb50dea3-9265-11ed-be0b-7085c25f11d1 ONLINE 0 0 0 ada0p2 ONLINE 0 0 0 ada2p2 ONLINE 0 0 0 ada3p2 ONLINE 0 0 0 errors: No known data errors zpool list -v NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT freenas-boot 14G 5.66G 8.34G - - - 40% 1.00x ONLINE - da0p2 14.1G 5.66G 8.34G - - - 40.4% - ONLINE home_server 7.25T 5.88T 1.37T - - 26% 81% 1.00x ONLINE /mnt raidz1-0 7.25T 5.88T 1.37T - - 26% 81.1% - ONLINE gptid/fb50dea3-9265-11ed-be0b-7085c25f11d1 7.28T - - - - - - - ONLINE ada0p2 1.82T - - - - - - - ONLINE ada2p2 1.82T - - - - - - - ONLINE ada3p2 1.82T - - - - - - - ONLINE
root@freenas:~ # zpool labelclear -f ada2p2 failed to open /dev/ada2p2: Operation not permitted
root@freenas:~ # zpool replace home_server ada3p2 gptid/1b8422cd-b803-11eb-8966-7085c25f11d1 cannot open 'gptid/1b8422cd-b803-11eb-8966-7085c25f11d1': no such device in /dev must be a full path or shorthand device name