LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-02-2009, 03:54 AM   #1
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707

Rep: Reputation: 55
question and answers ?


Hi all...

I did not got the correct answers to below questions...Hope 1->e and 2->d, are my guess correct ? if so why ?

1. While monitoring the integrity of the filesystems, you detect, that there are no more free inodes left on the /home partition although there are many megabytes free space. What could be the reason?

a. This is a typical filesystem error on ext2 partitions.

b. A user has created lots of very small files.

c. The inode table is corrupted.

d. There are lots of cross-linked files.

e. The report of many megabytes free space is wrong due to an overflow of the 32 Bit Free-Space-Variable.



2. The user foo has reported problems creating files in his home directory. He has got a user quota of 40 megabyte but a quick check of his directory shows only 20 megabyte in use. What may be the reason?

a. He has hidden 60 megabytes inside a hush directory.

b. The quota file is corrupt

c. Quotas are counted in 512-blocks. So he has really only 20 megabyte quota

d. He has probably many small files and his file limit is exceeded

e. He has too many symbolic links to big files

Thanks in advance....
 
Old 12-02-2009, 05:00 AM   #2
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Let's poke some on number 1
If there are no free inodes and this would be a known bug why isn't it fixed?
Think about when inodes are used.

See number 2
Pretending that the size of occupied space is realy 20megs. (du -hs /home/user) the hidden file options just doesn't work. If not might be and depends on hard/soft limit values.
Either c or d would be my guess.
For e check on the difference between symbolic and hard links

Cheers Zhjim
 
Old 12-02-2009, 05:50 AM   #3
ddaemonunics
Member
 
Registered: May 2008
Location: Romania
Distribution: Debian
Posts: 242

Rep: Reputation: 41
1.A user has created lots of very small files.
2.He has probably many small files and his file limit is exceeded
 
Old 12-02-2009, 06:12 AM   #4
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by vinaytp View Post

I did not got the correct answers to below questions
This looked like homework, or some kind of test involved in the assesment of a course, to me, when you posted it the first time.

BTW, why are you asking this question if you can judge, and therefore know, which are the correct answers?
 
Old 12-02-2009, 06:19 AM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
This does follow the "rules" for homework to an extent - he has given us the answers he thought were correct (and turned out not to be). Not every exam gives the correct answers when giving a grade or score, so posting these here will hopefully expand his knowledge or at least let him know why he went wrong.
 
  


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
Why don't my questions get answers? SaintDanBert LQ Suggestions & Feedback 22 09-29-2009 11:17 PM
LXer: Linux answers the age-old question, "Why is my network slow?" LXer Syndicated Linux News 0 07-25-2008 06:12 AM
Sooner the better, I need answers, please! Keith E Meyerhoffer Linux - Newbie 8 12-15-2007 01:31 AM
I post answers, then realize the question was asked years ago! ShellyCat General 4 08-10-2007 03:29 PM
I need some answers ! Captainsj *BSD 9 03-25-2006 07:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:48 AM.

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
Open Source Consulting | Domain Registration