This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Adding a ZIL device

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
dpynn
NewUser
NewUser
Posts: 11
Joined: 26 Feb 2013 18:11
Status: Offline

Adding a ZIL device

Post 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

dpynn
NewUser
NewUser
Posts: 11
Joined: 26 Feb 2013 18:11
Status: Offline

Re: Adding a ZIL device

Post 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

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Adding a ZIL device

Post by raulfg3 »

Anyone?
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

dpynn
NewUser
NewUser
Posts: 11
Joined: 26 Feb 2013 18:11
Status: Offline

Re: Adding a ZIL device

Post 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

User avatar
misterredman
Forum Moderator
Forum Moderator
Posts: 184
Joined: 25 Jun 2012 13:31
Location: Switzerland
Status: Offline

Re: Adding a ZIL device

Post by misterredman »

Isn't it better to use a mirrored ZIL? http://constantin.glez.de/blog/2011/02/ ... zfs#mirror
NAS1: Pentium E6300 - Abit IP35Pro - 4GB RAM - Backup of NAS2
NAS2: Core 2 Quad Q9300 - Asus P5Q-EM - 8GB RAM
pyload - flexget - tvnamer - subsonic - owncloud - crashplan - plex media server

rostreich
Status: Offline

Re: Adding a ZIL device

Post 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.

dpynn
NewUser
NewUser
Posts: 11
Joined: 26 Feb 2013 18:11
Status: Offline

Re: Adding a ZIL device

Post 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.

rostreich
Status: Offline

Re: Adding a ZIL device

Post 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.

User avatar
misterredman
Forum Moderator
Forum Moderator
Posts: 184
Joined: 25 Jun 2012 13:31
Location: Switzerland
Status: Offline

Re: Adding a ZIL device

Post by misterredman »

Good to know, thank you!
NAS1: Pentium E6300 - Abit IP35Pro - 4GB RAM - Backup of NAS2
NAS2: Core 2 Quad Q9300 - Asus P5Q-EM - 8GB RAM
pyload - flexget - tvnamer - subsonic - owncloud - crashplan - plex media server

single_platinum
Starter
Starter
Posts: 19
Joined: 18 Aug 2013 04:17
Status: Offline

Re: Adding a ZIL device

Post by single_platinum »

I did exactly as the command line example above and it blew up my pool. Now what?

Image

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Adding a ZIL device

Post 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
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

single_platinum
Starter
Starter
Posts: 19
Joined: 18 Aug 2013 04:17
Status: Offline

Re: Adding a ZIL device

Post 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?

Post Reply

Return to “ZFS (only!)”