LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 02-26-2009, 08:33 AM   #1
drsethi
Member
 
Registered: Jun 2006
Location: Amritsar
Distribution: SuSE 11.1
Posts: 55

Rep: Reputation: 15
out of disk space


Hi
I am having dual boot system Opensuse 11.1 and Windows vista. I have allotted about 5 GB space to home partition. Now sometimes I copy/move files from Windows partitions to /home, this is easily done. But when I restart the computer, It hangs and KDE is not loaded giving reason that disk is out of space. I have to work on commandline and delete some files from /home to free some space,only then I can restart the computer normally. This is very annoying.When I copy/move files then Opensuse should immediately give me a warning.It seems nonsense to not start kde. Please give me advise.
 
Old 02-26-2009, 08:40 AM   #2
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 539

Rep: Reputation: 39
desktop? laptop? server?
if you can add a new disk
format it
copy your stuff to it
then edit /etc/fstab to mount the disk as /home
 
Old 02-26-2009, 08:46 AM   #3
drsethi
Member
 
Registered: Jun 2006
Location: Amritsar
Distribution: SuSE 11.1
Posts: 55

Original Poster
Rep: Reputation: 15
It is a Desktop computer. Question is not adding another disk but about behaviour of Opensuse which gives no warning in advance.
 
Old 02-26-2009, 08:59 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Computers in general should not attempt to save the user from every possible circumstance---Windows tries to do this sometimes and often creates a mess in the process.

It is not obvious to me how filling up the /home directory will affect the behaviour of the Operating System**. Please give us the complete picture of how this machine is set up---eg:

size of hard disk
number and type of partitions
RAM

The best long-term solution is to use drives and partitions that are MUCH bigger than what you think you need. e.g.: The cost difference between 80 GB and 250 GB is pretty small.

**I guess that maybe when the directory is full, it can't write config files?
 
Old 02-26-2009, 09:13 AM   #5
drsethi
Member
 
Registered: Jun 2006
Location: Amritsar
Distribution: SuSE 11.1
Posts: 55

Original Poster
Rep: Reputation: 15
Configuration of my computer is 1 GB RAM 111 GB SATA Hard Disk 5 GB to / 5.5 GB to /home ext3 and 900 MB to swap. Windows partitions are C: D: E: F: all NTFS and G: Fat32 all almost equal size of 20 GB.
Please suggest how much space should always be left in /home to boot the system smoothly.
 
Old 02-26-2009, 09:26 AM   #6
osdeals
Member
 
Registered: Jul 2006
Distribution: RHEL, CentOS, PuppyLinux, SuSe, Ubuntu, Debian
Posts: 59

Rep: Reputation: 15
I believe that you are running out of disk space because of the growing logs and actually during a file copy / move operation. You might want to either grow the size of your partitions, or add a disk. It is recommended to reserve at least 20 GB for linux if you intend to use Gnome or KDE.

If your disk gets full (100% used) KDE and some other applications / daemons (services) may not be able to start simply because they do not have any space to write to disk.

KDE usually requires to be able to write to either /home/your_username/ (or /root if you are logged in as root) & /tmp

The reason you do not get warnings is the way Linux handles file copy / write operations.
Windows would:
1. First spend time checking the properties of the source files (number of files, size, permissions etc.).
2. Next it would reserve the needed space at the destination.
3. Even if it was not able to successfully reserve the needed space in the step above, it would try to now copy the files, preserving all the permissions of the source on the destination.
4. If a file is not copied successfully, it gives an error and attempts to undo the last copy action.

As a result, you risk ending up in an inconsistent state depending on what was successfully copied and what wasn't.

Linux on the other hand simply starts copying block by block. It will ignore the permissions unless you explicitly ask it to with parameters (eg: cp -p). By default, it will write the destination as the user that is performing the copy operation. If the file cannot be successfully written due to size, it will throw an error.
 
Old 02-26-2009, 01:59 PM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by drsethi View Post
Configuration of my computer is 1 GB RAM 111 GB SATA Hard Disk 5 GB to / 5.5 GB to /home ext3 and 900 MB to swap. Windows partitions are C: D: E: F: all NTFS and G: Fat32 all almost equal size of 20 GB.
Please suggest how much space should always be left in /home to boot the system smoothly.
The only way to answer that is to look at the files. You could, for example, remove all the data and then use "du" and "df" to see what's left.

The absolute easiest thing to do is simply install another drive and mount it to the existing system at /home. In 30 minutes or less, you can have 20X-200X the current space.

Next best: Re-size existing partitions roughly as follows:

15GB Windows
15GB Linux (no separate /home)
~80GB shared data

Whatever you do, be sure all your data is backed up first.
 
  


Reply

Tags
desktop, disk, kde, opensuse, space


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
partition space and disk space usage and free don't match nsic Linux - Newbie 3 02-22-2013 12:57 PM
hard disk partitioning/I am out of space /how to increase linux space? RMLinux Red Hat 8 09-05-2008 12:33 PM
add space to / when from spare space on disk ctsiow Linux - General 4 11-07-2007 07:55 AM
Cedega "Disk space required for the installation exceeds available disk space" Solved Spewdemon LinuxQuestions.org Member Success Stories 1 10-18-2007 06:19 PM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM


All times are GMT -5. The time now is 10:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration