[zfs-discuss] Kernel panic on zpool status -v (build 143)

2010-06-27 Thread Andrej Podzimek

Hello,

I got a zfs panic on build 143 (installed with onu) in the following unusual 
situation:

1) 'zpool scrub' found a corrupted snapshot on which two BEs were based.
2) I removed the first dependency with 'zfs promote'.
3) I removed the second dependency with 'zfs -pv send ... | zfs -v 
receive ...'
4) 'zfs destroy' said dataset busy when called on the old snapshot. 
So I rebooted.
5) After the reboot, the corrupted snapshot could be successfully 
destroyed.
6) One dataset and two other snapshots created on the way (in (3)) were 
removed.
7) Now 'zpool status -v' *crashed* the kernel.
8) After a reboot, 'zpool status -v' caused a crash again.

I ran 'zpool scrub' and will report what happens once it's finished. (It will 
take pretty long.)

An mdb session output is attached to this message. I can provide the full crash 
dump if you wish. (As for the ::stack at the end, I'm not sure if it's 
meaningful. This is (unfortunately) not a debugging kernel, so the first 6 
arguments should not be stored on the stack.)

Andrej
 ::status
debugging crash dump vmcore.5 (64-bit) from helium
operating system: 5.11 osnet143 (i86pc)
panic message: assertion failed: 0 == dmu_bonus_hold(os, object, dl, 
dl-dl_dbuf) (0x0 == 0x16), file: ../../common/fs/zfs/dsl_deadlist.c, line: 80
dump content: kernel pages only


 ::msgbuf ! tail -21
panic[cpu4]/thread=ff02d59540a0: 
assertion failed: 0 == dmu_bonus_hold(os, object, dl, dl-dl_dbuf) (0x0 == 
0x16), file: ../../common/fs/zfs/dsl_deadlist.c, line: 80


ff00106a0a50 genunix:assfail3+c1 ()
ff00106a0ad0 zfs:dsl_deadlist_open+ef ()
ff00106a0b80 zfs:dsl_dataset_get_ref+14c ()
ff00106a0bc0 zfs:dsl_dataset_hold_obj+2d ()
ff00106a0c20 zfs:dsl_dsobj_to_dsname+73 ()
ff00106a0c40 zfs:zfs_ioc_dsobj_to_dsname+23 ()
ff00106a0cc0 zfs:zfsdev_ioctl+176 ()
ff00106a0d00 genunix:cdev_ioctl+45 ()
ff00106a0d40 specfs:spec_ioctl+5a ()
ff00106a0dc0 genunix:fop_ioctl+7b ()
ff00106a0ec0 genunix:ioctl+18e ()
ff00106a0f10 unix:brand_sys_sysenter+1c9 ()

syncing file systems...
 done
dumping to /dev/zvol/dsk/rpool/dump, offset 65536, content: kernel
NOTICE: ahci0: ahci_tran_reset_dport port 0 reset port


 ff02d59540a0::whatis  
ff02d59540a0 is allocated as a thread structure


 ff02d59540a0::print kthread_t t_procp | ::print proc_t p_user.u_psargs
p_user.u_psargs = [ zpool status -v rpool ]


 ::stack
vpanic()
assfail3+0xc1(f7a2dff0, 0, f7a2e050, 16, f7a2e028, 50)
dsl_deadlist_open+0xef(ff02f43dd7f0, ff02cff74080, 0)
dsl_dataset_get_ref+0x14c(ff02d2ebacc0, 1b, f7a2865c, 
ff00106a0bd8)
dsl_dataset_hold_obj+0x2d(ff02d2ebacc0, 1b, f7a2865c, 
ff00106a0bd8)
dsl_dsobj_to_dsname+0x73(ff02f5f44000, 1b, ff02f5f44400)
zfs_ioc_dsobj_to_dsname+0x23(ff02f5f44000)
zfsdev_ioctl+0x176(b6, 5a25, 8042130, 13, ff02dae06460, 
ff00106a0de4)
cdev_ioctl+0x45(b6, 5a25, 8042130, 13, ff02dae06460, 
ff00106a0de4)
spec_ioctl+0x5a(ff02d5fd7900, 5a25, 8042130, 13, ff02dae06460, 
ff00106a0de4)
fop_ioctl+0x7b(ff02d5fd7900, 5a25, 8042130, 13, ff02dae06460, 
ff00106a0de4)
ioctl+0x18e(3, 5a25, 8042130)
_sys_sysenter_post_swapgs+0x149()



smime.p7s
Description: S/MIME Cryptographic Signature
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS on Ubuntu

2010-06-27 Thread Bob Friesenhahn

On Sat, 26 Jun 2010, Roy Sigurd Karlsbakk wrote:


- Original Message -

I tried to post this question on the Ubuntu forum.
Within 30 minutes my post was on the second page of new posts...

Yah. Im really not down with using Ubuntu on my server here. But I may
be forced to.


As others have suggested, perhaps you should try FreeBSD?


