* [dm-crypt] How to move a LUKS partition @ 2009-10-23 7:48 Christopher Schramm 2010-04-19 9:15 ` indyo 0 siblings, 1 reply; 3+ messages in thread From: Christopher Schramm @ 2009-10-23 7:48 UTC (permalink / raw) To: dm-crypt Hello, I got an encrypted partition which I need to free some space _before_. I already managed to shrink it, but how to move it? Can that be done by modifying the offset? What exactly is that offset? Free space between the beginning of the partition and the crypt volume? Can it be modified by using the cryptsetup resize command? Thanks for your help ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dm-crypt] How to move a LUKS partition 2009-10-23 7:48 [dm-crypt] How to move a LUKS partition Christopher Schramm @ 2010-04-19 9:15 ` indyo 2010-04-19 10:34 ` Arno Wagner 0 siblings, 1 reply; 3+ messages in thread From: indyo @ 2010-04-19 9:15 UTC (permalink / raw) To: dm-crypt HELLO! I NEED TO MOVE A LUKS ENCRYPTED PARTITION TO FREE SPACE -BEFORE- IT... Could you, Christopher, or anybody else achieve such a task? I´ve been googling for hours but can´t find a way to do it.. I could easily resize it but it stells begins at the same sector, so I still need to move it. (I still haven´t join dm-crypt mailing list but i´ll do it as soon as I can) Thanx, indYo. ---------------------------------------------- Repliyng message: Fri Oct 23 09:48:59 CEST 2009 by Christopher Schramm Hello, I got an encrypted partition which I need to free some space _before_. I already managed to shrink it, but how to move it? Can that be done by modifying the offset? What exactly is that offset? Free space between the beginning of the partition and the crypt volume? Can it be modified by using the cryptsetup resize command? Thanks for your help Christopher Schramm ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dm-crypt] How to move a LUKS partition 2010-04-19 9:15 ` indyo @ 2010-04-19 10:34 ` Arno Wagner 0 siblings, 0 replies; 3+ messages in thread From: Arno Wagner @ 2010-04-19 10:34 UTC (permalink / raw) To: dm-crypt I would think that (g)parted should be able to do it, or any other tool that can move a partition without changing it. In a pinch, fdisk + dd_rescue (copy from the end for moving towardfs disk end) can do it, but that is tricky and requires manual calcul;ations that have to be right. However LUKS/dm-crypt itself cannot do it, as it is not a tool for dealing with partition information or moving data. The task is simply out of scope. Before you move, make a backup. It is far too easy to damage vital information in this type of operation. Arno On Mon, Apr 19, 2010 at 06:15:16AM -0300, indyo wrote: > HELLO! > > I NEED TO MOVE A LUKS ENCRYPTED PARTITION TO FREE SPACE -BEFORE- IT... > Could you, Christopher, or anybody else achieve such a task? I?ve been > googling for hours but can?t find a way to do it.. > I could easily resize it but it stells begins at the same sector, so I > still need to move it. > (I still haven?t join dm-crypt mailing list but i?ll do it as soon as I can) > > Thanx, > indYo. > ---------------------------------------------- > Repliyng message: > Fri Oct 23 09:48:59 CEST 2009 by Christopher Schramm > Hello, > > I got an encrypted partition which I need to free some space _before_. I > already managed to shrink it, but how to move it? > > Can that be done by modifying the offset? > What exactly is that offset? Free space between the beginning of the > partition and the crypt volume? > Can it be modified by using the cryptsetup resize command? > > Thanks for your help > Christopher Schramm > > _______________________________________________ > dm-crypt mailing list > dm-crypt@saout.de > http://www.saout.de/mailman/listinfo/dm-crypt > -- Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F ---- Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-04-19 10:31 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-10-23 7:48 [dm-crypt] How to move a LUKS partition Christopher Schramm 2010-04-19 9:15 ` indyo 2010-04-19 10:34 ` Arno Wagner
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.