Re: [zfs-discuss] Much room for improvement for "zfs destroy -r" ...

2009-05-09 Thread Matthew Ahrens
Joep Vesseur wrote: I was wondering why "zfs destroy -r" is so excruciatingly slow compared to parallel destroys. This issue is bug # 6631178. The problem is that "zfs destroy -r " destroys each filesystem and snapshot individually, and each one must wait for a txg to sync (0.1 - 10 seconds)

Re: [zfs-discuss] is zpool import unSIGKILLable ?

2009-05-09 Thread Dennis Clarke
> Dennis Clarke wrote: >> I tried to import a zpool and the process just hung there, doing nothing. >> It has been ten minutes now so I tries to hit CTRL-C. That did nothing. > > It may be because it is blocked in kernel. > > Can you do something like this: > > echo "0t::pid2proc|::walk thread|::f

Re: [zfs-discuss] snapshot management issues

2009-05-09 Thread Matthew Ahrens
Edward Pilatowicz wrote: hey all, so recently i wrote some zones code to manage zones on zfs datasets. the code i wrote did things like rename snapshots and promote filesystems. while doing this work, i found a few zfs behaviours that, if changed, could greatly simplify my work. the primary is

Re: [zfs-discuss] is zpool import unSIGKILLable ?

2009-05-09 Thread Victor Latushkin
Dennis Clarke wrote: I tried to import a zpool and the process just hung there, doing nothing. It has been ten minutes now so I tries to hit CTRL-C. That did nothing. It may be because it is blocked in kernel. Can you do something like this: echo "0t::pid2proc|::walk thread|::findstack -v"

Re: [zfs-discuss] is zpool import unSIGKILLable ?

2009-05-09 Thread Dennis Clarke
> Dennis Clarke wrote: >> I tried to import a zpool and the process just hung there, doing >> nothing. >> It has been ten minutes now so I tries to hit CTRL-C. That did nothing. >> > > This symptom is consistent with a process blocked waiting on disk I/O. > Are the disks functional? dcla...@nept

Re: [zfs-discuss] is zpool import unSIGKILLable ?

2009-05-09 Thread Dennis Clarke
> Dennis Clarke wrote: >> I tried to import a zpool and the process just hung there, doing >> nothing. >> It has been ten minutes now so I tries to hit CTRL-C. That did nothing. >> > > This symptom is consistent with a process blocked waiting on disk I/O. > Are the disks functional? totally I'm

Re: [zfs-discuss] zfs filesystem mirroring

2009-05-09 Thread Kees Nuyt
On Sat, 9 May 2009 21:10:04 +0200, n...@pettefar.com wrote: >Is it possible to mirror a zfs filesystem with another on another >disk? Two separate zpools, one on each disk, each one with a number >of fs filesystems and one in particular on each one mirroring another. > >Nick You could divid

[zfs-discuss] Recover files from overwritten zpool?

2009-05-09 Thread Stig
To make a long story short, after a Solaris reinstall I needed to access a disk from the previous install. I realize now I should have done a zpool import, but instead I recreated the pool, thinking this would bring my file system back. I destroyed the new pool, but other than that I have done

Re: [zfs-discuss] is zpool import unSIGKILLable ?

2009-05-09 Thread Richard Elling
Dennis Clarke wrote: I tried to import a zpool and the process just hung there, doing nothing. It has been ten minutes now so I tries to hit CTRL-C. That did nothing. This symptom is consistent with a process blocked waiting on disk I/O. Are the disks functional? -- richard So then I trie

Re: [zfs-discuss] zfs filesystem mirroring

2009-05-09 Thread Richard Elling
n...@pettefar.com wrote: Is it possible to mirror a zfs filesystem with another on another disk? Two separate zpools, one on each disk, each one with a number of fs filesystems and one in particular on each one mirroring another. Mirrors are a pool feature, and remain in one pool. What exact

Re: [zfs-discuss] zfs filesystem mirroring

2009-05-09 Thread Tim
On Sat, May 9, 2009 at 2:10 PM, wrote: > Is it possible to mirror a zfs filesystem with another on another disk? > Two separate zpools, one on each disk, each one with a number of fs > filesystems and one in particular on each one mirroring another. > > Nick > Mirrored as in raid-1, or mirrored

[zfs-discuss] zfs filesystem mirroring

2009-05-09 Thread Nick
Is it possible to mirror a zfs filesystem with another on another disk? Two separate zpools, one on each disk, each one with a number of fs filesystems and one in particular on each one mirroring another. Nick ___ zfs-discuss mailing list zfs-discu

[zfs-discuss] is zpool import unSIGKILLable ?

2009-05-09 Thread Dennis Clarke
I tried to import a zpool and the process just hung there, doing nothing. It has been ten minutes now so I tries to hit CTRL-C. That did nothing. So then I tried : Sun Microsystems Inc. SunOS 5.11 snv_110 November 2008 r...@opensolaris:~# ps -efl F S UID PID PPID C PRI NI

Re: [zfs-discuss] ZFS + EMC Cx310 Array (JBOD ? Or Singe MetaLUN ?)

2009-05-09 Thread Victor Latushkin
Erik Trimble wrote: I also think I re-started this thread. Mea culpa. The original comment from me was that I wasn't certain that the bug I tripped over last year this time (a single-LUN zpool is declared corrupt if the underlying LUN goes away, usually due to SAN issues) was fixed. I I do not