Food trip at Gerry's Grill Singapore

Food trip at Gerry's Grill Singapore

      Recently a thoughful friend of ours treated the whole flatmates to the famous Filipino grilled...

Trip to Jurong Bird Park Singapore

Trip to Jurong Bird Park Singapore

        One of the most common tourist spot in Singapore is Jurong Bird Park which has almost 5000 birds of...

Trip to Universal Studios Singapore

Trip to Universal Studios Singapore

      Finally I got the chance to go in Universal Studios Singapore with my wife.  I heard a lot of fun stories...

Trip to Kuala Lumpur

Trip to Kuala Lumpur

           I never thought that Chinese New Year (CNY) was really a great holiday to wait here in...

God's medium of communication

God's medium of communication

        Social networking sites were usually intended to build and share relations among people. It's where we...

Writing annual family goals

Writing annual family goals

        During my college days I read a lot of goal setting books as I realized the importance of having...

Favorite bible verse

Favorite bible verse

      I grew up in a protestant school and until I'd reached in high school, that's why having faith in God is...

5 Reasons why God uses problems

5 Reasons why God uses problems

      It's been a while since my last post. I've been so much busy on our project. We're already on the point of...

Short story writing contests

Short story writing contests

      Lately I was doing a clean up on my backup drive, I was deleting my unnecessary data. Then I accidentally...

  • Food trip at Gerry's Grill Singapore

    Food trip at Gerry's Grill Singapore

  • Trip to Jurong Bird Park Singapore

    Trip to Jurong Bird Park Singapore

  • Trip to Universal Studios Singapore

    Trip to Universal Studios Singapore

  • Trip to Kuala Lumpur

    Trip to Kuala Lumpur

  • God's medium of communication

    God's medium of communication

  • Writing annual family goals

    Writing annual family goals

  • Favorite bible verse

    Favorite bible verse

  • 5 Reasons why God uses problems

    5 Reasons why God uses problems

  • Short story writing contests

    Short story writing contests

You are here: HomeTechnical Knowledgeclient server technologyAdding diskspace freebsd-based vmware

Adding diskspace freebsd-based vmware

     

 

There are times you come to a point of running disk space in your vmware just like what I'd experienced. I'll show you how to expand or add disk space into an existing freebsd-based virtual machine for vmware. There are two ways, the first one is to use the vmware-vdiskmanager.exe found in the bin directory of vmware and the other way is to add the SCSI harddisk in the hardware option of the virtual machine settings.

First way, execute the disk manager toolkit of vmware :

vmware-vdiskmanager.exe -x 50GB “FreeBSDclone.vmdk”

Second way, from the virtual machine settings.

virtual-machine-settings

Click add hardware and click hard disk then next.


create-new-virtual-disk

Click add a new virtual disk space then next.


virtual-disk-type-SCSI

Choose SCSI and leave the others unchecked.


allocate-disk-space

Allocate the disk space you want. Finish.


After doing the above changes it's time to make the changes in the vmware platform itself. In my case it's freeBSD, boot your freebsd virtual machine to configure the newly added disk space. 

Step 1 : Login as root and run the sysinstall(Note that you can also do this using the fdisk if you are familiar with the commands).

sysinstall-configure

Step 2 : Go to configure then fdisk and choose the below drive(that is the newly added disk space).

choose-drive

Step 3 : Create slice and allocated the whole space.

fdisk-mode

Step 4 : Choose the disk label tool then Create label. Then finish.

choose-disk-label

disk-label-alloc-space

disk-label-fs-type

Step 5 : Mount the newly added space in /etc/fstab.

Step 6 : Move files in the newly added space.

For my case my newly added space is mounted in /usr/ext/local and I'm having space trouble for /usr so I decided to move my /usr/ports to /usr/ext/local.

fstab

Then create a symlink to /usr/ports.

symlink

 Note: You can also use growfs command but it's a different approach

.


You might also like:

              

Go to top