Results 1 to 9 of 9

Thread: OpenSUSE 11 too small root partition ?

  1. #1
    Asshen NNTP User

    Question OpenSUSE 11 too small root partition ?

    Hey.

    I'm pretty new to Linux, so don't shoot me if this is a stupid question

    I installed OpenSUSE 11 from DVD with default partition layout.

    Since I can't get virt-manager to work (there seems to be a bug that isn't fixed yet), I reinstalled the OS and installed VMWare Server 1.6

    By default VMWare server stores the virtual machines in '/var/lib/vmware/Virtual Machines'.

    But the default partition layout seems to only reserve 20GB diskspace for '/'

    The '/home' got all the other diskspace...

    Can anybody explain this to me ?
    Why is the '/' so small, and how do I change it ?

    Please see accompanying screenshot for more info.


    Thank you.
    Kris.

  2. #2
    Join Date
    Jun 2008
    Location
    Friesland
    Posts
    207

    Default Re: OpenSUSE 11 too small root partition ?

    Hi,

    as to why this is the default FS layout? I do not know! I also think this is not the best way to partition a linux system. With the majority desktop installs being on a single disk I see no reason for 1) split filesystems 2) LVM. Usually when I install a desktop system I choose just two partitions a 2gb swap and allt the rest in "/" with no seperate home and with physical partitions and not LVM (a multidisk server would be different of course).

    as to how to fix this, I think you have three solutions:

    1) resize your partitions if they are LVM. for "/" this sucks and involves booting from dvd and can be tricky
    2) reinstall on one big partition. probably the easiest but you would lose all your stuff
    3) make a workaround by doing something like this
    Code:
    $ su -
    # mv /var/lib/vmware /home
    # ln -s /home/vmware /var/lib/vmware
    this way you have the VM's in a folder on home and create a symbolic link to it on the "/var/lib" folder.

    stefan
    "The day Microsoft makes something that doesn't suck is the day they make a vacuum cleaner"
    OS: Fedora9, RHEL5, CENTOS5, Arch, OpenSuSe11
    Hardware: Dell Precision M65

  3. #3
    Asshen NNTP User

    Default Re: OpenSUSE 11 too small root partition ?

    Hey.

    The strange partitioning is probably caused by too much experimentation

    I'm currently trying out multiple OS to determine which would be best for my server.

    I previously installed VMWare ESX, XenServer, Open Solaris and CentOS, but they all have serious issues with my network card (onboard RTL8111B on Asus P5B-VM).

    Actually OpenSUSE is the first Linux OS I tried which doesn't seem to have problems with my network adaptor.

    I will backup my virtual machines and try a fresh install.

    Thank you.

  4. #4
    Join Date
    Jan 2008
    Location
    U.K East Anglia
    Posts
    2,581

    Default Re: OpenSUSE 11 too small root partition ?

    instead of a fresh install, why not just resize the partitions ? use something like system rescue cd or Gparted both have tools for resizing partitions & saves a lot of kerfuffle re-installing

    Andy
    To be is to do = Immanuel Kant
    To do is to be = Descartes.
    Do be do be do = Frank Sinatra

    SuSE user since 7.0,Linux user since 1994

  5. #5
    Asshen NNTP User

    Default Re: OpenSUSE 11 too small root partition ?

    Well, the OS installs pretty fast and there's no data on the disks yet, so I can't loose any data

    But the repartitioning could be educational, so I'll try that first.

    thanks.
    Kris

  6. #6

    Default Re: OpenSUSE 11 too small root partition ?

    Quote Originally Posted by stefan1975 View Post
    as to why this is the default FS layout? I do not know! I also think this is not the best way to partition a linux system. With the majority desktop installs being on a single disk I see no reason for 1) split filesystems 2) LVM. Usually when I install a desktop system I choose just two partitions a 2gb swap and allt the rest in "/" with no seperate home and with physical partitions and not LVM (a multidisk server would be different of course).
    Create a /home will allow the user to format / without losing configuration files. Separate /var is also useful, since you can tell yast to save every rpm downloaded. So if ever you have to reinstall, it can be done very fast and offline.

    So there is a need of separate file systems. Generally, based purely of utility, I would have:
    /
    /var
    /home
    swap
    I also have /home/Documents in NTFS so I can access my documents under linux or Windows. And if I need to clean /home, it wont affect my personal files.


    Then, if we take into account fragmentation (and ext does fragment):
    /
    /var
    /var/cache
    /tmp
    /home
    swap
    But this setup is now a little bit pointless, since most of us update at each suse's release.
    instead of a fresh install, why not just resize the partitions ? use something like system rescue cd or Gparted both have tools for resizing partitions & saves a lot of kerfuffle re-installing
    I think that suse's disk provide a partition tool.

  7. #7

    Default Re: OpenSUSE 11 too small root partition ?

    20 GB for / is quite a bit for many people.

    If you plan to run programs that need to put a lot of stuff in the tmp folder then you may need more than that. But I really can't figure out why many normal users would ever need more that 20 GB for root.

    This isn't Windows where it takes almost all of that 20 GB to install the OS without software. You could install a ton of OpenSuse and never use the 20 GB for a long time

  8. #8

    Default Re: OpenSUSE 11 too small root partition ?

    Quote Originally Posted by gregosmith View Post
    20 GB for / is quite a bit for many people.
    He use VM, and each virtual image should be around 4gb, so 20gb is a little bit tight.

  9. #9
    Asshen NNTP User

    Default Re: OpenSUSE 11 too small root partition ?

    Hey.

    What you guys are telling about the separately stored user settings makes sense now
    I couldn't understand how, after reinstalling the systeem, the system still had my file downloads on the desktop, hehe.

    Anyway, aparently it is possible to specify a different storage folder in VMWare Server.
    So I moved the virtual machine folder to "/home/Virtual Machines".
    Problem solved

    But i wish to thank you guys for giving me some extra insight in this matter.

    Regards.
    K.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •