Expand Disk on VMware but no effect? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionCentOS kernel version 2.6.32-431.el6.x86_64 bugsNullpointer dereference crashes on large memory allocations on ESXi with Linux guestsI cannot get a CentOS 7 iso (on a hard drive) to boot from GRUB2Failing to expand disc space running Kali Linux on vmwareextend disk space in VMWare with no Volume groupsexpanding Centos_homevmware centos7 disk full?Why CentOS uses half of the memory for devtmpfs or tmpfs?“Please insert CentOS disk 2 to continue” error on VMwareBoot custom CentOS 7 Live ISO from hard disk to RAM

How widely used is the term Treppenwitz? Is it something that most Germans know?

How to tell that you are a giant?

What exactly is a "Meth" in Altered Carbon?

What causes the vertical darker bands in my photo?

Why is "Consequences inflicted." not a sentence?

What does an IRS interview request entail when called in to verify expenses for a sole proprietor small business?

Book where humans were engineered with genes from animal species to survive hostile planets

What is the meaning of the new sigil in Game of Thrones Season 8 intro?

How does the particle を relate to the verb 行く in the structure「A を + B に行く」?

Why did the IBM 650 use bi-quinary?

Can I cast Passwall to drop an enemy into a 20-foot pit?

Why did the Falcon Heavy center core fall off the ASDS OCISLY barge?

Can an alien society believe that their star system is the universe?

porting install scripts : can rpm replace apt?

How to find out what spells would be useless to a blind NPC spellcaster?

How to bypass password on Windows XP account?

Storing hydrofluoric acid before the invention of plastics

How to react to hostile behavior from a senior developer?

List of Python versions

Ring Automorphisms that fix 1.

What's the purpose of writing one's academic biography in the third person?

Should I use a zero-interest credit card for a large one-time purchase?

Can a non-EU citizen traveling with me come with me through the EU passport line?

Should I discuss the type of campaign with my players?



Expand Disk on VMware but no effect?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionCentOS kernel version 2.6.32-431.el6.x86_64 bugsNullpointer dereference crashes on large memory allocations on ESXi with Linux guestsI cannot get a CentOS 7 iso (on a hard drive) to boot from GRUB2Failing to expand disc space running Kali Linux on vmwareextend disk space in VMWare with no Volume groupsexpanding Centos_homevmware centos7 disk full?Why CentOS uses half of the memory for devtmpfs or tmpfs?“Please insert CentOS disk 2 to continue” error on VMwareBoot custom CentOS 7 Live ISO from hard disk to RAM



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








5















I have a Virtual Host (CentOS 6.4) running on VMware. Hard disk of this PC is 100GB but I want to expand it to 500GB.



I tried to expand the Hard Disk (SCSI) to 500GB.



It's ok, no errors. But another PC (Windows 7) connected to this PC (CentOS 6.4) via samba, just shows "9GB free of 100GB". It means the PC (CentOS 6.4) has not expanded the disk.



I used an external HDD (500 GB) to run this PC (CentOS 6.4).



What did I do wrong?

Did I missed something?










share|improve this question
























  • You increased the disk size but you neither resized the partition nor allocated the added space to a new partition.

    – Shadur
    Dec 17 '13 at 15:12











  • Could you please provide a df -h? In this way we can help understanding what you need to do.

    – ludiegu
    Dec 18 '13 at 9:09

















5















I have a Virtual Host (CentOS 6.4) running on VMware. Hard disk of this PC is 100GB but I want to expand it to 500GB.



I tried to expand the Hard Disk (SCSI) to 500GB.



It's ok, no errors. But another PC (Windows 7) connected to this PC (CentOS 6.4) via samba, just shows "9GB free of 100GB". It means the PC (CentOS 6.4) has not expanded the disk.



I used an external HDD (500 GB) to run this PC (CentOS 6.4).



What did I do wrong?

Did I missed something?










share|improve this question
























  • You increased the disk size but you neither resized the partition nor allocated the added space to a new partition.

    – Shadur
    Dec 17 '13 at 15:12











  • Could you please provide a df -h? In this way we can help understanding what you need to do.

    – ludiegu
    Dec 18 '13 at 9:09













5












5








5








I have a Virtual Host (CentOS 6.4) running on VMware. Hard disk of this PC is 100GB but I want to expand it to 500GB.



I tried to expand the Hard Disk (SCSI) to 500GB.



It's ok, no errors. But another PC (Windows 7) connected to this PC (CentOS 6.4) via samba, just shows "9GB free of 100GB". It means the PC (CentOS 6.4) has not expanded the disk.



I used an external HDD (500 GB) to run this PC (CentOS 6.4).



What did I do wrong?

Did I missed something?










share|improve this question
















I have a Virtual Host (CentOS 6.4) running on VMware. Hard disk of this PC is 100GB but I want to expand it to 500GB.



I tried to expand the Hard Disk (SCSI) to 500GB.



It's ok, no errors. But another PC (Windows 7) connected to this PC (CentOS 6.4) via samba, just shows "9GB free of 100GB". It means the PC (CentOS 6.4) has not expanded the disk.



I used an external HDD (500 GB) to run this PC (CentOS 6.4).



What did I do wrong?

Did I missed something?







centos vmware






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 17 '13 at 8:46









Kevdog777

2,116123460




2,116123460










asked Dec 17 '13 at 3:35









ThomasThomas

123139




123139












  • You increased the disk size but you neither resized the partition nor allocated the added space to a new partition.

    – Shadur
    Dec 17 '13 at 15:12











  • Could you please provide a df -h? In this way we can help understanding what you need to do.

    – ludiegu
    Dec 18 '13 at 9:09

















  • You increased the disk size but you neither resized the partition nor allocated the added space to a new partition.

    – Shadur
    Dec 17 '13 at 15:12











  • Could you please provide a df -h? In this way we can help understanding what you need to do.

    – ludiegu
    Dec 18 '13 at 9:09
















You increased the disk size but you neither resized the partition nor allocated the added space to a new partition.

– Shadur
Dec 17 '13 at 15:12





You increased the disk size but you neither resized the partition nor allocated the added space to a new partition.

– Shadur
Dec 17 '13 at 15:12













Could you please provide a df -h? In this way we can help understanding what you need to do.

– ludiegu
Dec 18 '13 at 9:09





Could you please provide a df -h? In this way we can help understanding what you need to do.

– ludiegu
Dec 18 '13 at 9:09










3 Answers
3






active

oldest

votes


















2














I don't know if vmware will edit the partition table for you, but You need to also expand the file system. if you are using ext2/3/4 the tool to do this is resise2fs. read its man page for details. Some other file systems have similar tools. those that do not will need a reformat.






share|improve this answer


















  • 1





    He will need to resize the partition in addition to the filesystem, or if he is using LVM, add another partition to the VG and extend.

    – jordanm
    Dec 17 '13 at 4:05






  • 3





    I would be careful with any resizing one attempts to do on a filesystem. If you don't know what you're doing you can wreck your data. I would suggest setting a sacrificial instance up identical to the real one and do a dry run with it 1st.

    – slm
    Dec 17 '13 at 4:31











  • Thank you, but i can't format my data... So sorry. I found that my SDA: 483gb, SDA1: 300GB, SDA2: 105gb. So i think that SDA and SDA1 have not mounted to SDA2. Could you please help me how to mounted?

    – Thomas
    Dec 19 '13 at 7:54



















0














Just increasing the virtual 'physical' disk size does not magically enlarge the size of the mounted partition.



If you check with fdisk -l /dev/diskname (probably sdb but make sure you have the right one first) you'll see a 100G partition /dev/diskname1 and 400 gigabyte unallocated.



The smoothest way to do this, especially if you're unfamiliar with the various ins and outs, is using gparted on a live image -- go here and download the iso into the vmware datastore, then tell vmware to mount the image and boot into BIOS setup on next launch.



Reboot, then in the virtual BIOS change boot order to try the CD first so it'll launch the gparted ISO. Follow the instructions to resize your drive, then once you've shut down unmount the ISO in vmware and restart.



This method has worked flawlessly for me with every system I've used it on so far.






share|improve this answer























  • Thank you so much. But is there any tutorial how to mount sda and sda1 to sda2? Please help me.

    – Thomas
    Dec 19 '13 at 7:54


















0














Here is a howto tutorial on adding hard disk to centos6. Click here



Also you have to mkfs.ext3 /dev/sdb or mkfs.ext4 /dev/sdb to format to ext3 or ext4 file system. Then you have to mount that partition, mount /dev/sdb /tmp/test.



Now you have to share this /tmp/test folder in samba server so that you can use that 500gigs HD from a remote system.






share|improve this answer

























    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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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%2funix.stackexchange.com%2fquestions%2f105485%2fexpand-disk-on-vmware-but-no-effect%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    I don't know if vmware will edit the partition table for you, but You need to also expand the file system. if you are using ext2/3/4 the tool to do this is resise2fs. read its man page for details. Some other file systems have similar tools. those that do not will need a reformat.






    share|improve this answer


















    • 1





      He will need to resize the partition in addition to the filesystem, or if he is using LVM, add another partition to the VG and extend.

      – jordanm
      Dec 17 '13 at 4:05






    • 3





      I would be careful with any resizing one attempts to do on a filesystem. If you don't know what you're doing you can wreck your data. I would suggest setting a sacrificial instance up identical to the real one and do a dry run with it 1st.

      – slm
      Dec 17 '13 at 4:31











    • Thank you, but i can't format my data... So sorry. I found that my SDA: 483gb, SDA1: 300GB, SDA2: 105gb. So i think that SDA and SDA1 have not mounted to SDA2. Could you please help me how to mounted?

      – Thomas
      Dec 19 '13 at 7:54
















    2














    I don't know if vmware will edit the partition table for you, but You need to also expand the file system. if you are using ext2/3/4 the tool to do this is resise2fs. read its man page for details. Some other file systems have similar tools. those that do not will need a reformat.






    share|improve this answer


















    • 1





      He will need to resize the partition in addition to the filesystem, or if he is using LVM, add another partition to the VG and extend.

      – jordanm
      Dec 17 '13 at 4:05






    • 3





      I would be careful with any resizing one attempts to do on a filesystem. If you don't know what you're doing you can wreck your data. I would suggest setting a sacrificial instance up identical to the real one and do a dry run with it 1st.

      – slm
      Dec 17 '13 at 4:31











    • Thank you, but i can't format my data... So sorry. I found that my SDA: 483gb, SDA1: 300GB, SDA2: 105gb. So i think that SDA and SDA1 have not mounted to SDA2. Could you please help me how to mounted?

      – Thomas
      Dec 19 '13 at 7:54














    2












    2








    2







    I don't know if vmware will edit the partition table for you, but You need to also expand the file system. if you are using ext2/3/4 the tool to do this is resise2fs. read its man page for details. Some other file systems have similar tools. those that do not will need a reformat.






    share|improve this answer













    I don't know if vmware will edit the partition table for you, but You need to also expand the file system. if you are using ext2/3/4 the tool to do this is resise2fs. read its man page for details. Some other file systems have similar tools. those that do not will need a reformat.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Dec 17 '13 at 4:04









    hildredhildred

    4,82322139




    4,82322139







    • 1





      He will need to resize the partition in addition to the filesystem, or if he is using LVM, add another partition to the VG and extend.

      – jordanm
      Dec 17 '13 at 4:05






    • 3





      I would be careful with any resizing one attempts to do on a filesystem. If you don't know what you're doing you can wreck your data. I would suggest setting a sacrificial instance up identical to the real one and do a dry run with it 1st.

      – slm
      Dec 17 '13 at 4:31











    • Thank you, but i can't format my data... So sorry. I found that my SDA: 483gb, SDA1: 300GB, SDA2: 105gb. So i think that SDA and SDA1 have not mounted to SDA2. Could you please help me how to mounted?

      – Thomas
      Dec 19 '13 at 7:54













    • 1





      He will need to resize the partition in addition to the filesystem, or if he is using LVM, add another partition to the VG and extend.

      – jordanm
      Dec 17 '13 at 4:05






    • 3





      I would be careful with any resizing one attempts to do on a filesystem. If you don't know what you're doing you can wreck your data. I would suggest setting a sacrificial instance up identical to the real one and do a dry run with it 1st.

      – slm
      Dec 17 '13 at 4:31











    • Thank you, but i can't format my data... So sorry. I found that my SDA: 483gb, SDA1: 300GB, SDA2: 105gb. So i think that SDA and SDA1 have not mounted to SDA2. Could you please help me how to mounted?

      – Thomas
      Dec 19 '13 at 7:54








    1




    1





    He will need to resize the partition in addition to the filesystem, or if he is using LVM, add another partition to the VG and extend.

    – jordanm
    Dec 17 '13 at 4:05





    He will need to resize the partition in addition to the filesystem, or if he is using LVM, add another partition to the VG and extend.

    – jordanm
    Dec 17 '13 at 4:05




    3




    3





    I would be careful with any resizing one attempts to do on a filesystem. If you don't know what you're doing you can wreck your data. I would suggest setting a sacrificial instance up identical to the real one and do a dry run with it 1st.

    – slm
    Dec 17 '13 at 4:31





    I would be careful with any resizing one attempts to do on a filesystem. If you don't know what you're doing you can wreck your data. I would suggest setting a sacrificial instance up identical to the real one and do a dry run with it 1st.

    – slm
    Dec 17 '13 at 4:31













    Thank you, but i can't format my data... So sorry. I found that my SDA: 483gb, SDA1: 300GB, SDA2: 105gb. So i think that SDA and SDA1 have not mounted to SDA2. Could you please help me how to mounted?

    – Thomas
    Dec 19 '13 at 7:54






    Thank you, but i can't format my data... So sorry. I found that my SDA: 483gb, SDA1: 300GB, SDA2: 105gb. So i think that SDA and SDA1 have not mounted to SDA2. Could you please help me how to mounted?

    – Thomas
    Dec 19 '13 at 7:54














    0














    Just increasing the virtual 'physical' disk size does not magically enlarge the size of the mounted partition.



    If you check with fdisk -l /dev/diskname (probably sdb but make sure you have the right one first) you'll see a 100G partition /dev/diskname1 and 400 gigabyte unallocated.



    The smoothest way to do this, especially if you're unfamiliar with the various ins and outs, is using gparted on a live image -- go here and download the iso into the vmware datastore, then tell vmware to mount the image and boot into BIOS setup on next launch.



    Reboot, then in the virtual BIOS change boot order to try the CD first so it'll launch the gparted ISO. Follow the instructions to resize your drive, then once you've shut down unmount the ISO in vmware and restart.



    This method has worked flawlessly for me with every system I've used it on so far.






    share|improve this answer























    • Thank you so much. But is there any tutorial how to mount sda and sda1 to sda2? Please help me.

      – Thomas
      Dec 19 '13 at 7:54















    0














    Just increasing the virtual 'physical' disk size does not magically enlarge the size of the mounted partition.



    If you check with fdisk -l /dev/diskname (probably sdb but make sure you have the right one first) you'll see a 100G partition /dev/diskname1 and 400 gigabyte unallocated.



    The smoothest way to do this, especially if you're unfamiliar with the various ins and outs, is using gparted on a live image -- go here and download the iso into the vmware datastore, then tell vmware to mount the image and boot into BIOS setup on next launch.



    Reboot, then in the virtual BIOS change boot order to try the CD first so it'll launch the gparted ISO. Follow the instructions to resize your drive, then once you've shut down unmount the ISO in vmware and restart.



    This method has worked flawlessly for me with every system I've used it on so far.






    share|improve this answer























    • Thank you so much. But is there any tutorial how to mount sda and sda1 to sda2? Please help me.

      – Thomas
      Dec 19 '13 at 7:54













    0












    0








    0







    Just increasing the virtual 'physical' disk size does not magically enlarge the size of the mounted partition.



    If you check with fdisk -l /dev/diskname (probably sdb but make sure you have the right one first) you'll see a 100G partition /dev/diskname1 and 400 gigabyte unallocated.



    The smoothest way to do this, especially if you're unfamiliar with the various ins and outs, is using gparted on a live image -- go here and download the iso into the vmware datastore, then tell vmware to mount the image and boot into BIOS setup on next launch.



    Reboot, then in the virtual BIOS change boot order to try the CD first so it'll launch the gparted ISO. Follow the instructions to resize your drive, then once you've shut down unmount the ISO in vmware and restart.



    This method has worked flawlessly for me with every system I've used it on so far.






    share|improve this answer













    Just increasing the virtual 'physical' disk size does not magically enlarge the size of the mounted partition.



    If you check with fdisk -l /dev/diskname (probably sdb but make sure you have the right one first) you'll see a 100G partition /dev/diskname1 and 400 gigabyte unallocated.



    The smoothest way to do this, especially if you're unfamiliar with the various ins and outs, is using gparted on a live image -- go here and download the iso into the vmware datastore, then tell vmware to mount the image and boot into BIOS setup on next launch.



    Reboot, then in the virtual BIOS change boot order to try the CD first so it'll launch the gparted ISO. Follow the instructions to resize your drive, then once you've shut down unmount the ISO in vmware and restart.



    This method has worked flawlessly for me with every system I've used it on so far.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Dec 17 '13 at 15:17









    ShadurShadur

    20.2k84658




    20.2k84658












    • Thank you so much. But is there any tutorial how to mount sda and sda1 to sda2? Please help me.

      – Thomas
      Dec 19 '13 at 7:54

















    • Thank you so much. But is there any tutorial how to mount sda and sda1 to sda2? Please help me.

      – Thomas
      Dec 19 '13 at 7:54
















    Thank you so much. But is there any tutorial how to mount sda and sda1 to sda2? Please help me.

    – Thomas
    Dec 19 '13 at 7:54





    Thank you so much. But is there any tutorial how to mount sda and sda1 to sda2? Please help me.

    – Thomas
    Dec 19 '13 at 7:54











    0














    Here is a howto tutorial on adding hard disk to centos6. Click here



    Also you have to mkfs.ext3 /dev/sdb or mkfs.ext4 /dev/sdb to format to ext3 or ext4 file system. Then you have to mount that partition, mount /dev/sdb /tmp/test.



    Now you have to share this /tmp/test folder in samba server so that you can use that 500gigs HD from a remote system.






    share|improve this answer





























      0














      Here is a howto tutorial on adding hard disk to centos6. Click here



      Also you have to mkfs.ext3 /dev/sdb or mkfs.ext4 /dev/sdb to format to ext3 or ext4 file system. Then you have to mount that partition, mount /dev/sdb /tmp/test.



      Now you have to share this /tmp/test folder in samba server so that you can use that 500gigs HD from a remote system.






      share|improve this answer



























        0












        0








        0







        Here is a howto tutorial on adding hard disk to centos6. Click here



        Also you have to mkfs.ext3 /dev/sdb or mkfs.ext4 /dev/sdb to format to ext3 or ext4 file system. Then you have to mount that partition, mount /dev/sdb /tmp/test.



        Now you have to share this /tmp/test folder in samba server so that you can use that 500gigs HD from a remote system.






        share|improve this answer















        Here is a howto tutorial on adding hard disk to centos6. Click here



        Also you have to mkfs.ext3 /dev/sdb or mkfs.ext4 /dev/sdb to format to ext3 or ext4 file system. Then you have to mount that partition, mount /dev/sdb /tmp/test.



        Now you have to share this /tmp/test folder in samba server so that you can use that 500gigs HD from a remote system.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 10 hours ago









        Rui F Ribeiro

        42.1k1484142




        42.1k1484142










        answered Dec 17 '13 at 4:46









        Ruban SavvyRuban Savvy

        4,83852241




        4,83852241



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • 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%2funix.stackexchange.com%2fquestions%2f105485%2fexpand-disk-on-vmware-but-no-effect%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







            -centos, vmware

            Popular posts from this blog

            Frič See also Navigation menuinternal link

            Identify plant with long narrow paired leaves and reddish stems Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?What is this plant with long sharp leaves? Is it a weed?What is this 3ft high, stalky plant, with mid sized narrow leaves?What is this young shrub with opposite ovate, crenate leaves and reddish stems?What is this plant with large broad serrated leaves?Identify this upright branching weed with long leaves and reddish stemsPlease help me identify this bulbous plant with long, broad leaves and white flowersWhat is this small annual with narrow gray/green leaves and rust colored daisy-type flowers?What is this chilli plant?Does anyone know what type of chilli plant this is?Help identify this plant

            fontconfig warning: “/etc/fonts/fonts.conf”, line 100: unknown “element blank” The 2019 Stack Overflow Developer Survey Results Are In“tar: unrecognized option --warning” during 'apt-get install'How to fix Fontconfig errorHow do I figure out which font file is chosen for a system generic font alias?Why are some apt-get-installed fonts being ignored by fc-list, xfontsel, etc?Reload settings in /etc/fonts/conf.dTaking 30 seconds longer to boot after upgrade from jessie to stretchHow to match multiple font names with a single <match> element?Adding a custom font to fontconfigRemoving fonts from fontconfig <match> resultsBroken fonts after upgrading Firefox ESR to latest Firefox