Hi! I deleted the pool from the GUI and I have done it before without huge consequences.
Usually, I would be able to import it from shell with: zpool import -F tank
tdcnas: ~ # zpool import -F tank
cannot import 'tank': no such pool available
I have 6x3TB drives filled with data. Is there any chance of recovery or am I completely screwed? =(
This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
WORRIED! Deleted ZFS Pool from webgui
-
taney
- NewUser

- Posts: 8
- Joined: 24 Aug 2013 01:54
- Status: Offline
-
taney
- NewUser

- Posts: 8
- Joined: 24 Aug 2013 01:54
- Status: Offline
Re: WORRIED! Deleted ZFS Pool from webgui
So I found out you could always recover deleted pools with zpool import -D
In my case, my pool was faulted and it looks beyond recovery =(
In my case, my pool was faulted and it looks beyond recovery =(
-
substr
- experienced User

- Posts: 113
- Joined: 04 Aug 2013 20:21
- Status: Offline
Re: WORRIED! Deleted ZFS Pool from webgui
You could try zpool import -D -fF tank
or zpool import -D -fFX tank
The second command might take a long time(hours) before success/fail. It is also a very good idea to make sure all the vdevs are available and at their expected locations. If one is failed, you can try imaging the failed disk to a new drive(with ddrescue, etc), or just try with that drive removed if there is redundancy available.
In these situations, it seems making sure you have a FreeBSD 9.1-based system is a good idea. In desperate cases, using the Illumos or other very recent verions of a live boot CD can also work.
There is a high chance of recovery, since the data is all still there, depending on what you mean by 'faulted.' The difficulty/price of recovery is the question.
For anyone else reading, deleting/destroying a pool is not a good idea unless you mean it. Use export instead.
or zpool import -D -fFX tank
The second command might take a long time(hours) before success/fail. It is also a very good idea to make sure all the vdevs are available and at their expected locations. If one is failed, you can try imaging the failed disk to a new drive(with ddrescue, etc), or just try with that drive removed if there is redundancy available.
In these situations, it seems making sure you have a FreeBSD 9.1-based system is a good idea. In desperate cases, using the Illumos or other very recent verions of a live boot CD can also work.
There is a high chance of recovery, since the data is all still there, depending on what you mean by 'faulted.' The difficulty/price of recovery is the question.
For anyone else reading, deleting/destroying a pool is not a good idea unless you mean it. Use export instead.