Replies: 1 comment 2 replies
-
You have probably used:
zpool add ....
instead of
zpool attach ...
Now you have a stripped pool where both the old part of the mirror and the
new drive are required to make it function properly. The way forward is to
physically attach the new device again and do 'zpool remove ...
new_device'. Make sure to check cables and the motherboard controller to be
sure it is not the cause of the problems. What kind of errors are you
getting in smart? Some errors can be caused by a bad cable.
--
Regards,
Ivan
…On Fri, Mar 8, 2024 at 12:58 AM nasirq ***@***.***> wrote:
I have a zfs pool, which was initially configured as a mirror using two
harddrives. One of the harddrive developed problem, so I got a new drive
and worked to replace it. My mistake that instead of first marking the
drive offline in the pool and then removing it, I just removed it and
inserted the new drive and used the zpool replace command.
Unfortunately the new drive also started showing SMART errors, and errors
in the resilver process, so I shutdown the machine and removed the new
drive also.
Now, I have another drive, but I am unable to import the pool, I have
tried everything and I get the error:
cannot import 'pool1': no such pool or dataset
Destroy and re-create the pool from
a backup source.
While further exploring the problem (using zdb), I noticed that somehow
the pool converted from a mirror to the stripe, and since now the original
drive is not available, the pool cannot be imported.
Pls help me, as the data is very important.
—
Reply to this email directly, view it on GitHub
<#15973>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABXQ6HNSAS5LAKKMC52SEILYXBXAHAVCNFSM6AAAAABELBTSW2VHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWGMZTMOJRHA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a zfs pool, which was initially configured as a mirror using two harddrives. One of the harddrive developed problem, so I got a new drive and worked to replace it. My mistake that instead of first marking the drive offline in the pool and then removing it, I just removed it and inserted the new drive and used the zpool replace command.
Unfortunately the new drive also started showing SMART errors, and errors in the resilver process, so I shutdown the machine and removed the new drive also.
Now, I have another drive, but I am unable to import the pool, I have tried everything and I get the error:
cannot import 'pool1': no such pool or dataset
Destroy and re-create the pool from
a backup source.
While further exploring the problem (using zdb), I noticed that somehow the pool converted from a mirror to the stripe, and since now the original second drive is not available, the pool cannot be imported.
Pls help me, as the data is very important.
Beta Was this translation helpful? Give feedback.
All reactions