I tried adding an SSD to zpool from ZIL, but I made a mistake.
I expected .. zpool add zone log c0t1d0But I did ... zpool add zone c0t1d0
I tried to delete the zone, disconnect, offline commands, but it failed.How to remove SSD without data loss in zpool?
$ zpool status pool: zones state: ONLINE scan : non requested config: NAME STATE READ WRITE CKSUM zones ONLINE 0 0 0 c0t0d0 ONLINE 0 0 0 c0t1d0 ONLINE 0 0 0 $ zpool iostat -v capacity operations bandwidth pool alloc free read write read write ---------- ----- ----- ----- ----- ----- ----- zones 280G 109G 40 139 1.28M 13.7M c0t0d0 263G 15.3G 39 35 1.25M 2.61M c0t1d0 17.6G 93.4G 0 104 20.9K 11.1M ---------- ----- ----- ----- ----- ----- -----
Unfortunately, you have to destroy and recreate. You can use zfs send/recvto transfer all data while saving all snapshots, metadata, etc., as well as faster copying than with normal cp.
zfs send/recv
cp
@user121391 , , send/recv.
send
recv
, , ( OpenZFS), (FreeBSD/Linux/macOS/ ..). Github.
, zpool remove vdev , . , vdev, , ( ), , , ( , ).
zpool remove
Source: https://habr.com/ru/post/1661409/More articles:Replacing AM / PM DateFormat in TimePickerDialog - androidHow to set AM / PM in TimePickerDialog? - androidConvert cURL request to Guzzle in Laravel - phpUsing router output in Angular 2 - htmlCompare image from Picturebox to SQL Image data type - sql-serverCreating an animated bar with a blue score - javascriptSet AM / PM in the dialog for selecting time from the line? - androidAndroid connection between actions without onActivityResult - javaangular2 target router exit - angularHow to get the word in the specified location on WKWebView? - iosAll Articles