LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   question and answers ? (https://www.linuxquestions.org/questions/linux-newbie-8/question-and-answers-772903/)

vinaytp 12-02-2009 03:54 AM

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....

zhjim 12-02-2009 05:00 AM

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

ddaemonunics 12-02-2009 05:50 AM

1.A user has created lots of very small files.
2.He has probably many small files and his file limit is exceeded

salasi 12-02-2009 06:12 AM

Quote:

Originally Posted by vinaytp (Post 3776791)

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?

XavierP 12-02-2009 06:19 AM

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.


All times are GMT -5. The time now is 06:36 AM.