Re: [zfs-discuss] "zpool import -f" not forceful enough?

2010-01-05 Thread Dan McDonald
> Hi Dan, > > Can you describe what you are trying to recover from > with more details > because we can't quite follow what steps might have > lead to this > scenario. Sorry. I was running Nevada 103 with a root zpool called "hdc" with c1t0d0s0 and c1t1d0s0. I first uttered: "zpool detach hdc

[zfs-discuss] "zpool import -f" not forceful enough?

2010-01-03 Thread Dan McDonald
I had to use the labelfix hack (and I had to recompile it at that) on 1/2 of an old zpool. I made this change: /* zio_checksum(ZIO_CHECKSUM_LABEL, &zc, buf, size); */ zio_checksum_table[ZIO_CHECKSUM_LABEL].ci_func[0](buf, size, &zc); and I'm assuming [0] is the correct endiannes

[zfs-discuss] /var/log as a single zfs filesystem --> problems at boot

2008-07-02 Thread Dan McDonald
I created a filesystem dedicated to /var/log so I could keep compression on the logs. Unfortunately, this caused problems at boot time because my log ZFS dataset couldn't be mounted because /var/log already contained bits. Some of that, to be fair, could be fixed by having some SMF services ex

Re: [zfs-discuss] Synchronous scrub?

2008-01-23 Thread Dan McDonald
On Wed, Jan 23, 2008 at 12:56:16PM -0800, Richard Elling wrote: > This is pretty trivial to code in a script. Here is a ksh function > I use for testing resilvering performance. > > function wait_for_resilver { > date > while zpool status $POOLNAME | grep "resilver in progress" >

[zfs-discuss] Synchronous scrub?

2008-01-23 Thread Dan McDonald
Say I'm firing off an at(1) or cron(1) job to do scrubs, and say I want to scrub two pools sequentially because they share one device. The first pool, BTW, is a mirror comprising of a smaller disk and a subset of a larger disk. The other pool is the remainder of the larger disk. I see no docu