Jump to content
  • Announcements

    • spinynorman

      Mandriva Official Documentation

      Official documentation for extant versions of Mandriva can be found at doc.mandriva.com.   Documentation for the latest release may take some time to appear there. You can install all the manuals from the main repository if you have Mandriva installed - files are prefixed mandriva-doc.
    • paul

      Forum software upgrade   10/29/17

      So you may have noticed the forum software has upgraded !!!
      A few things that have changed. We no longer have community blogs (was never really used) We no longer have a portal page.
      We can discuss this, and decide whether it is needed (It costs money) See this thread: Here
Sign in to follow this  
T0ken

Root partition full, can't figure out why

Recommended Posts

Something weird happened last night on my desktop PC. I can't remember exactly what it was that I was doing, but I think I was trying to user krdc to connect to a server I setup here. Out of nowhere, the screen locked up and went black except for my conky instance I had running (this usually happens when I'm shutting down or rebooting, but here the PC froze).

 

So I then tried to reboot. The boot fails with a few errors:

Mounting local filesystems:  can't create lock file /etc/mtab~1451:  No space left on device (use -n flag to override)  [FAILED]

INIT:  Entering runlevel:  5
Entering non-interactive startup
/etc/rc.d/rc:  line 73:  /var/run/runlevel.dir:  No space left on device
Cannot create temporary file !
Cannot create temporary file !
Cannot create temporary file !
Cannot create temporary file !

 

So what I did was burn a One 2009.1 beta CD and loaded it up. I mount the / partition so I can check it out and see why it's all of a sudden full. When I right-click on the folder representing the mounted / partition and select properties, it shows only about 939 MB being used, but "device usage" at the bottom is "0 B free of 4.3 GB (100% used)." How can this be?

 

I've also checked each folder in the mounted / partition, and together they all seem to total approx. 928 MB. I cannot, for some reason check the "/root" folder in the mounted partition though. Maybe it's all in there? I don't know, but maybe you guys have some ideas on what could be causing this?

 

Let me say that, I'm using LVM across two SATA drives on this install, and I should easily be able to just increase the size of the root partition. But when I try to resize the partition, it tells me all data on the partition will be erased. Is this because LVM support is not available on the One CDs?

Share this post


Link to post
Share on other sites

My guess is that either LVM is not configured properly, or you're using an early 2.6.28 kernel (quite likely the case with 2009.1 beta) with ext4 as root filesystem.

ext4 looks like being the filesystem of choice for the future, but it still has many unresolved bus, one of them being the one you encounter. Hopefully the coming 2.6.29 will slash most of them.

Share this post


Link to post
Share on other sites

I'm using 2.6.29-desktop-0.rc6.1.1mnb.

 

Why would you think LVM is not configured properly? Just curious, b/c it had been working for a few days with no problem. Then all of a sudden since last night, I can't boot this machine and it's telling me root is full.

Share this post


Link to post
Share on other sites

FYI instead of dealing with this, I've decided to simply reinstall, while holding on to my /home partition. I didn't delete this post just in case someone else happens upon this problem, that way we'll know it whether or not it was due to my Linux-newb status.

Share this post


Link to post
Share on other sites

An alternative would be to copy the root partition to a subfolder on another drive and reformat it. . pretty sure the cp -pax command would copy everything correctly..

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×