Results 1 to 7 of 7

Thread: Out of space

  1. #1
    Join Date
    Jun 2008
    Location
    relative
    Posts
    1,172

    Default Out of space

    Hi!
    What to do if I'm out of space on my root partition? Can i install programs (from yast) to another partitions?
    Many thanks

  2. #2
    Join Date
    Jun 2008
    Location
    PHX
    Posts
    481

    Default Re: Out of space

    The best method is to put your directories like /opt and /usr on other partitions.
    <>---><^>

  3. #3
    Join Date
    Jun 2008
    Location
    The Netherlands
    Posts
    1,273

    Default Re: Out of space - move /home if you can

    Quote Originally Posted by ram88 View Post
    Hi!
    What to do if I'm out of space on my root partition? Can i install programs (from yast) to another partitions?
    Many thanks
    The easiest (& safest) thing would be to move your /home to another partition.
    Another could be to move /tmp.

    Have a look here on tips for moving your /home : /home Partition - openSUSE Forums

    !Warning
    You should be careful to move other directories from the root partition as your boot process (uses /bin /boot /dev /etc /lib /sbin, /var etc) and X environment (/usr and others) are dependent on them. Moving them can give much hassle if and when the moved mount point is not available.

    Directories /proc and /sys cannot be moved as they are created by the system.

    Hope that helps,
    Wj
    Have a lot of fun!

  4. #4
    miroslawgon NNTP User

    Default Re: Out of space

    I assuming that you use standard partitions not LVM.


    !!! Backup all your the data before doing anything !!!

    Solution 1

    - Created new partition or add additional hard drive and create a new partition on it.
    - Mount the petition to /mnt/new
    - Copy /usr to this partition cp -r /usr/* /mnt/new
    - Change /etc/fstab by adding new partitin and use /usr as the mount point.

    Solution 2

    If you have some space on the hard drive or more than one partition, you can extend or borrow the size of partition. You can do this by using parted (command line) or gparted/qparted (GUI).

  5. #5
    Join Date
    Jan 2008
    Location
    N40 44.977 W073 59.356
    Posts
    1,170

    Default Re: Out of space

    ram88 wrote:
    > Hi!
    > What to do if I'm out of space on my root partition? Can i install
    > programs (from yast) to another partitions?
    > Many thanks
    >
    >

    What is the output of du -h?

  6. #6
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Out of space

    > What is the output of du -h?

    here it is a ~602k file with over 7,600 lines...

    perhaps you mistyped

    df -h

    --
    DenverD (Linux Counter 282315)
    A Texan in Denmark

  7. #7
    Join Date
    Jan 2008
    Location
    N40 44.977 W073 59.356
    Posts
    1,170

    Default Re: Out of space

    DenverD wrote:
    >> What is the output of du -h?

    >
    > here it is a ~602k file with over 7,600 lines...
    >
    > perhaps you mistyped
    >
    > df -h
    >

    Yep, thanks for the correction.

Posting Permissions

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