LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-19-2003, 09:09 PM   #1
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
inaccurate disk space messages - UPDATED


I am running Suse 8.1 on a AMD XP 1.8, 512 MB Ram, w/ 2 20GB HDD's


As if late, I am getting error messages stating that there is 'not enough disk space to......' whatever it/I am doing. Here are my partitions:

HDA1 -fat32 size 18.6 GB with 5.7 GB free (M$9x)
HDB1 -reiserfs size 15.6 GB with 12.6 GB free (linux)
HDB2 -vfat16 siz 2 GB with 1.7 GB free (dos)
shmfs type-? size 251MB with 251MB free

Got this information from Block Devices in Control Center.

ANY HELP/SUGGESTIONS/IDEAS/TIPS/ETC? PLEASE RESPOND.. I do not want to reinstall (again - for the 5th time)

Last edited by tw001_tw; 03-19-2003 at 11:46 PM.
 
Old 03-19-2003, 09:35 PM   #2
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
What is giving you those error messages? When do you get them, and what are you attempting to do at the time? A specific example might help us to figure out why you're getting those...
 
Old 03-19-2003, 09:54 PM   #3
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Original Poster
Rep: Reputation: 31
should have been more specific

Sorry - should have mentioned that...

Here is an example:
I logged on (graphical mode) for the first time with a new user and it said it did not have enough diskspace to creat "home/name-of-user" ...(the new user was going to be the third user besides root) Also when I logged on with the main account I use, it gave me some message about it

BUT - I am currently downloading a 600MB ISO image onto my desktop with no problem....
 
Old 03-20-2003, 07:44 AM   #4
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
I am not too sure about this, since I only have a couple users on my box, but I believe you need to create a home directory for a user before logging in as that user. So, as root:

1. Add a new user (using useradd, userdrake or what-have-you), say, fred.
2. Add fred to any groups you need him to be in (probably you should at least have a group called fred also, which only fred is a member of)
3. Create a home directory for fred: mkdir /home/fred
4. Make sure fred owns and can use his own home directory: chown fred /home/fred, chgrp fred /home/fred
5. Log in as fred

The reason for this (and maybe also the reason for your error message) is that if /home/fred does not exist before fred logs in, it needs to be created, and since fred does not have permission to write to /home, it gives you an error.

I could be way off base on this though Like I said, I only have a couple of users. Try the above and see if it helps though.
 
Old 03-20-2003, 08:18 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
normally home directoies will be created automaitcally at first log in (via a PAM module) so that shouldn't be the problem. in a terminal run "df -h" and show the entire output here, maybe you have installed a user quota or such like?
 
Old 03-20-2003, 08:51 PM   #6
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Original Poster
Rep: Reputation: 31
RESULTS OF df -h

Here it is exactly:

File System size used avail %used mounted on
/dev/hdb1 16G 3.6G 13G 23% /
/dev/hda1 19G 13G 5.8G 70% /windows/C
/dev/hdb3 2.0G 279M 1.7G 14% /windows/D
shmfs 252M 0 252M 0% /dev/shm

and that is it. I did see something about installing a 'disk quota' package, but it didn't sound like I would need that, thus its not installed.

Also, in ref. to the idea before that... the home/'user' directory exists, and I tried the "chusr /home/user"

thanks so much for helping.. In the process I'm learning some basic command lines too!!!!!!
 
Old 03-20-2003, 08:56 PM   #7
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Original Poster
Rep: Reputation: 31
IT WORKS NOW!!!

Thank you to all that helped, and to those who thought about helping.. I appreciate your input and time....Tom
 
Old 03-20-2003, 09:32 PM   #8
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Re: IT WORKS NOW!!!

Quote:
Originally posted by tw001_tw
Thank you to all that helped, and to those who thought about helping.. I appreciate your input and time
Glad to hear it! Just out of curiosity, what did you do to fix it?
 
Old 03-20-2003, 10:11 PM   #9
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Original Poster
Rep: Reputation: 31
What I did -

I'll be honest, I have no idea how (yet), but under my user I SU'ed and did the 'chusr' thing, double checked that the folder existed, logged off, logged back on using the user in question, and WHAMMO! It worked... Thanks again all!..
 
  


Reply


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
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM
VFS: Disk change detected messages aimstr8 Linux - General 0 08-18-2003 04:04 PM
Is there a way to tell how much space on your disk is used up? orange400 Linux - General 4 04-07-2003 12:41 AM
Disk space wastage 73 GB Hard disk rajgopalhg Linux - Hardware 2 10-18-2002 03:41 PM
Not Enough Disk Space mainyeti Linux - Software 2 07-30-2001 08:24 AM


All times are GMT -5. The time now is 02:37 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration