Re: [zfs-discuss] Borked zpool, missing slog/zil

2009-09-28 Thread Victor Latushkin
On 27.09.09 19:35, Erik Ableson wrote: Good link - thanks. I'm looking at the details for that one and learning a little zdb at the same time. I've got a situation perhaps a little different in that I _do_ have a current copy of the slog in a file with what appears to be current data. However,

Re: [zfs-discuss] Borked zpool, missing slog/zil

2009-09-28 Thread Victor Latushkin
On 27.09.09 14:34, Erik Ableson wrote: Hmmm - I've got a fairly old copy of the zpool cache file (circa July), but nothing structural has changed in pool since that date. What other data is held in that file? There have been some filesystem changes, but nothing critical is in the newer

Re: [zfs-discuss] Borked zpool, missing slog/zil

2009-09-27 Thread Erik Ableson
Hmmm - I've got a fairly old copy of the zpool cache file (circa July), but nothing structural has changed in pool since that date. What other data is held in that file? There have been some filesystem changes, but nothing critical is in the newer filesystems. Any particular procedure required

Re: [zfs-discuss] Borked zpool, missing slog/zil

2009-09-27 Thread Erik Ableson
Good link - thanks. I'm looking at the details for that one and learning a little zdb at the same time. I've got a situation perhaps a little different in that I _do_ have a current copy of the slog in a file with what appears to be current data. However, I don't see how to attach the slog

[zfs-discuss] Borked zpool, missing slog/zil

2009-09-26 Thread Erik Ableson
Hmmm - this is an annoying one. I'm currently running an OpenSolaris install (2008.11 upgraded to 2009.06) : SunOS shemhazai 5.11 snv_111b i86pc i386 i86pc Solaris with a zpool made up of one radiz vdev and a small ramdisk based zil. I usually swap out the zil for a file-based copy when I need

Re: [zfs-discuss] Borked zpool, missing slog/zil

2009-09-26 Thread Ross
Do you have a backup copy of your zpool.cache file? If you have that file, ZFS will happily mount a pool on boot without its slog device - it'll just flag the slog as faulted and you can do your normal replace. I used that for a long while on a test server with a ramdisk slog - and I never