As long as the hardware supports 64-bits, I definitely second that 
suggestion.  FreeBSD is often severely underestimated by those who 
have never used it.


Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,http://www.GraphicsMagick.org/
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Trouble detecting Seagate LP 2TB drives

2010-06-27 Thread Miles Nordin
 bh == Brandon High bh...@freaks.com writes:

  Atom 

bh 32-bit kernels can't support drives over 1GB.

iirc, atom desktop chips are 64-bit and recognized as 64-bit by
kernel, but not recognized by grub.  but I thought this got fixed.  If
you use 'e' in grub to alter the boot line to replace $ISADIR with
'amd64' does it come up 64-bit and work?  That's the fix I recall.


pgpDQNWEKjhMU.pgp
Description: PGP signature
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Trouble detecting Seagate LP 2TB drives

2010-06-27 Thread Brandon High
It's an N280, which doesn't support 64-bit at all.

I have a second system that has an Atom 330, which is detected as 64-bit
without any extra settings.

On Jun 27, 2010 10:04 AM, Miles Nordin car...@ivy.net wrote:
 bh == Brandon High bh...@freaks.com writes:

  Atom

 bh 32-bit kernels can't support drives over 1GB.

 iirc, atom desktop chips are 64-bit and recognized as 64-bit by
 kernel, but not recognized by grub. but I thought this got fixed. If
 you use 'e' in grub to alter the boot line to replace $ISADIR with
 'amd64' does it come up 64-bit and work? That's the fix I recall.
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] Resilvering onto a spare - degraded because of read and cksum errors

2010-06-27 Thread Donald Murray, P.Eng.
Hi,

I awoke this morning to a panic'd opensolaris zfs box. I rebooted it
and confirmed it would panic each time it tried to import the 'tank'
pool. Once I disconnected half of one of the mirrored disks, the box
booted cleanly and the pool imported without a panic.

Because this box has a hot spare, it began resilvering automatically.
This is the first time I've resilvered to a hot spare, so I'm not sure
whether the output below [1]  is normal.

In particular, I think it's odd that the spare has an equal number of
read and cksum errors. Is this normal? Is my spare a piece of junk,
just like the disk it replaced?


[1]
r...@weyl:~# zpool status tank
  pool: tank
 state: DEGRADED
status: One or more devices could not be opened.  Sufficient replicas exist for
the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
   see: http://www.sun.com/msg/ZFS-8000-2Q
 scrub: resilver in progress for 3h42m, 97.34% done, 0h6m to go
config:

NAME   STATE READ WRITE CKSUM
tank   DEGRADED 0 0 0
  mirror   DEGRADED 0 0 0
spare  DEGRADED 1.36M 0 0
  9828443264686839751  UNAVAIL  0 0 0  was
/dev/dsk/c6t1d0s0
  c7t1d0   DEGRADED 0 0 1.36M  too many errors
c9t0d0 ONLINE   0 0 0
  mirror   ONLINE   0 0 0
c7t0d0 ONLINE   0 0 0
c5t1d0 ONLINE   0 0 0
spares
  c7t1d0   INUSE currently in use

errors: No known data errors
r...@weyl:~#
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS on Ubuntu

2010-06-27 Thread Joe Little
Of course, nexenta os is a build of ubuntu on an opensolaris kernel.



On Jun 26, 2010, at 12:27 AM, Freddie Cash fjwc...@gmail.com wrote:

 On Sat, Jun 26, 2010 at 12:20 AM, Ben Miles merloc...@hotmail.com wrote:
 What supporting applications are there on Ubuntu for RAIDZ?
 
 None.  Ubuntu doesn't officially support ZFS.
 
 You can kind of make it work using the ZFS-FUSE project.  But it's not
 stable, nor recommended.
 
 -- 
 Freddie Cash
 fjwc...@gmail.com
 ___
 zfs-discuss mailing list
 zfs-discuss@opensolaris.org
 http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS on Ubuntu

2010-06-27 Thread Erik Trimble
But that won't solve the OP's problem, which was that OpenSolaris 
doesn't support his hardware. Nexenta has the same hardware limitations 
as OpenSolaris.


-Erik


On 6/27/2010 5:56 PM, Joe Little wrote:

Of course, nexenta os is a build of ubuntu on an opensolaris kernel.



On Jun 26, 2010, at 12:27 AM, Freddie Cashfjwc...@gmail.com  wrote:

   

On Sat, Jun 26, 2010 at 12:20 AM, Ben Milesmerloc...@hotmail.com  wrote:
 

What supporting applications are there on Ubuntu for RAIDZ?
   

None.  Ubuntu doesn't officially support ZFS.

You can kind of make it work using the ZFS-FUSE project.  But it's not
stable, nor recommended.

--
Freddie Cash
fjwc...@gmail.com
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
 

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
   



--
Erik Trimble
Java System Support
Mailstop:  usca22-123
Phone:  x17195
Santa Clara, CA

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS on Ubuntu

