Page 1 of 1

Adding a ZIL device

Posted: 26 Feb 2013 18:16
by dpynn
Hi folks,

I have been searching the web and the user manual but I can not find steps on adding a Zil device in nas4free. I added it as a virtual device but where does one go from there, or is that all that is required? How does one confirm that the Zil device is seen? zpool status does not show the zil device...

NAS4Free 9.1.0.1 Full install
Dell r520 server


Thanks in advance

Re: Adding a ZIL device

Posted: 27 Feb 2013 16:18
by dpynn
Hi again. Does anyone have a procedure for this? I looked over the documentation and could find nothing to assist me. Am I missing something obvious?

Thanks again

Re: Adding a ZIL device

Posted: 28 Feb 2013 08:40
by raulfg3
Anyone?

Re: Adding a ZIL device

Posted: 01 Mar 2013 21:21
by dpynn
I just added it using the command line.

zpool add pool log mfisyspd7

nas# zpool status
pool: pool
state: ONLINE
NAME STATE READ WRITE CKSUM
pool ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
mfisyspd0 ONLINE 0 0 0
mfisyspd1 ONLINE 0 0 0
mfisyspd2 ONLINE 0 0 0
mfisyspd3 ONLINE 0 0 0
mfisyspd4 ONLINE 0 0 0
mfisyspd5 ONLINE 0 0 0
mfisyspd6 ONLINE 0 0 0
logs
mfisyspd7 ONLINE 0 0 0

Re: Adding a ZIL device

Posted: 03 Mar 2013 11:39
by misterredman
Isn't it better to use a mirrored ZIL? http://constantin.glez.de/blog/2011/02/ ... zfs#mirror

Re: Adding a ZIL device

Posted: 03 Mar 2013 12:34
by rostreich
misterredman wrote:Isn't it better to use a mirrored ZIL? http://constantin.glez.de/blog/2011/02/ ... zfs#mirror

yes always! otherwise your ZIL device is a single point of failure and your raid is useless.

Re: Adding a ZIL device

Posted: 04 Mar 2013 15:40
by dpynn
Thanks guys for the heads up. However my understanding is that this is no longer the case in ZFS version 28. Can someone confirm this is correct please.

Re: Adding a ZIL device

Posted: 06 Mar 2013 16:19
by rostreich
ash on my head, you're right. ;)
Mirroring the log device is recommended. Prior to pool version 19, if you have an unmirrored log device that fails, your whole pool might be lost or you might lose several seconds of unplayed writes, depending on the failure scenario.
In current releases, if an unmirrored log device fails during operation, the system reverts to the default behavior, using blocks from the main storage pool for the ZIL, just as if the log device had been gracefully removed via the "zpool remove" command.

Re: Adding a ZIL device

Posted: 07 Mar 2013 10:20
by misterredman
Good to know, thank you!

Re: Adding a ZIL device

Posted: 18 Aug 2013 16:51
by single_platinum
I did exactly as the command line example above and it blew up my pool. Now what?

Image

Re: Adding a ZIL device

Posted: 18 Aug 2013 18:44
by raulfg3
Post more info. ( zpool status and all what You consider that help)

Post answer in your new tread. viewtopic.php?f=57&t=4832

Re: Adding a ZIL device

Posted: 18 Aug 2013 18:56
by single_platinum
raulfg3 wrote:Post more info. ( zpool status and all what You consider that help)

Post answer in your new tread. viewtopic.php?f=57&t=4832
If using the command line above blows up the Zpool, is there a way to do it with the GUI that wont blow up the Zpool?