Author Topic: Add more disk space help needed  (Read 2541 times)

pstanbra

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
    • IT Support Contract
Add more disk space help needed
« on: December 01, 2010, 06:42:31 pm »
I'm way over my head here.

I have zentyal on vmware.
I originally had a 50gb driv
I have now increased this to 256gb.

My /dev/mapper/home is about 40gb
BUT this is where all my samba shares are and I need this to be about 200gb (in other words - bigger)

I've got no idea what to do. If this was windows server i'd be fine but am new to linux and need some help.


Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/sbs-root  6.5G  2.7G  3.5G  44% /
none                  973M  184K  972M   1% /dev
none                  977M     0  977M   0% /dev/shm
none                  977M  580K  977M   1% /var/run
none                  977M     0  977M   0% /var/lock
none                  977M     0  977M   0% /lib/init/rw
none                  6.5G  2.7G  3.5G  44% /var/lib/ureadahead/debugfs
/dev/sda1             228M   51M  166M  24% /boot
/dev/mapper/sbs-home   42G   30G  9.6G  76% /home

vgdisplay -C
 VG   #PV #LV #SN Attr   VSize  VFree
  sbs    1   3   0 wz--n- 49.76g    0


HELP!

I need to make my share bigger!












acon

  • Board Moderator
  • Zen Samurai
  • *****
  • Posts: 454
  • Karma: +18/-0
    • View Profile
Re: Add more disk space help needed
« Reply #1 on: December 01, 2010, 08:14:12 pm »
According to your information, your disk is formated using LVM2.
I think you can use a ubuntu desktop 10.10 live cd ISO to boot your virtual machine.
Once booted you can use gparted to resize regular partitions and LVM manager to resize the /home partition. You need to install both gparted and lvm manager in live cd session to use them.
You can also do the same from commnad line, but if you are not experienced user of LVM2, it is a little bit harder.
Off course, you need to make a copy of your VM container before editing the partitions.