Expanding an encrypted LVM partition question





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















This is absolutely not a previously answered question! I have spent weeks (literally) reading these posts and documentation and for the most part the information and answers have been vague, misleading, downright incorrect or so convoluted that no normal person could ever follow them. Based on the number of comments by users who also had problems following these "answers" what's really needed is a clear, simple, flawless FAQ type procedure. It just shouldn't be this hard to resize a system when you install a larger SSD!



I'd prefer to do this via command lines but the several CLI answers I've seen posted have not worked. And one answer included the statement "say a prayer" after you enter this command. Like that's a procedure I want to follow.



The solution that looked the most promising involved kvpm but there is no information I can find that easily explains how to perform this simple task.



The procedure that came closest to success is posted at encrypted drive cloning - expanding partitions problem



I'm very wearing reading poorly prepared documentation, answers that were obviously never tested before they were posted and trying various advice and commands that ultimately turn out to not work.



This is a VERY simple question:



I have a 100% running 18.04.2 Ubuntu installation that I've cloned onto a much larger 500 GB SDD. Everything works great but since I cloned it using dd the new SDD has a partition size of 32 GB (the size of the old SSD).



What we users need is a clear, correct, mistake-free, bullet-proof procedure for expanding the encrypted LVM partition (LUKS and ubuntu-vg) to use the available 485 gig of currently unallocated space. This ought not be rocket science and could probably be accomplished in a half dozen to a dozen commands, right?



Flames and downvotes are not going to be helpful here. An answer that works for everyone searching for a solution to this issue will help a lot of folks visiting here not just me.



Many thanks in advance.










share|improve this question























  • You have the need for it, so test & then write the documentation yourself, write it here (or better in my opinion on wiki.ubuntu.com). If you don't have another system to test (before using production data), clone your partition to some of the free space & expand that.

    – guiverc
    Feb 14 at 1:49













  • I count five paragraphs with various rants or complaints about the AskUbuntu community in them, including the entire first paragraph. Are you sure that's how you want to attract knowledgeable folks to answer the question?

    – user535733
    Feb 14 at 3:39













  • It's not a rant and the snarky comment above yours demonstrates why I felt I needed to preface my question thusly. This isn't just for me. This issue (partition resizing) comes up frequently and everything I've read just adds to the confusion. The wiki page on this topic is badly in need of a cleanup and updating. I don't mean to be offensive but neither do I care to be flamed for asking a legitimate question that many people here have also struggled with. I am not at all novice with *NIX. It just doesn't need to be this difficult to expand encrypted/LVM filesystems.

    – jones0610
    Feb 14 at 3:46


















0















This is absolutely not a previously answered question! I have spent weeks (literally) reading these posts and documentation and for the most part the information and answers have been vague, misleading, downright incorrect or so convoluted that no normal person could ever follow them. Based on the number of comments by users who also had problems following these "answers" what's really needed is a clear, simple, flawless FAQ type procedure. It just shouldn't be this hard to resize a system when you install a larger SSD!



I'd prefer to do this via command lines but the several CLI answers I've seen posted have not worked. And one answer included the statement "say a prayer" after you enter this command. Like that's a procedure I want to follow.



The solution that looked the most promising involved kvpm but there is no information I can find that easily explains how to perform this simple task.



The procedure that came closest to success is posted at encrypted drive cloning - expanding partitions problem



I'm very wearing reading poorly prepared documentation, answers that were obviously never tested before they were posted and trying various advice and commands that ultimately turn out to not work.



This is a VERY simple question:



I have a 100% running 18.04.2 Ubuntu installation that I've cloned onto a much larger 500 GB SDD. Everything works great but since I cloned it using dd the new SDD has a partition size of 32 GB (the size of the old SSD).



What we users need is a clear, correct, mistake-free, bullet-proof procedure for expanding the encrypted LVM partition (LUKS and ubuntu-vg) to use the available 485 gig of currently unallocated space. This ought not be rocket science and could probably be accomplished in a half dozen to a dozen commands, right?



Flames and downvotes are not going to be helpful here. An answer that works for everyone searching for a solution to this issue will help a lot of folks visiting here not just me.



Many thanks in advance.










