Page 1 of 1

How to delete RAIDZ2

Posted: 18 Jun 2014 14:50
by tynolol
Hello everyone,

I created two RAIDZ2 called "Time_Machine" and "NAS RAIDZ2" and I would like to delete one of them called "NAS RAIDZ2" but I don't know how to delete it. When I go in menu Disk-->ZFS-->pool-->virtual device there is only one of the both which appear (called Time Machine), but the other one doesn't appear. Furthermore when I go in menu Disk-->ZFS-->configuration-->detected the both are listed.

Image

Image

Image

What does it means? Is the RAIDZ2 already deleted or is it still present?

Thank you

Re: How to delete RAIDZ2

Posted: 18 Jun 2014 15:15
by b0ssman
give us some more information.

what have you done so that the pool is unavailable?
do you a full or an embedded install?
have you restarted the system?

Re: How to delete RAIDZ2

Posted: 18 Jun 2014 15:45
by tynolol
I have a full install (the last one).

I reinstall nas4free recently because of these problem without restore a backup config (I restarted from a clean system) :

viewtopic.php?f=65&t=6730&p=38615#p38615

I restarted system several times and to delete the pool I tryed to format the HDDs of these pool (but the pool was already not listed in pool menu, that's why I tryed to delete it)

Re: How to delete RAIDZ2

Posted: 18 Jun 2014 15:58
by b0ssman
zpool destroy NAS
from the command line

i would advise you to use the embedded install rather than the full.
on an embedded install you would not have had the problem.

see
http://wiki.nas4free.org/doku.php?id=faq:0073

Re: How to delete RAIDZ2

Posted: 18 Jun 2014 16:08
by tynolol
I don't know some people advice to use full others to use embedded... I'm lost^^

thank you for the command

edit : thank you it works and I think my system is faster now

Re: How to delete RAIDZ2

Posted: 18 Jun 2014 16:12
by b0ssman
there is no question that you should use the embedded install.

Re: How to delete RAIDZ2

Posted: 18 Jun 2014 16:33
by tynolol
so what should I reinstall my system??

edit : what's more, when I reinstall nas4free, how to recover my ZFS RAIDz2 (for a RAID I have to import it in software RAID management menu)

Re: How to delete RAIDZ2

Posted: 18 Jun 2014 16:48
by b0ssman
save the config.

install nas4free embedded on an usb stick. restore config. done.

Re: How to delete RAIDZ2

Posted: 19 Jun 2014 03:30
by kenZ71
b0ssman wrote:save the config.

install nas4free embedded on an usb stick. restore config. done.
Yes, it is that easy. You can unplug your data drives while reinstalling as an added safety.