LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 07-28-2010, 09:54 PM   #1
Sumguy
Member
 
Registered: Jul 2010
Location: Rural Kentucky, USA.
Distribution: Slackware; Crunchbang.
Posts: 395
Blog Entries: 2

Rep: Reputation: 92
Disk Drive For .TMP Goes Missing Sometimes.......???


Hello There, Geeks and Geekettes!

I'm into my third week with Ubuntu, AND loving it!

Seem to be having one recurring problem though. I've Googled it and even tried a solution, but to no avail, so I thought I'd slide it past youse[sic] guys:

A lot of times when Ubuntu is booting up, I'll get a message that says: "The disk drive for .tmp is not ready yet or not present". I have to press "F" to fix it, and then it boots up normally after a while.

This has been happening about 50% of the time.

I can usually foretell when it will be happening, because it usually (but not always) happens when, in my previous session, I start to notice some strange behavior- like the shut-down confirmation dialogue box will be empty....or I can't get Chromium or Synaptic (etc.) to open, and other such things.

So...what is happening when I get this message at boot-up and why? And how do I fix it????
 
Old 07-28-2010, 10:08 PM   #2
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Google search of your error message seems to indicate that it's a known/confirmed bug (some sort of race condition), and that you are not the only one having the problem. I did not see any signs of a solution though. Have a google again and look at some of the threads on launchpad and/or the Ubuntu mailing list. No guarantee there'll be a solution to be had, but maybe you can check regularly and see if they have it fixed yet.

Also - some folks (with various distros, myself included) have found that a good thing to look at if you suddenly find your session acting weird for no apparent reason, or apps won't run, is to check that your disk(s) are not full. Check your /home and / partitions and make sure they aren't filled up. A full disk can cause weird stuff to happen.
 
Old 07-28-2010, 10:27 PM   #3
Sumguy
Member
 
Registered: Jul 2010
Location: Rural Kentucky, USA.
Distribution: Slackware; Crunchbang.
Posts: 395
Blog Entries: 2

Original Poster
Rep: Reputation: 92
So....female geeks DO exist! Alright!!

Yes, I had also noticed in my Google search, that someone suggested pressing M to enter manual-fix-it mode; entering the root password and then entering something like "mount /.tmp" and then pressing Cntrl+D. But that did not seem to provide any lasting solution.(I guess that basically is just the manual way of doing what pressing the "F" does automatically)

Hehe, none of my partitions are even remotely close to being half way full- but they sure act like it sometimes. (And only sometimes....it's an intermittent problem. I'm beginning to think that Ubuntu is trying to remind me of Windos![shudder]
 
Old 07-28-2010, 10:30 PM   #4
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by Sumguy View Post
I'm beginning to think that Ubuntu is trying to remind me of Windos![shudder]
You may be right

Yep, I noticed too that the other folks who had this issue, also tried the M and F and whatever other keys were offered, but regardless, the problem returned anyhow. Nobody reported any massive failures that I read of - all seemed to report the system worked normally despite the error message.

I guess just hang in there and await some news on the bug/issue.
 
Old 07-28-2010, 10:43 PM   #5
Sumguy
Member
 
Registered: Jul 2010
Location: Rural Kentucky, USA.
Distribution: Slackware; Crunchbang.
Posts: 395
Blog Entries: 2

Original Poster
Rep: Reputation: 92
Quote:
Originally Posted by GrapefruiTgirl View Post

Yep, I noticed too that the other folks who had this issue, also tried the M and F and whatever other keys were offered, .....
Back in my Windows days, I was using M-F quite a bit.....that's partly why I switched to LINUX!
 
Old 07-29-2010, 07:58 AM   #6
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
LOL - good one
 
Old 07-29-2010, 08:35 AM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,036

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
I have really next-to-nil experience with Ubuntu, but for the sound of it, the problem is that either /tmp or/and /var/tmp are running out of space. When temporary storage is full strange things will happen. It really doesn't matter if /tmp and /var/tmp are separate partitions of live on the same partition than / does, the real problem is that most programs will assume that there's temporary space so they often won't check for it, and programs will start acting weirdly.

The next time this happen you should really check the output of the dh and df -i commands, and paste it here if you can't make any sense of it.

If the problem is the one I describe, you could "solve" it by either regularly checking /tmp and deleting its contents or by putting /tmp on a bigger disk. You can even mount /tmp to a file on another disk if you can't or don't want to bother repartitioning the disk.
 
Old 07-30-2010, 01:48 AM   #8
Sumguy
Member
 
Registered: Jul 2010
Location: Rural Kentucky, USA.
Distribution: Slackware; Crunchbang.
Posts: 395
Blog Entries: 2

Original Poster
Rep: Reputation: 92
Quote:
Originally Posted by i92guboj View Post
I have really next-to-nil experience with Ubuntu, but for the sound of it, the problem is that either /tmp or/and /var/tmp are running out of space. When temporary storage is full strange things will happen. It really doesn't matter if /tmp and /var/tmp are separate partitions of live on the same partition than / does, the real problem is that most programs will assume that there's temporary space so they often won't check for it, and programs will start acting weirdly.

The next time this happen you should really check the output of the dh and df -i commands, and paste it here if you can't make any sense of it.

If the problem is the one I describe, you could "solve" it by either regularly checking /tmp and deleting its contents or by putting /tmp on a bigger disk. You can even mount /tmp to a file on another disk if you can't or don't want to bother repartitioning the disk.
Ah! You know, that makes sense to me-

Says I need to install "Deb helper" for the Dh command (would it pay tyo do this?)

The Df -i command yielded this:

Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda5 4464640 158084 4306556 4% /
none 111023 751 110272 1% /dev
none 112078 7 112071 1% /dev/shm
none 112078 44 112034 1% /var/run
none 112078 1 112077 1% /var/lock
none 112078 1 112077 1% /lib/init/rw
/dev/sda1 39134664 124066 39010598 1% /media/COMPAQ


Not 100% sure...but if this says what I think it is saying, I have plenty of room right now- no? (I will do this command when the system is actually acting weird though- and compare it. Today, it is working fine.)

One thing I don't "get" though, is even if I were out of space, wouldn't .tmp dump at shutdown and therefore be empty at start-up again? (As opposed to giving me the "disk drive for .tmp is not ready or not present"?
 
Old 07-30-2010, 02:17 AM   #9
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,036

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Code:
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda5            4464640  158084 4306556    4% /
none                  111023     751  110272    1% /dev
none                  112078       7  112071    1% /dev/shm
none                  112078      44  112034    1% /var/run
none                  112078       1  112077    1% /var/lock
none                  112078       1  112077    1% /lib/init/rw
/dev/sda1            39134664  124066 39010598    1% /media/COMPAQ
Please, next time use code tags just as I did now to paste this kind of info so the layout gets preserved, otherwise it's quite hard to read.

Quote:
Not 100% sure...but if this says what I think it is saying, I have plenty of room right now- no? (I will do this command when the system is actually acting weird though- and compare it. Today, it is working fine.)
df -i shows i-node info. You have plenty of i-nodes and that's fine. df alone (without -i) will show the free space on each partition, you need to look at that as well. You need both free i-nodes and free space to store a file.

Quote:
One thing I don't "get" though, is even if I were out of space, wouldn't .tmp dump at shutdown and therefore be empty at start-up again? (As opposed to giving me the "disk drive for .tmp is not ready or not present"?
This entirely depends on your distro and how you configured it (if at all). And that's why I mentioned explicitly that I know nothing about Ubuntu.

However, even if that was true it still wouldn't solve the fact that the partition might become full while you are using it, and hence the programs would continue to act weirdly as you described. It would only guarantee a safe boot, but not a safe operation.
 
Old 07-30-2010, 03:30 AM   #10
Sumguy
Member
 
Registered: Jul 2010
Location: Rural Kentucky, USA.
Distribution: Slackware; Crunchbang.
Posts: 395
Blog Entries: 2

Original Poster
Rep: Reputation: 92
Oooopppsss!! Sorry about not using the code tag. It's late.....

Code:
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda5             70251968  16288716  50394612  25% /
none                    444092       260    443832   1% /dev
none                    448312       700    447612   1% /dev/shm
none                    448312        72    448240   1% /var/run
none                    448312         0    448312   0% /var/lock
none                    448312         0    448312   0% /lib/init/rw
/dev/sda1             76249752  37278928  38970824  49% /media/COMPAQ
'puter's been on for 18 hours...if that helps.

Thanks.
 
  


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
There is not enough room on the disk to save to /tmp ????? 449 Linux - Newbie 8 05-27-2012 08:37 AM
KDE will not start /tmp out of disk space Tony Littlejohn Mandriva 16 02-16-2009 02:08 AM
/tmp/disk-conf error on Debian bookie Linux - Newbie 0 06-21-2007 05:29 PM
Newbie - X won't let me login because not enough free disk space in /tmp sart1 Linux - Software 1 06-02-2005 10:22 PM
Mounting /tmp on different disk egingell Linux - General 2 04-10-2005 03:05 PM


All times are GMT -5. The time now is 07:02 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