[zfs-discuss] replacing devices in a non redundant pool

covici at ccs.covici.com covici at ccs.covici.com
Fri Jan 29 20:51:38 EST 2016


Can you do a replace on a non redundant device?  It looked like you
could not from some of the documentation.

Ruben Kelevra <ruben at vfn-nrw.de> wrote:

> Whsts wrong with the replace command?
> 
> > Am 30.01.2016 um 01:54 schrieb John Covici via zfs-discuss <zfs-discuss at list.zfsonlinux.org>:
> > 
> > Hi.  I would like to know, in case it ever happens that a  device in a
> > non-redundant pool gets an i/o error, for instance a bad hd, and I want
> > to replace the device -- what would be the correct method to do this?
> > If you use lvm, there is a command called pvmove which will copy from
> > one device to another, so you would maybe lose part of a file where the
> > error had been.  What is the equivalent in zfs, if any?
> > 
> > Thanks in advance for any suggestions.
> > -- 
> > Your life is like a penny.  You're going to lose it.  The question is:
> > How do
> > you spend it?
> > 
> >         John Covici
> >         covici at ccs.covici.com
> > _______________________________________________
> > zfs-discuss mailing list
> > zfs-discuss at list.zfsonlinux.org
> > http://list.zfsonlinux.org/cgi-bin/mailman/listinfo/zfs-discuss
> 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici at ccs.covici.com


More information about the zfs-discuss mailing list