[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zfs-discuss
Subject:    Re: [zfs-discuss] finding smallest drive that can be used to replace
From:       Freddie Cash <fjwcash () gmail ! com>
Date:       2012-09-05 16:02:19
Message-ID: CAOjFWZ42ScjpbpMvAG=i_x=wb06nJZZS2Xr6Sbk1pSWhLvRNBA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Query the size of the other drives in the vdev, obviously. ;) So long as
the replacement is larger than the smallest remaining drive, it'll work.
On Sep 5, 2012 8:57 AM, "Yaverot" <Yaverot@computermail.net> wrote:

>
>
> --- skiselkov.ml@gmail.com wrote:
> >On 09/05/2012 05:06 AM, Yaverot wrote:
> > "What is the smallest sized drive I may use to replace this dead drive?"
> >
> > That information has to be someplace because ZFS will say that drive Q
> is too small.  Is there an easy way to query that information?
>
> >I use fdisk to find this out. For instance say your drive you want to
> find the size of is c2t4d0, then do:
>
> ># fdisk /dev/rdsk/c2t4d0p0
>
> I guess that'll teach me yet again to ask the right question.
>
> Scenario:
> machine has multiple pools (rpool, tank)
> pool tank has multiple vdevs all raidz2, the drives in the pool vary from
> 500G to 3T in capacity.
> c64t0d0 has failed and no longer responds to I/O, so it can't be queried
> with the fdisk trick above.
> I know the failed disk is 1.5T, but before I go buy the replacement, I
> want to know if I can replace it with a 1T, or if it needs to be 2T (since
> 1.5T was a stopgap size instead of a longterm not-too-big-not-too-small
> size I saw it).
> ZFS knows that a device I'm about to stick in is too small, so how do I
> query that information for required minimum size?
>
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>

[Attachment #5 (text/html)]

<p>Query the size of the other drives in the vdev, obviously. ;) So long as the \
replacement is larger than the smallest remaining drive, it&#39;ll work.</p> <div \
class="gmail_quote">On Sep 5, 2012 8:57 AM, &quot;Yaverot&quot; &lt;<a \
href="mailto:Yaverot@computermail.net">Yaverot@computermail.net</a>&gt; wrote:<br \
type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>
<br>
--- <a href="mailto:skiselkov.ml@gmail.com">skiselkov.ml@gmail.com</a> wrote:<br>
&gt;On 09/05/2012 05:06 AM, Yaverot wrote:<br>
&gt; &quot;What is the smallest sized drive I may use to replace this dead \
drive?&quot;<br> &gt;<br>
&gt; That information has to be someplace because ZFS will say that drive Q is too \
small.   Is there an easy way to query that information?<br> <br>
&gt;I use fdisk to find this out. For instance say your drive you want to find the \
size of is c2t4d0, then do:<br> <br>
&gt;# fdisk /dev/rdsk/c2t4d0p0<br>
<br>
I guess that&#39;ll teach me yet again to ask the right question.<br>
<br>
Scenario:<br>
machine has multiple pools (rpool, tank)<br>
pool tank has multiple vdevs all raidz2, the drives in the pool vary from 500G to 3T \
in capacity.<br> c64t0d0 has failed and no longer responds to I/O, so it can&#39;t be \
queried with the fdisk trick above.<br> I know the failed disk is 1.5T, but before I \
go buy the replacement, I want to know if I can replace it with a 1T, or if it needs \
to be 2T (since 1.5T was a stopgap size instead of a longterm \
not-too-big-not-too-small size I saw it).<br>

ZFS knows that a device I&#39;m about to stick in is too small, so how do I query \
that information for required minimum size?<br> <br>
_______________________________________________<br>
zfs-discuss mailing list<br>
<a href="mailto:zfs-discuss@opensolaris.org">zfs-discuss@opensolaris.org</a><br>
<a href="http://mail.opensolaris.org/mailman/listinfo/zfs-discuss" \
target="_blank">http://mail.opensolaris.org/mailman/listinfo/zfs-discuss</a><br> \
</blockquote></div>



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic