[zfs-discuss] Removing the ZIL

Richard Laager rlaager at wiktel.com
Mon Sep 30 12:51:15 EDT 2013


On Mon, 2013-09-30 at 18:43 +0200, C├ędric Lemarchand wrote:
> NAME   SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
> ztank    38T  22.1T  15.9T    58%  1.00x  ONLINE  -
> [....]

Does the word "logs" appear right here? If not, then this isn't a ZIL;
you accidentally added it as a regular mirror.

>    mirror  18.6G   256K  18.6G         -
>      ata-Samsung_SSD_840_PRO_Series_S1ATNSAD604976V-part2      - -      
> -         -
>      ata-Samsung_SSD_840_PRO_Series_S1ATNSAD604969F-part2      - -      
> -         -

> Maybe an export/labelclear on ZIL devices/import 
> could do the job ?

I wouldn't do that. It seems unlikely to lead to a good outcome in any
case, and if you (or some future visitor to the list archives) have
accidentally added it as a regular mirror, you'll lose the pool.

I think you want:
zpool remove ztank mirror

(I'm not entirely sure why yours is "mirror" and not "mirror-1".)

-- 
Richard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://list.zfsonlinux.org/pipermail/zfs-discuss/attachments/20130930/f2b3aa02/attachment.sig>


More information about the zfs-discuss mailing list