Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Never seen this with quotas.Desperated
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kamikaze04
Guru
Guru


Joined: 28 Mar 2004
Posts: 366
Location: Valencia-Spain

PostPosted: Mon Oct 24, 2005 11:45 am    Post subject: Never seen this with quotas.Desperated Reply with quote

Hi,

Look at this, here is a cat /proc/mounts from a server without running quota:

Code:

~ # cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 rw 0 0
none /dev devfs rw 0 0
proc /proc proc rw,nodiratime 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw 0 0
/dev/sda5 /home ext3 rw,nosuid,nodev,noexec 0 0
/dev/sda6 /var ext3 rw 0 0
/dev/sda7 /temp reiserfs rw,nosuid,nodev,noexec 0 0
/dev/sda7 /tmp reiserfs rw,nosuid,nodev,noexec 0 0
/dev/sda7 /var/tmp reiserfs rw,nosuid,nodev,noexec 0 0
/dev/sda8 /usr/portage reiserfs rw 0 0
/dev/sda9 /var/log ext3 rw,nosuid,nodev 0 0
/dev/sda10 /var/tmp/portage reiserfs rw 0 0
shm /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0
usbfs /proc/bus/usb usbfs rw 0 0



And now i turn on quotas:

Code:

~ # /etc/init.d/quota start
 * Checking quotas (may take a while) ...
quotacheck: Scanning /dev/scsi/host0/bus0/target0/lun0/part5 [/home] done
quotacheck: Checked 64 directories and 207 files
quotacheck: Cannot remount filesystem mounted on /temp read-only so counted values might not be right.
Please stop all programs writing to filesystem or use -m flag to force c  [ ok ]
 * Starting quota ...
/dev/scsi/host0/bus0/target0/lun0/part5 [/home]: group quotas turned on
/dev/scsi/host0/bus0/target0/lun0/part5 [/home]: user quotas turned on
/dev/scsi/host0/bus0/target0/lun0/part7 [/temp]: group quotas turned on
/dev/scsi/host0/bus0/target0/lun0/part7 [/temp]: user quotas turned on    [ ok ]


And here is again /proc/mounts:

Code:

~ # cat /proc/mounts

rootfs / rootfs rw 0 0
/dev/root / ext3 rw 0 0
none /dev devfs rw 0 0
proc /proc proc rw,nodiratime 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw 0 0
[b]/dev/sda5 /home ext3 rw 0 0[/b]
/dev/sda6 /var ext3 rw 0 0
/dev/sda7 /temp reiserfs rw,nosuid,nodev,noexec 0 0
/dev/sda7 /tmp reiserfs rw,nosuid,nodev,noexec 0 0
/dev/sda7 /var/tmp reiserfs rw,nosuid,nodev,noexec 0 0
/dev/sda8 /usr/portage reiserfs rw 0 0
/dev/sda9 /var/log ext3 rw,nosuid,nodev 0 0
/dev/sda10 /var/tmp/portage reiserfs rw 0 0
shm /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0
usbfs /proc/bus/usb usbfs rw 0 0



Why quota is deleting nodev, nosuid option from my home partition? Why it is working fine in my tmp partition? I never saw this before. Could anyone point me about the possible origin of my problem?

Here i give you my fstab:

Code:

/dev/sda1               /boot            ext2           noauto                 1 2
/dev/sda2               none             swap           sw                     0 0
/dev/sda3               /                ext3           defaults               0 1

/dev/sda5               /home            ext3           noexec,nosuid,nodev,usrquota,grpquota           0 1
/dev/sda6               /var             ext3           defaults               0 1

/dev/sda7               /temp            reiserfs       noexec,nosuid,nodev,usrquota,grpquota           0 1
/temp/tmp               /tmp             auto           bind                   0 1
/temp/vartmp            /var/tmp         auto           bind                   0 1

/dev/sda8               /usr/portage     reiserfs       defaults               0 1
/dev/sda9               /var/log         ext3           nosuid,nodev           0 1
/dev/sda10              /var/tmp/portage reiserfs       defaults               0 1

/dev/cdroms/cdrom0      /mnt/cdrom       iso9660        noauto,ro              0 0


_________________
Todo lo que quisiste saber sobre google en: www.noticiasgoogle.es
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum