[zfs-discuss] Re: zfs hot spare not automatically getting used

2006-11-29 Thread Jim Hranicky
I know this isn't necessarily ZFS specific, but after I reboot I spin the 
drives back
up, but nothing I do (devfsadm, disks, etc) can get them seen again until the
next reboot.

I've got some older scsi drives in an old Andataco Gigaraid enclosure which
I thought supported hot-swap, but I seem unable to hot swap them in. The PC
has an adaptec 39160 card in it and I'm running Nevada b51. Is this not a 
setup that can support hot swap? Or is there something I have to do other
than devfsadm to get the scsi bus rescanned?
 
 
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] Re: zfs hot spare not automatically getting used

2006-11-29 Thread Sanjeev Bagewadi

Jim,

That is good news !! Let's us know how it goes.


Regards,
Sanjeev.
PS : I am out of office a couple of days.

Jim Hranicky wrote:


OK, spun down the drives again. Here's that output:

 http://www.cise.ufl.edu/~jfh/zfs/threads
   



I just realized that I changed the configuration, so that doesn't reflect 
a system with spares, sorry. 

However, I reinitialized the pool and spun down one of the drives and 
everything is working as it should:


pool: zmir
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-D3
scrub: resilver completed with 0 errors on Wed Nov 29 16:29:53 2006
   config:

   NAME  STATE READ WRITE CKSUM
   zmir  DEGRADED 0 0 0
 mirror  DEGRADED 0 0 0
   c0t0d0ONLINE   0 0 0
   spare DEGRADED 0 0 0
 c3t1d0  UNAVAIL 10 28.88 0  cannot open
 c3t3d0  ONLINE   0 0 0
   spares
 c3t3d0  INUSE currently in use
 c3t4d0  AVAIL

   errors: No known data errors

I'm just not sure if it will always work. 


I'll try a few different configs and see what happens.


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




--
Solaris Revenue Products Engineering,
India Engineering Center,
Sun Microsystems India Pvt Ltd.
Tel:x27521 +91 80 669 27521 


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


[zfs-discuss] Re: zfs hot spare not automatically getting used

2006-11-28 Thread Jim Hranicky
So is there a command to make the spare get used, or
so I have to remove it as a spare and add it if it doesn't
get automatically used?

Is this a bug to be fixed, or will this always be the case when
the disks aren't exactly the same size?
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss