[rhce2009] Hello everyone

  • From: Brendan Choi <bchoi9999@xxxxxxxxx>
  • To: rhce2009@xxxxxxxxxxxxx
  • Date: Sun, 1 Mar 2009 07:03:12 -0800 (PST)

Hi,

There are about 9 people on this mailing list now. Thanks for joining.
I just want to mention two things I found this weekend while studying with the 
Jang book.

1. The Jang book, and other online docs, imply that if you simply add the quota 
parameters in /etc/fstab and reboot, the quota will be turned on for that 
filesystem.

# cat fstab
LABEL=/                 /                       ext3    
defaults,usrquota,grpquota        1 1
# reboot

Jang is correct that /etc/rc.d/rc.sysinit has quotacheck and quotaon to turn it 
on during boot. But it doesn't work. A workaround is to simply hardcode the 
quotacheck in the area where it does quotaon:

if [ -x /sbin/quotaon ]; then
    /sbin/quotacheck -cug /
    action $"Enabling local filesystem quotas: " /sbin/quotaon -aug
fi

This is probably related to https://bugzilla.redhat.com/show_bug.cgi?id=249003 .

This is no big deal, because you can either reboot, or just mount -o remount / 
; quotacheck -cugm / ; quotaon / . I don't know if remounting a live / root 
filesystem is a good idea on a real production system.


2. The Jang book talks about mounting CIFS filesystems. The mount.cifs has a 
"-o guest" option, e.g. "mount.cifs //linux1/pub /mnt -o guest". This is not 
like a user or username option where passwords are involved. But it might fail 
if that's all you know.

Anyways, the other option that you use with "-o guest" is mentioned here:  
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=423971


If anyone has anything to add, please feel free to chime in. I'm pretty new to 
Linux so if I'm confused about anything, let me know. Thanks!


Brendan




Other related posts: