> -----Original Message-----
> From: Bhavnesh Makin [mailto:makin@dnrc.bell-labs.com]
> Sent: Monday, July 10, 2000 10:04 AM
> To: toasters(a)mathworks.com
> Subject: volume/shelf containment
>
>
> We have a F740 filer with two 18 gig shelves. Each shelf is
> dedicated to
> a volume.We have reserved disk on each shelf as a hotspare for that
> particular volume. So in total we have two hot spares.
>
> Last week one of the disks failed on the first volume and failed disk
> was recontructed on the spare which was physically present on second
> shelf. So we ended up with the volume which transgresses over to
> another shelf. Our goal was to contain each volume to a shelf of its
> own.
>
> First,is there a way to contain the volumes with hot spares? Secondly
> how do I make the first volume give up the disk on second shelf and
> recontruct it on spare which is physically present on first shelf.
As far as I understand it, spares are global to the filer. The filer
will pick the smallest spare disk that will fit. So unless you have
different sized disks on different volumes, you can't make a filer pick
one disk over another.
As far as fixing your current situation. Config your system now so that
it only have 1 spare (it may be that way anyway now), then fail over the
spare in the 2nd shelf which is now a data drive for the volume on the
first shelf. In my opinion, the best way to do this is to run the 'disk fail'
command rather than pull the drive. I think it's cleaner since you won't
have to cause your lop to reset. Then you will force your volume to rebuild
on the only spare in the system, which not so coincidentally is the one you
want.
Hope this helps.
-- Adam Fox
NetApp Professional Services, NC
adamfox(a)netapp.com