Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux > #56166

Re: Can crypsetup --type plain destroy a previous written partition? [EXLAINED]

From Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt>
Newsgroups alt.os.linux
Subject Re: Can crypsetup --type plain destroy a previous written partition? [EXLAINED]
Date 2019-05-10 16:00 +0100
Organization Aioe.org NNTP Server
Message-ID <qb43na$1fop$1@gioia.aioe.org> (permalink)
References <qb21mk$eti$1@gioia.aioe.org>

Show all headers | View raw


Às 21:14 de 09/05/19, Paulo da Silva escreveu:
> Hi all!
> 
> Can crypsetup --type plain destroy a previous written partition?
> 
> Here is what happened ...
> 
> 1. I had a raid1 of 2X2TiB usb disks (say A and B).
> 2. I wanted to replace one of the disks. There are some errors in it -
> B. Disk A is fine.
> 3. I decided to use 2 new disks of 4TiB each (C and D) in raid1.
> 4. Disks A and B were encryted with --type plain.
> 5. I normally mounted disks A and B as usual. OK.
Here I made a mistake!!!
When using cryptseup I named the mapped devices B as A and A as B :-(
So disk A was discarded after the transfer, instead of B, and I was
trying to use it.
...

> 
> TURN AROUND
> I mounted the filesystem using only disk C as degraded.
> Added disk D.
> Deleted "missing".
> Now it is transfering "things" to D.
> Seems OK. Let's see what happens at the very end.
Now it is taking a lot of time. Sometimes there is a lot of I/O without
significant progress. Hopefully it will end up in the next 20h :-)

Thank you all who read this post.

Back to alt.os.linux | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Can crypsetup --type plain destroy a previous written partition? Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> - 2019-05-09 21:14 +0100
  Re: Can crypsetup --type plain destroy a previous written partition? "J.O. Aho" <user@example.net> - 2019-05-10 07:02 +0200
    Re: Can crypsetup --type plain destroy a previous written partition? Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> - 2019-05-10 16:10 +0100
      Re: Can crypsetup --type plain destroy a previous written partition? "J.O. Aho" <user@example.net> - 2019-05-10 18:43 +0200
        Re: Can crypsetup --type plain destroy a previous written partition? Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> - 2019-05-10 17:59 +0100
          Re: Can crypsetup --type plain destroy a previous written partition? "J.O. Aho" <user@example.net> - 2019-05-10 23:52 +0200
            Re: Can crypsetup --type plain destroy a previous written partition? Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> - 2019-05-11 04:08 +0100
              Re: Can crypsetup --type plain destroy a previous written partition? "J.O. Aho" <user@example.net> - 2019-05-11 09:40 +0200
                Re: Can crypsetup --type plain destroy a previous written partition? Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> - 2019-05-11 18:50 +0100
  Re: Can crypsetup --type plain destroy a previous written partition? [EXLAINED] Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> - 2019-05-10 16:00 +0100

csiph-web