2010-06-27 Thread Richard Elling
On Jun 27, 2010, at 8:52 PM, Erik Trimble wrote:

 But that won't solve the OP's problem, which was that OpenSolaris doesn't 
 support his hardware. Nexenta has the same hardware limitations as 
 OpenSolaris.

AFAICT, the OP's problem is with a keyboard.  The vagaries of keyboards
is well documented, but there is no silver bullet. Indeed, I have one box that
seems to be more or less happy with PS-2 vs USB for every other OS or 
hypervisor. My advice, have one of each handy, just in case.
 -- richard

 
 -Erik
 
 
 On 6/27/2010 5:56 PM, Joe Little wrote:
 Of course, nexenta os is a build of ubuntu on an opensolaris kernel.
 
 
 
 On Jun 26, 2010, at 12:27 AM, Freddie Cashfjwc...@gmail.com  wrote:
 
   
 On Sat, Jun 26, 2010 at 12:20 AM, Ben Milesmerloc...@hotmail.com  wrote:
 
 What supporting applications are there on Ubuntu for RAIDZ?
   
 None.  Ubuntu doesn't officially support ZFS.
 
 You can kind of make it work using the ZFS-FUSE project.  But it's not
 stable, nor recommended.
 
 -- 
 Freddie Cash
 fjwc...@gmail.com
 ___
 zfs-discuss mailing list
 zfs-discuss@opensolaris.org
 http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
 
 ___
 zfs-discuss mailing list
 zfs-discuss@opensolaris.org
 http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
   
 
 
 -- 
 Erik Trimble
 Java System Support
 Mailstop:  usca22-123
 Phone:  x17195
 Santa Clara, CA
 
 ___
 zfs-discuss mailing list
 zfs-discuss@opensolaris.org
 http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

-- 
Richard Elling
rich...@nexenta.com   +1-760-896-4422
ZFS and NexentaStor training, Rotterdam, July 13-15, 2010
http://nexenta-rotterdam.eventbrite.com/




___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS on Ubuntu

2010-06-27 Thread Erik Trimble

On 6/27/2010 9:07 PM, Richard Elling wrote:

On Jun 27, 2010, at 8:52 PM, Erik Trimble wrote:

   

But that won't solve the OP's problem, which was that OpenSolaris doesn't 
support his hardware. Nexenta has the same hardware limitations as OpenSolaris.
 

AFAICT, the OP's problem is with a keyboard.  The vagaries of keyboards
is well documented, but there is no silver bullet. Indeed, I have one box that
seems to be more or less happy with PS-2 vs USB for every other OS or
hypervisor. My advice, have one of each handy, just in case.
  -- richard

   


Right. I was just pointing out the fallacy of thinking that Nexenta 
might work on hardware that OpenSolaris doesn't (or has problems with).




--
Erik Trimble
Java System Support
Mailstop:  usca22-123
Phone:  x17195
Santa Clara, CA

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS on Ubuntu

2010-06-27 Thread Garrett D'Amore
On Sun, 2010-06-27 at 21:07 -0700, Richard Elling wrote:
 
  But that won't solve the OP's problem, which was that OpenSolaris
 doesn't support his hardware. Nexenta has the same hardware
 limitations as OpenSolaris.
 
 AFAICT, the OP's problem is with a keyboard.  The vagaries of
 keyboards
 is well documented, but there is no silver bullet. Indeed, I have one
 box that
 seems to be more or less happy with PS-2 vs USB for every other OS or 
 hypervisor. My advice, have one of each handy, just in case.
  -- richard 

Ok, I happen to know a few things about USB and PS/2 keyboards.

I don't recall the OP problem report. Can someone recap for me?  Perhaps
I can help root cause the actual problem that would affect both
OpenSolaris and Nexenta?

- Garrett


___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS on Ubuntu

2010-06-27 Thread Garrett D'Amore
On Sun, 2010-06-27 at 21:54 -0700, Erik Trimble wrote:
 On 6/27/2010 9:07 PM, Richard Elling wrote:
  On Jun 27, 2010, at 8:52 PM, Erik Trimble wrote:
 
 
  But that won't solve the OP's problem, which was that OpenSolaris doesn't 
  support his hardware. Nexenta has the same hardware limitations as 
  OpenSolaris.
   
  AFAICT, the OP's problem is with a keyboard.  The vagaries of keyboards
  is well documented, but there is no silver bullet. Indeed, I have one box 
  that
  seems to be more or less happy with PS-2 vs USB for every other OS or
  hypervisor. My advice, have one of each handy, just in case.
-- richard
 
 
 
 Right. I was just pointing out the fallacy of thinking that Nexenta 
 might work on hardware that OpenSolaris doesn't (or has problems with).

Actually, the kernel in Nexenta is not truly identical, and generally
leads official OpenSolaris releases.  (We're using a 134 kernel at
present, plus a bunch of individual fixes and some of our own
additions.)

So while you might think that if something doesn't work in OpenSolaris
it won't work in Nexenta, you might be surprised.  (Then again, you
might not!)  Trying certainly wouldn't hurt.

- Garrett


___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss