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!

How-To Modify ZIL?

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Con7undrum
NewUser
NewUser
Posts: 8
Joined: 08 Dec 2013 18:18
Status: Offline

How-To Modify ZIL?

Post by Con7undrum »

I added a ZIL to my ZFS pool (mirrored set of two SSDs). I forgot to set the 4k format. Does anyone know if I can drop the ZIL mirror, change the format, and then readd it? My ASHIFT on the ZIL is 9, where my Pool disks are 12.

Thanks!

ku-gew
Advanced User
Advanced User
Posts: 172
Joined: 29 Nov 2012 09:02
Location: Den Haag, The Netherlands
Status: Offline

Re: How-To Modify ZIL?

Post by ku-gew »

You can drop it and then make it again. Check online.
HP Microserver N40L, 8 GB ECC, 2x 3TB WD Red, 2x 4TB WD Red
XigmaNAS stable branch, always latest version
SMB, rsync

Con7undrum
NewUser
NewUser
Posts: 8
Joined: 08 Dec 2013 18:18
Status: Offline

Re: How-To Modify ZIL?

Post by Con7undrum »

I was looking for that but can't find any specific examples. Do you drop the individual disks (e.g. for maintenance), reformat them, readd it to the vdev, then rinse wash repeat for the 2nd disk?

ku-gew
Advanced User
Advanced User
Posts: 172
Joined: 29 Nov 2012 09:02
Location: Den Haag, The Netherlands
Status: Offline

Re: How-To Modify ZIL?

Post by ku-gew »

Instead of ZIL look for "log device", that is the correct name of that thing too many people call "ZIL".
HP Microserver N40L, 8 GB ECC, 2x 3TB WD Red, 2x 4TB WD Red
XigmaNAS stable branch, always latest version
SMB, rsync

User avatar
Lee Sharp
Advanced User
Advanced User
Posts: 251
Joined: 13 May 2013 21:12
Contact:
Status: Offline

Re: How-To Modify ZIL?

Post by Lee Sharp »

Check to see if it really is a 4k device. Some SSDs are actually only 512 blocks... (I know it seems obvious, but it almost got me once.)

ku-gew
Advanced User
Advanced User
Posts: 172
Joined: 29 Nov 2012 09:02
Location: Den Haag, The Netherlands
Status: Offline

Re: How-To Modify ZIL?

Post by ku-gew »

I would still use 4K: in the future he may then add a second disk, add the new one to the same vdev to make RAID1, then take out the old one.
If you use now 512b, then you have to do more work next time.
HP Microserver N40L, 8 GB ECC, 2x 3TB WD Red, 2x 4TB WD Red
XigmaNAS stable branch, always latest version
SMB, rsync

Post Reply

Return to “ZFS (only!)”