linux - Increase size sda

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












i try to add primary sda3 with 100gb



but only 1023 kb added on sda3



See the Picture



OS : Debian 9



Disk /dev/sda: 100 GiB



Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 499711 497664 243M 83 Linux
/dev/sda2 501758 41940991 41439234 19.8G 5 Extended
/dev/sda5 501760 41940991 41439232 19.8G 8e Linux LVM






share|improve this question












migrated from stackoverflow.com Nov 11 '17 at 17:57


This question came from our site for professional and enthusiast programmers.














  • This is because your sectors are trying to start at 499712 -- The next "start" sector group starts at 501758. You need to choose the largest group of free space ... It looks like you are choosing free space "between" partitions ..
    – Zak
    Nov 4 '17 at 18:23










  • thanks @zak it's work, but i use bash script to create sda3, how can i find 41940992 for start sector ?
    – aref emami
    Nov 4 '17 at 18:36










  • Look at the image .. Your command line gives you options of which sectors to start and end on ..
    – Zak
    Nov 4 '17 at 18:42














up vote
2
down vote

favorite












i try to add primary sda3 with 100gb



but only 1023 kb added on sda3



See the Picture



OS : Debian 9



Disk /dev/sda: 100 GiB



Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 499711 497664 243M 83 Linux
/dev/sda2 501758 41940991 41439234 19.8G 5 Extended
/dev/sda5 501760 41940991 41439232 19.8G 8e Linux LVM






share|improve this question












migrated from stackoverflow.com Nov 11 '17 at 17:57


This question came from our site for professional and enthusiast programmers.














  • This is because your sectors are trying to start at 499712 -- The next "start" sector group starts at 501758. You need to choose the largest group of free space ... It looks like you are choosing free space "between" partitions ..
    – Zak
    Nov 4 '17 at 18:23










  • thanks @zak it's work, but i use bash script to create sda3, how can i find 41940992 for start sector ?
    – aref emami
    Nov 4 '17 at 18:36










  • Look at the image .. Your command line gives you options of which sectors to start and end on ..
    – Zak
    Nov 4 '17 at 18:42












up vote
2
down vote

favorite









up vote
2
down vote

favorite











i try to add primary sda3 with 100gb



but only 1023 kb added on sda3



See the Picture



OS : Debian 9



Disk /dev/sda: 100 GiB



Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 499711 497664 243M 83 Linux
/dev/sda2 501758 41940991 41439234 19.8G 5 Extended
/dev/sda5 501760 41940991 41439232 19.8G 8e Linux LVM






share|improve this question












i try to add primary sda3 with 100gb



but only 1023 kb added on sda3



See the Picture



OS : Debian 9



Disk /dev/sda: 100 GiB



Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 499711 497664 243M 83 Linux
/dev/sda2 501758 41940991 41439234 19.8G 5 Extended
/dev/sda5 501760 41940991 41439232 19.8G 8e Linux LVM








share|improve this question











share|improve this question




share|improve this question










asked Nov 4 '17 at 18:16







aref emami











migrated from stackoverflow.com Nov 11 '17 at 17:57


This question came from our site for professional and enthusiast programmers.






migrated from stackoverflow.com Nov 11 '17 at 17:57


This question came from our site for professional and enthusiast programmers.













  • This is because your sectors are trying to start at 499712 -- The next "start" sector group starts at 501758. You need to choose the largest group of free space ... It looks like you are choosing free space "between" partitions ..
    – Zak
    Nov 4 '17 at 18:23










  • thanks @zak it's work, but i use bash script to create sda3, how can i find 41940992 for start sector ?
    – aref emami
    Nov 4 '17 at 18:36










  • Look at the image .. Your command line gives you options of which sectors to start and end on ..
    – Zak
    Nov 4 '17 at 18:42
















  • This is because your sectors are trying to start at 499712 -- The next "start" sector group starts at 501758. You need to choose the largest group of free space ... It looks like you are choosing free space "between" partitions ..
    – Zak
    Nov 4 '17 at 18:23










  • thanks @zak it's work, but i use bash script to create sda3, how can i find 41940992 for start sector ?
    – aref emami
    Nov 4 '17 at 18:36










  • Look at the image .. Your command line gives you options of which sectors to start and end on ..
    – Zak
    Nov 4 '17 at 18:42















This is because your sectors are trying to start at 499712 -- The next "start" sector group starts at 501758. You need to choose the largest group of free space ... It looks like you are choosing free space "between" partitions ..
– Zak
Nov 4 '17 at 18:23




This is because your sectors are trying to start at 499712 -- The next "start" sector group starts at 501758. You need to choose the largest group of free space ... It looks like you are choosing free space "between" partitions ..
– Zak
Nov 4 '17 at 18:23












thanks @zak it's work, but i use bash script to create sda3, how can i find 41940992 for start sector ?
– aref emami
Nov 4 '17 at 18:36




thanks @zak it's work, but i use bash script to create sda3, how can i find 41940992 for start sector ?
– aref emami
Nov 4 '17 at 18:36












Look at the image .. Your command line gives you options of which sectors to start and end on ..
– Zak
Nov 4 '17 at 18:42




Look at the image .. Your command line gives you options of which sectors to start and end on ..
– Zak
Nov 4 '17 at 18:42















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f403933%2flinux-increase-size-sda%23new-answer', 'question_page');

);

Post as a guest


































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f403933%2flinux-increase-size-sda%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Christian Cage

How to properly install USB display driver for Fresco Logic FL2000DX on Ubuntu?