share|improve this question























  • You have the need for it, so test & then write the documentation yourself, write it here (or better in my opinion on wiki.ubuntu.com). If you don't have another system to test (before using production data), clone your partition to some of the free space & expand that.

    – guiverc
    Feb 14 at 1:49













  • I count five paragraphs with various rants or complaints about the AskUbuntu community in them, including the entire first paragraph. Are you sure that's how you want to attract knowledgeable folks to answer the question?

    – user535733
    Feb 14 at 3:39













  • It's not a rant and the snarky comment above yours demonstrates why I felt I needed to preface my question thusly. This isn't just for me. This issue (partition resizing) comes up frequently and everything I've read just adds to the confusion. The wiki page on this topic is badly in need of a cleanup and updating. I don't mean to be offensive but neither do I care to be flamed for asking a legitimate question that many people here have also struggled with. I am not at all novice with *NIX. It just doesn't need to be this difficult to expand encrypted/LVM filesystems.

    – jones0610
    Feb 14 at 3:46














0












0








0








This is absolutely not a previously answered question! I have spent weeks (literally) reading these posts and documentation and for the most part the information and answers have been vague, misleading, downright incorrect or so convoluted that no normal person could ever follow them. Based on the number of comments by users who also had problems following these "answers" what's really needed is a clear, simple, flawless FAQ type procedure. It just shouldn't be this hard to resize a system when you install a larger SSD!



I'd prefer to do this via command lines but the several CLI answers I've seen posted have not worked. And one answer included the statement "say a prayer" after you enter this command. Like that's a procedure I want to follow.



The solution that looked the most promising involved kvpm but there is no information I can find that easily explains how to perform this simple task.



The procedure that came closest to success is posted at encrypted drive cloning - expanding partitions problem



I'm very wearing reading poorly prepared documentation, answers that were obviously never tested before they were posted and trying various advice and commands that ultimately turn out to not work.



This is a VERY simple question:



I have a 100% running 18.04.2 Ubuntu installation that I've cloned onto a much larger 500 GB SDD. Everything works great but since I cloned it using dd the new SDD has a partition size of 32 GB (the size of the old SSD).



What we users need is a clear, correct, mistake-free, bullet-proof procedure for expanding the encrypted LVM partition (LUKS and ubuntu-vg) to use the available 485 gig of currently unallocated space. This ought not be rocket science and could probably be accomplished in a half dozen to a dozen commands, right?



Flames and downvotes are not going to be helpful here. An answer that works for everyone searching for a solution to this issue will help a lot of folks visiting here not just me.



Many thanks in advance.










share|improve this question














This is absolutely not a previously answered question! I have spent weeks (literally) reading these posts and documentation and for the most part the information and answers have been vague, misleading, downright incorrect or so convoluted that no normal person could ever follow them. Based on the number of comments by users who also had problems following these "answers" what's really needed is a clear, simple, flawless FAQ type procedure. It just shouldn't be this hard to resize a system when you install a larger SSD!



I'd prefer to do this via command lines but the several CLI answers I've seen posted have not worked. And one answer included the statement "say a prayer" after you enter this command. Like that's a procedure I want to follow.



The solution that looked the most promising involved kvpm but there is no information I can find that easily explains how to perform this simple task.



The procedure that came closest to success is posted at encrypted drive cloning - expanding partitions problem



I'm very wearing reading poorly prepared documentation, answers that were obviously never tested before they were posted and trying various advice and commands that ultimately turn out to not work.



This is a VERY simple question:



I have a 100% running 18.04.2 Ubuntu installation that I've cloned onto a much larger 500 GB SDD. Everything works great but since I cloned it using dd the new SDD has a partition size of 32 GB (the size of the old SSD).



What we users need is a clear, correct, mistake-free, bullet-proof procedure for expanding the encrypted LVM partition (LUKS and ubuntu-vg) to use the available 485 gig of currently unallocated space. This ought not be rocket science and could probably be accomplished in a half dozen to a dozen commands, right?



Flames and downvotes are not going to be helpful here. An answer that works for everyone searching for a solution to this issue will help a lot of folks visiting here not just me.



Many thanks in advance.







partitioning 18.04 encryption ssd lvm






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 14 at 1:20









jones0610jones0610

1,3521421




1,3521421













  • You have the need for it, so test & then write the documentation yourself, write it here (or better in my opinion on wiki.ubuntu.com). If you don't have another system to test (before using production data), clone your partition to some of the free space & expand that.

    – guiverc
    Feb 14 at 1:49













  • I count five paragraphs with various rants or complaints about the AskUbuntu community in them, including the entire first paragraph. Are you sure that's how you want to attract knowledgeable folks to answer the question?

    – user535733
    Feb 14 at 3:39













  • It's not a rant and the snarky comment above yours demonstrates why I felt I needed to preface my question thusly. This isn't just for me. This issue (partition resizing) comes up frequently and everything I've read just adds to the confusion. The wiki page on this topic is badly in need of a cleanup and updating. I don't mean to be offensive but neither do I care to be flamed for asking a legitimate question that many people here have also struggled with. I am not at all novice with *NIX. It just doesn't need to be this difficult to expand encrypted/LVM filesystems.

    – jones0610
    Feb 14 at 3:46



















  • You have the need for it, so test & then write the documentation yourself, write it here (or better in my opinion on wiki.ubuntu.com). If you don't have another system to test (before using production data), clone your partition to some of the free space & expand that.

    – guiverc
    Feb 14 at 1:49













  • I count five paragraphs with various rants or complaints about the AskUbuntu community in them, including the entire first paragraph. Are you sure that's how you want to attract knowledgeable folks to answer the question?

    – user535733
    Feb 14 at 3:39













  • It's not a rant and the snarky comment above yours demonstrates why I felt I needed to preface my question thusly. This isn't just for me. This issue (partition resizing) comes up frequently and everything I've read just adds to the confusion. The wiki page on this topic is badly in need of a cleanup and updating. I don't mean to be offensive but neither do I care to be flamed for asking a legitimate question that many people here have also struggled with. I am not at all novice with *NIX. It just doesn't need to be this difficult to expand encrypted/LVM filesystems.

    – jones0610
    Feb 14 at 3:46

















You have the need for it, so test & then write the documentation yourself, write it here (or better in my opinion on wiki.ubuntu.com). If you don't have another system to test (before using production data), clone your partition to some of the free space & expand that.

– guiverc
Feb 14 at 1:49







You have the need for it, so test & then write the documentation yourself, write it here (or better in my opinion on wiki.ubuntu.com). If you don't have another system to test (before using production data), clone your partition to some of the free space & expand that.

– guiverc
Feb 14 at 1:49















I count five paragraphs with various rants or complaints about the AskUbuntu community in them, including the entire first paragraph. Are you sure that's how you want to attract knowledgeable folks to answer the question?

– user535733
Feb 14 at 3:39







I count five paragraphs with various rants or complaints about the AskUbuntu community in them, including the entire first paragraph. Are you sure that's how you want to attract knowledgeable folks to answer the question?

– user535733
Feb 14 at 3:39















It's not a rant and the snarky comment above yours demonstrates why I felt I needed to preface my question thusly. This isn't just for me. This issue (partition resizing) comes up frequently and everything I've read just adds to the confusion. The wiki page on this topic is badly in need of a cleanup and updating. I don't mean to be offensive but neither do I care to be flamed for asking a legitimate question that many people here have also struggled with. I am not at all novice with *NIX. It just doesn't need to be this difficult to expand encrypted/LVM filesystems.

– jones0610
Feb 14 at 3:46





It's not a rant and the snarky comment above yours demonstrates why I felt I needed to preface my question thusly. This isn't just for me. This issue (partition resizing) comes up frequently and everything I've read just adds to the confusion. The wiki page on this topic is badly in need of a cleanup and updating. I don't mean to be offensive but neither do I care to be flamed for asking a legitimate question that many people here have also struggled with. I am not at all novice with *NIX. It just doesn't need to be this difficult to expand encrypted/LVM filesystems.

– jones0610
Feb 14 at 3:46










0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1118085%2fexpanding-an-encrypted-lvm-partition-question%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1118085%2fexpanding-an-encrypted-lvm-partition-question%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents