Jump to content

no space left on device


réjean

Recommended Posts

Hi all!

Instead of upgrading from 12.something to 13.1 I decided to do a fresh install. It went well the 1st day, everything was working fine. The next day I decided to check for updates. It took over 3 hours. After I rebooted I ended up with a black screen and a prompt. I logged in as rejean with my password. Then I tried "startx" and I am now getting these messages;

 

/usr/bin/startx line 208: cannot create temp file for here-document: No space left on device

 

same thing for 2 mores lines. Then I get:

 

Fatal server error:

(EE) Cannot move old log file "/var/log/Xorg.log" to "/var/log/Xorg.0.log.old"

 

and:

 

xinit failed. /usr/bin/Xorg is not setuid,maybe that's the reason?

If so either use a display manager (strongly recommended) or adjust /etc/permissions.local

 

When I installed OpenSuSE 13.1 on /dev/sdb2 (31 GB) I formatted the partition but did not formatted the /home partition ( /dev/sdb1 50 GB). I could download a new installation, burn it on a usb stick and reinstall but I am guessing that after the update/upgrade I would get the same problem.

What do you suggest?

Link to comment
Share on other sites

Hi all!

Instead of upgrading from 12.something to 13.1 I decided to do a fresh install. It went well the 1st day, everything was working fine. The next day I decided to check for updates. It took over 3 hours. After I rebooted I ended up with a black screen and a prompt. I logged in as rejean with my password. Then I tried "startx" and I am now getting these messages;

 

 

 

same thing for 2 mores lines. Then I get:

 

 

 

and:

 

 

 

When I installed OpenSuSE 13.1 on /dev/sdb2 (31 GB) I formatted the partition but did not formatted the /home partition ( /dev/sdb1 50 GB). I could download a new installation, burn it on a usb stick and reinstall but I am guessing that after the update/upgrade I would get the same problem.

What do you suggest?

The first thing you need to do is determine what device is out of room. Boot the CD or DVD and run whatever partition manager it uses to check which device is out of room. If it is the root partition then you obviously need to create a larger partition. From your post, I'm assuming you have a separate home partition. If that is the one running out of room, you may be able to delete enough from it to cure the problem.

  • Like 2
Link to comment
Share on other sites

Thanks lewmur!

In the meantime I mounted the / partition in PCLinuxOS and I found something that might be odd;

[root@localhost rejean]# cd /mnt/suse/var/log
[root@localhost log]# ls -l
total 27767736
-rw-r----- 1 root root			 0 Jul 19 17:57 acpid
-rw-r--r-- 1 root root		 15706 Jul 19 18:46 alternatives.log
drwxr-xr-x 2 root root		  4096 Jan 27 06:24 apparmor/
drwx------ 2 root root		  4096 Sep 28  2013 audit/
-rw-r--r-- 1 root root	    116917 Jul 18 13:05 boot.kiwi
-rw-r--r-- 1 root root			 0 Jul 22  2014 boot.log
-rw------- 1 root root			 0 Jul 22 01:27 btmp
-rw-r--r-- 1 root root			 0 Nov  6  2013 config.log
drwxr-xr-x 2 root root		  4096 Jul  3 13:24 ConsoleKit/
drwxr-xr-x 2 lp   lp		    4096 Mar  4 05:46 cups/
-rw------- 1 root root		 32000 Jul 19 18:52 faillog
-rw-r----- 1 root root		 15721 Jul 20 13:53 firewall
drwx--x--x 2 root ntools	    4096 Jul 22  2014 gdm/
drwx------ 2 root root		  4096 Nov 27  2013 krb5/
-rw-r--r-- 1 root root	    292292 Jul 22  2014 lastlog
-rw-r--r-- 1 root root		  8192 Jul 22  2014 localmessages
-rw-r----- 1 root root		  4096 Jul 22  2014 mail
-rw-r----- 1 root root		  1885 Jul 22  2014 mail.err
-rw-r----- 1 root root		  4096 Jul 22  2014 mail.info
-rw-r----- 1 root root		  1885 Jul 22  2014 mail.warn
-rw-r----- 1 root root		 77824 Jul 22  2014 messages
-rw-r----- 1 root root	    387144 Jul 19 20:45 messages-20140719.xz
-rw-r----- 1 root root   28431433728 Jul 21 19:30 messages-20140721
-rw-r----- 1 root root			 0 Jul 21 19:30 messages-20140721.xz
-rw-r----- 1 root root		 35166 Jul 19 17:57 NetworkManager
drwxr-x--- 2 news news		  4096 Nov  6  2013 news/
-rw-r--r-- 1 root root			 0 Nov  6  2013 ntp
-rw------- 1 root root	    967272 Jul 19 19:02 pbl.log
-rw-r----- 1 root users	   240537 Jul 20 03:06 pk_backend_zypp
-rw-r--r-- 1 root root			 0 Jul 20 03:19 pm-powersave.log
drwxr-x--- 3 root root		  4096 Jun 23 13:10 samba/																					 
drwxr-x--- 2 root	 16	    4096 Sep 27  2013 smpppd/
-rw-r----- 1 root users		 6650 Jul 19 19:59 snapper.log
drwx------ 2 root root		  4096 Oct  1  2013 speech-dispatcher/
drwxr-x--- 2 root root		  4096 Jun  4 10:13 sssd/
-rw-r--r-- 1 root root	    401408 Jul 22  2014 warn
-rw-r--r-- 1 root root		   880 Jul 22  2014 wpa_supplicant.log
-rw-rw-r-- 1 root cdrom	    40704 Jul 22  2014 wtmp
-rw-r--r-- 1 root root			 0 Jul 22  2014 Xorg.0.log
-rw-r--r-- 1 root root			 0 Jul 22 01:52 Xorg.0.log.old
-rw-r--r-- 1 root root			 0 Jul 22  2014 Xorg.1.log
-rw-r--r-- 1 root root			 0 Jul 22 01:43 Xorg.1.log.old
-rw-r--r-- 1 root root			 0 Jul 22  2014 Xorg.2.log
-rw-r--r-- 1 root root			 0 Jul 22 01:45 Xorg.2.log.old
-rw-r--r-- 1 root root			 0 Jul 22  2014 Xorg.3.log
-rw-r--r-- 1 root root			 0 Jul 22 01:45 Xorg.3.log.old
-rw-r--r-- 1 root root			 0 Jul 22  2014 Xorg.4.log
-rw-r--r-- 1 root root			 0 Jul 22 01:45 Xorg.4.log.old
-rw-r--r-- 1 root root			 0 Jul 22  2014 Xorg.5.log
-rw-r--r-- 1 root root			 0 Jul 22 01:45 Xorg.5.log.old
drwx------ 2 root root		  4096 Jul 21 21:47 YaST2/
drwxr-xr-x 2 root root		  4096 May 20 09:55 zypp/
-rw-r----- 1 root root			 0 Jul 22 01:32 zypper.log
[root@localhost log]

 

Why should I have so many Xorg files in /var/log?

Link to comment
Share on other sites

Guest LilBambi

Also, what do you mean by the word, Device?

 

Is that what is being reported specifically?

 

lewmur is right, need to see the partitions and see where the problem lies.

Link to comment
Share on other sites

@ lewmur; I do have 18.5 GB free out of 49.1 GB for my /home but 0 byte free out of 30.9 GB for my / partition.

I'd bet you have a corrupt file system on the / partition. Running fsck on that partition should fix it. I don't know of any Linux distro that won't fit on an 8gb partition for both home and /.

  • Like 1
Link to comment
Share on other sites

All I installed is what came with the openSUSE-13.1-GNOME-Live-x86_64.iso.

and it shouldn't take up that much space.

@ fran. I wrote down what I saw on the screen after I tried to "startx".

@ lewmur. from pclinuxos;

 

[root@localhost log]# fsck /mnt/suse
fsck from util-linux 2.22.2
e2fsck 1.42.9 (28-Dec-2013)
fsck.ext2: Is a directory while trying to open /mnt/suse

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
   e2fsck -b 8193 <device>

[root@localhost log]#

Link to comment
Share on other sites

here;

[root@localhost rejean]# fsck /dev/sdb1
fsck from util-linux 2.22.2
e2fsck 1.42.9 (28-Dec-2013)
/dev/sdb1: recovering journal
Setting free inodes count to 1941106 (was 1941105)
/dev/sdb1: clean, 127422/2068528 files, 8254975/8259072 blocks
[root@localhost rejean]# fsck /dev/sdb2
fsck from util-linux 2.22.2
e2fsck 1.42.9 (28-Dec-2013)
/dev/sdb2: recovering journal
/dev/sdb2: clean, 24897/3276800 files, 8050935/13107200 blocks

 

What next?

Link to comment
Share on other sites

sorry fran. I forgot one line when I posted the message I am getting. After the line " /usr/bin/startx line 208: cannot create temp file for here-document: No space left on device" there is another one that says;

xauth: file /home/rejean/.Xauthority does not exist

 

Then another line starts " /usr/bin/startx line 225: cannot create temp file for here-document: No space left on device..."

Link to comment
Share on other sites

sorry josh but "df -f" what? I'm not sure what to do?:

 

[root@localhost rejean]# df -f
df: invalid option -- 'f'
Try 'df --help' for more information.
[root@localhost rejean]# df-f
bash: df-f: command not found
[root@localhost rejean]# df -a
Filesystem	  Size  Used Avail Use% Mounted on
/dev/sdb14	   22G  6.4G   15G  31% /
fusectl		    0	 0	 0    - /sys/fs/fuse/connections
none			   0	 0	 0    - /proc
none			   0	 0	 0    - /dev/pts
/dev/sdb13	   44G  9.4G   35G  22% /home
none			   0	 0	 0    - /proc/sys/fs/binfmt_misc
[root@localhost rejean]# df -a /dev/sdb1
Filesystem	  Size  Used Avail Use% Mounted on
-			   3.9G  852K  3.9G   1% /dev
[root@localhost rejean]# mount /dev/sdb1 /mnt/suse
[root@localhost rejean]# df -f /mnt/suse
df: invalid option -- 'f'
Try 'df --help' for more information.
[root@localhost rejean]#

Link to comment
Share on other sites

Guest LilBambi

Wow...wonder how it got corrupted then....if that is in fact what's wrong.

 

I would remove that partition and try again! Something went seriously wrong.

Link to comment
Share on other sites

You're right Fran. I think it is a botched upgrade because after I installed it with the linux 3.11.6-4-desktop kernel everything worked okay but with the linux 3.11.10-17-desktop kernel everything got corrupted like you say, including the previous kernel because if I choose to boot with the advance option and choose the previous kernel I still end-up with a login prompt. I'll probably reinstall tomorrow unless someone as another crack at it.

Link to comment
Share on other sites

Someone else noticed the following in my /var/log;

-rw-r----- 1 root root   28431433728 Jul 21 19:30 messages-20140721

 

that's 28 GB right? but how did it get there and how to get rid of it?

Link to comment
Share on other sites

Someone else noticed the following in my /var/log;

-rw-r----- 1 root root 28431433728 Jul 21 19:30 messages-20140721

 

that's 28 GB right? but how did it get there and how to get rid of it?

I'm with Fran on this. Apparently something hiccuped during the download and install of the updates to create a bogus 28gb file. I see no choice but to start over and install the OS from scratch. At least you didn't appear to lose your home partition.
  • Like 2
Link to comment
Share on other sites

One last attempt before reinstalling just for the sake of learning. How could I delete the root root folder?

Never mind! I am burning the image and will reinstall later tonight. Thanks everyone!

Edited by réjean
  • Like 1
Link to comment
Share on other sites

Guest LilBambi

You could do it with fdisk, or with a LiveCD or LiveUSB like GParted.

 

But! But if you are confused as to which partition is which, you could remove the wrong one and lose your PCLOS too.

 

 

I hope you wrote down all the partitions and which drives they are on, and which partition number they are and the sizes to double check.

 

:sweatingbullets:

Edited by LilBambi
Link to comment
Share on other sites

Don't worry fran I've been using the same partitions for the last 2 years at least and I do have at least 3 more working distros; Mageia, Ubuntu and Mint.

  • Like 1
Link to comment
Share on other sites

I got a kernel panic a couple of months ago after openSuSE upgraded from 3.11.10.7 to 3.11.10.11. Unlike you, I could still boot into 3.11.10.7 however, and the problem cured itself in a few weeks after the next kernel upgrade. First time I ever had problems with openSuSE updates. Very strange. :'(

  • Like 1
Link to comment
Share on other sites

Someone somewhere else suggested that if I don't want to format my /home partition I should at least delete all the hidden files and folders that start with ".". Has anyone heard of that before? Anyway this is what I did and I reinstalled. Right now I am using the 3.11.6-4-desktop kernel. Should I dare updating ( which will mean upgrading)? Right now my / partition has 28 something free GB and my home 21 GB. What more can happen beside a messed up system again.

I should add that I am replying from OpenSuSE.

Link to comment
Share on other sites

Someone somewhere else suggested that if I don't want to format my /home partition I should at least delete all the hidden files and folders that start with ".". Has anyone heard of that before? Anyway this is what I did and I reinstalled. Right now I am using the 3.11.6-4-desktop kernel. Should I dare updating ( which will mean upgrading)? Right now my / partition has 28 something free GB and my home 21 GB. What more can happen beside a messed up system again.

I should add that I am replying from OpenSuSE.

Your browser,email and several others wanted folders are "." folders, so that's not a good idea. Edited by lewmur
Link to comment
Share on other sites

Your browser,email and several others wanted folders are "." folders, so that's not a good idea.

He said that thunderbird was an exception. Anyway I didn't use to delete anything and sometimes everything went well other times it was catastrophic. So go figure.

 

[/size]

 

My bad...it is df -h

 

No problem josh!

Link to comment
Share on other sites

Before the install finishes, in case something goes bad again;

rejean@linux-wm43MT-S2PT:~> df -h
Filesystem	 Size Used Avail Use% Mounted on
/dev/sdb1	 31G 3.7G 27G 13% /
devtmpfs	 3.9G 40K 3.9G 1% /dev
tmpfs		 3.9G 84K 3.9G 1% /dev/shm
tmpfs		 3.9G 14M 3.9G 1% /run
tmpfs		 3.9G	 0 3.9G 0% /sys/fs/cgroup
tmpfs		 3.9G 14M 3.9G 1% /var/run
tmpfs		 3.9G 14M 3.9G 1% /var/lock
/dev/sdb2	 50G 29G 20G 59% /home
/dev/sdb13	 44G 9.4G 35G 22% /mnt/pclos
rejean@linux-wm43MT-S2PT:~> 

 

after an hour still at the 68 % total progress, updating sloooowly. after 2 hours still at 70%. Now why does it take about 20 min to download and less than 30 min to install but over 2 hours to update/upgrade is what I would like to know.

Edited by réjean
  • Like 2
Link to comment
Share on other sites

Before the install finishes, in case something goes bad again;

rejean@linux-wm43MT-S2PT:~> df -h
Filesystem	 Size Used Avail Use% Mounted on
/dev/sdb1	 31G 3.7G 27G 13% /
devtmpfs	 3.9G 40K 3.9G 1% /dev
tmpfs		 3.9G 84K 3.9G 1% /dev/shm
tmpfs		 3.9G 14M 3.9G 1% /run
tmpfs		 3.9G	 0 3.9G 0% /sys/fs/cgroup
tmpfs		 3.9G 14M 3.9G 1% /var/run
tmpfs		 3.9G 14M 3.9G 1% /var/lock
/dev/sdb2	 50G 29G 20G 59% /home
/dev/sdb13	 44G 9.4G 35G 22% /mnt/pclos
rejean@linux-wm43MT-S2PT:~> 

 

after an hour still at the 68 % total progress, updating sloooowly. after 2 hours still at 70%. Now why does it take about 20 min to download and less than 30 min to install but over 2 hours to update/upgrade is what I would like to know.

Because copying from a DVD is much faster than downloading. Though only 2% progress in an hour does seem odd.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...