cancel
Showing results for 
Search instead for 
Did you mean: 
Chetan_Tiwary_
Community Manager
Community Manager
  • 2,161 Views

Red Hat Linux Interview Series 2

Q.)  Explain the discrepancy between these 2 outputs:

df -h /tmp/
Filesystem     Size    Used   Avail   Capacity    Mounted on
/dev/sda1      496M     39M    417M     9%        /tmp
du -d 0 -h /tmp/
22M    /tmp/

 

Q.) Explain what could be the reason that student user is not able to delete the file :

Chetan_Tiwary__0-1726158661686.png

Q.) What could be the reason that "newdir" cannot be created in this case ? How can we solve this ?

#pwd 
/root 
#mkdir newdir 
mkdir: cannot create directory `newdir': No space left on device 
#df -h 
Filesystem  Size    Used     Avail    Use%      Mounted on 
/dev/sda1   41G     4.1G      35G      11%       / 
/dev/sda3   91G     36G       51G      42%       /home 
/dev/sda2   99G     3.4G      91G       4%       /usr

 

 

I'll be posting a series of Linux-related questions covering various skill levels. Feel free to share your insights and expertise. Your contributions will benefit learners at all stages, from those in current roles to those preparing for Linux interviews.

11 Replies
  • 30 Views

checking directories /subdirectoirs and inside number of files.

0 Kudos
  • 28 Views

By the way inode contraint was with till ext4 file system and since redhat8 xfs is default file system and it has no limitation of inode count so there would be no inode kind of issue henceforth what I belive ....xfs file system based on solars zfs file system there is no inode constraints ...earlier we used to face lot of issue with inode when solaris used to UFS file system ...only solution was either remove files or recreate file systems.

0 Kudos
Join the discussion
You must log in to join this conversation.