Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11th September 2006, 08:45 PM
fozner Offline
Registered User
 
Join Date: Aug 2005
Posts: 163
Taking forever to boot (quotas? I didn't enable...)

My system must think disk quotas are enabled, even though they aren't. When I reboot, the system stops at "Enabling local filesystem quotas:" for hours.

EDIT: I found out why it's so slow. It's trying to delete 80 gigs worth of links from my temp folder! I can only imagine how many files that is. I think they were caused by qemu but I'm not sure since I can't access the folder to view them (too many files).

As a workaround for the hang at boot, I booted rescue CD and commented out the quotaon from rc.sysinit until I understand what's going on. At least it boots now.
Code:
if [ -x /sbin/quotaon ]; then
#    action $"Enabling local filesystem quotas: " /sbin/quotaon -aug
fi
I can use the computer but sooner or later I'm gonna hafta remove these temp files and it's going to take many hours.

Last edited by fozner; 12th September 2006 at 05:34 AM.
Reply With Quote
  #2  
Old 12th September 2006, 05:43 AM
steve941 Offline
Registered User
 
Join Date: Jun 2005
Posts: 668
you can get rid of files and directories in /tmp
what FS do yo have ? ext3 .. reiser?

anyway, id say boot from rescue to do this, mount partition
do: <after chroot <whatever>>
cd /tmp
rm -rf *;rm -rf .*

if there's really that many files, this will take a while, it most likely isn't freezing but it will take a long time just do the command and let it go for an hour or something ..
although .. not sure why your tmp would be so big, mine will get up to 5 gb every so often, but ill check it every week or two and delete all of it; id say just stay on top of it.

umm run fsck on you partitions .. LVM makes fsck much harder to do, for that boot with argument: single and unmount partitions (you need to unmount ext3)
if ext3:
fsck.ext3 -fp <device> and do that for each partition

if reiser .. i can't tell you a whole lot here

it would be reiserfsck --check <device>
then reiserfsck --fix-fixable <device>
reiserfsck --rebuild-sb <device>
reiserfsck --rebuild-tree <device>
reiserfsck --clean-attributes <device>

.. but idk i prefer ext3 .. im pretty sure reiserfsck doesn't support combining all 5 of those options into one command
__________________
Steve
Dell Inspiron 9300 1.86GHZ Centrino, 1GB DDR2 533 dual channel, 80 GB Fujitsu PATA, Sony ATAPI DVD RW.
Dual Boot: Fedora 6 and Windows XP Professional SP2.
Built: 3 AMD computers all with ASUS motherboards, A8N-VM - socket 939 and M2N-E - AM2, P5B - 775 (Core 2 DUO).

website:
http://ww2.cs.fsu.edu/~armstron/
Reply With Quote
  #3  
Old 12th September 2006, 08:16 AM
fozner Offline
Registered User
 
Join Date: Aug 2005
Posts: 163
Thumbs up

I'm using LVM of ext3 partitions (default FC install). I found a shortcut to deleting huge directories after letting rm -rf run for many hours (so many tiny files) and only getting 2-3 gigs back, I finally got mad, rebooted to rescue CD, ran debugfs and cleared the inode for the directory with clri /tmp/kde-sexyuser01 then I unmounted the drive and ran fsck -fn > /dev/null (to speed things up without the message scrolling of deleted inodes) only took a few min to reclaim 80 gigs of small (< 1k) files.

I'm not sure what program creaed all those small temp files. I think they may have been redundant or recursive links pointing to eachother. I let a few slip into /lost+found and examined the contents and they all consisted of 9 bytes of the same character string, "? ^A". Weirrrrd.

My /tmp is under scrutiny now: watch -n 10 "du /tmp | sort -gr"

Thanks for the response though

Last edited by fozner; 12th September 2006 at 09:35 AM.
Reply With Quote
Reply

Tags
boot, enable, forever, quotas, taking

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
enable/use journaled quotas jimmyp2 Using Fedora 1 18th April 2009 11:27 AM
External hard drive taking forever to mount b00st Using Fedora 0 29th July 2007 01:50 PM
fsck taking forever da644 Using Fedora 2 27th March 2006 11:21 AM


Current GMT-time: 21:11 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat