Re: [zfs-discuss] 200805 Grub problems

2008-10-16 Thread Mike Aldred
Ok, I managed to get my grub menu (and spashimage) back by following:

http://www.genunix.org/wiki/index.php/ZFS_rpool_Upgrade_and_GRUB

Initially, I just did it for the boot enviroment I wanted to use, but it didn't 
seem to work, so I also did it for the previous boot enviroment.  I'm not sure 
what it did, but it gave me the grub menu back (and splash image).  However, it 
would kernel panic (when trying to mount the zfs rpool I'm guessing).

I eventually followed the exact procedure for all my boot enviroments, just 
doing them in order from oldest to newest, I also didn't export rpool before I 
rebooted out of the LiveCD, and now it boots up fine.

Anyone know what's going on? I've had this happen to me twice now on seperate 
machines.
--
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] 200805 Grub problems

2008-10-09 Thread Mike Aldred
I seem to be having the same problem as well.  Has anyone found out what the 
cause is, and how to fix it?
--
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS, Kernel Panic on import

2008-08-29 Thread Mike Aldred
Ok, I've managed to get around the kernel panic.

[EMAIL PROTECTED]:~/Download$ pfexec mdb -kw
Loading modules: [ unix genunix specfs dtrace cpu.generic uppc pcplusmp 
scsi_vhci zfs sd ip hook neti sctp arp usba uhci s1394 fctl md lofs random sppp 
ipc ptm fcip fcp cpc crypto logindmux ii nsctl sdbc ufs rdc nsmb sv ]
> vdev_uberblock_compare+0x49/W 1
vdev_uberblock_compare+0x49:0x  =   0x1
> vdev_uberblock_compare+0x3b/W 1
vdev_uberblock_compare+0x3b:0x  =   0x1
> zfsvfs_setup+0x60/v 0xeb
zfsvfs_setup+0x60:  0x74=   0xeb
> 

This has let me import the pool, without the kernel panicing, and I'm doing a 
scrub on the pool now.
The thing is, I don't know what those commands do, could anyone enlighten me?
--
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] ZFS, Kernel Panic on import

2008-08-29 Thread Mike Aldred
G'day,

I've got a OpenSolaris server n95, that I use for media, serving.  It's uses a 
DQ35JOE motherboard, dual core, and I have my rpool mirrored on two IDE 40GB 
drives, and my media mirrored on 2 x 500GB SATA drives.

I've got a few CIFS shares on the media drive, and I'm using MediaTomb to 
stream to my PS3. No problems at all, until today.  I was at work (obviously 
not working too hard :) ), when I thought that I really should scrub my pools, 
since I hasn't done it for awhile.  So I SSHed into the box, and did a scrub on 
both pools.

A few minutes later, I lost my SSH connection... uh oh, but not too worried, I 
thought that the ADSL must've gone down or something.

Came home, and the server is in a reboot loop, kernel panic.  Nuts...

Booted into the LiveDVD of snv_95, no problem, set about scrubbing my rpool, 
everything is good, until I decide to import and start scrubbing my storage 
pool... kernel panic... Nuts...

Removed the storage pool drives from the machine, no problem, boots up fine and 
starts scrubbing the rpool again.  No problems.  Decided to more the storage 
drives over to my desktop machine, try to import kernel panic...

So, the trick is, how do I fix it?

I've read a few posts, and I've seen other people with similar problems, but I 
have to admit I'm simply not smart enough to solve the problem, so, anyone got 
any ideas?

Here's some info that I hope prove useful.

[EMAIL PROTECTED]:~/Desktop$ pfexec zpool import
  pool: storage
id: 6933883927787501942
 state: ONLINE
status: The pool is formatted using an older on-disk version.
action: The pool can be imported using its name or numeric identifier, though
some features will not be available without an explicit 'zpool upgrade'.
config:

storage ONLINE
  mirrorONLINE
c3t3d0  ONLINE
c3t2d0  ONLINE

[EMAIL PROTECTED]:~/Desktop$ zdb -uuu -e storage
Uberblock

magic = 00bab10c
version = 10
txg = 3818020
guid_sum = 6700303293925244073
timestamp = 1220003402 UTC = Fri Aug 29 17:50:02 2008
rootbp = [L0 DMU objset] 400L/200P DVA[0]=<0:6a00058e00:200> 
DVA[1]=<0:2a8600:200> DVA[2]=<0:3800050600:200> fletcher4 lzjb LE 
contiguous birth=3818020 fill=170 
cksum=8b56cdef9:38379d3cd95:b809c1c9bb15:197649b024bfd1

[EMAIL PROTECTED]:~/Desktop$ zdb -e -bb storage

Traversing all blocks to verify nothing leaked ...

No leaks (block sum matches space maps exactly)

bp count: 3736040
bp logical:484538716672  avg: 129693
bp physical:   484064542720  avg: 129566compression:   1.00
bp allocated:  484259193344  avg: 129618compression:   1.00
SPA allocated: 484259193344 used: 97.20%

Blocks  LSIZE   PSIZE   ASIZE avgcomp   %Total  Type
   105  1.11M339K   1017K9.7K3.35 0.00  deferred free
 232K  4K   12.0K   6.00K8.00 0.00  object directory
 2 1K  1K   3.00K   1.50K1.00 0.00  object array
 116K   1.50K   4.50K   4.50K   10.67 0.00  packed nvlist
 -  -   -   -   -   --  packed nvlist size
 116K   3.00K   9.00K   9.00K5.33 0.00  bplist
 -  -   -   -   -   --  bplist header
 -  -   -   -   -   --  SPA space map header
   373  2.14M801K   2.35M   6.44K2.73 0.00  SPA space map
 3  40.0K   40.0K   40.0K   13.3K1.00 0.00  ZIL intent log
   552  8.62M   2.40M   4.82M   8.94K3.60 0.00  DMU dnode
 8 8K  4K   8.50K   1.06K2.00 0.00  DMU objset
 -  -   -   -   -   --  DSL directory
 8 4K  4K   12.0K   1.50K1.00 0.00  DSL directory child map
 7  3.50K   3.50K   10.5K   1.50K1.00 0.00  DSL dataset snap map
15   225K   25.0K   75.0K   5.00K8.98 0.00  DSL props
 -  -   -   -   -   --  DSL dataset
 -  -   -   -   -   --  ZFS znode
 -  -   -   -   -   --  ZFS V0 ACL
 3.56M   451G451G451G127K1.00   100.00  ZFS plain file
 1.55K   9.9M   1.51M   3.03M   1.95K6.55 0.00  ZFS directory
 7  3.50K   3.50K   7.00K  1K1.00 0.00  ZFS master node
40   550K   87.0K174K   4.35K6.32 0.00  ZFS delete queue
 -  -   -   -   -   --  zvol object
 -  -   -   -   -   --  zvol prop
 -  -   -   -   -   --  other uint8[]
 -  -   -   -   -   --  other uint64[]
 1512 512   1.50K   1.50K1.00 0.00  other ZAP
 -  -   -   -   -   --  persistent error log
 1   128K   10.0K   30.0K   30.0K   12.80 0.00  SPA history
 -  -   -   -   -