12d30
![]() |
|
|
|
|
|||||||
| Storage Place to ask questions about partitioning, labelling, filesystems, encryption or anything else related to storage area. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hello forum,
I just installed a '7.4-RELEASE FreeBSD' server. I've recompiled my kernel to support quotas. Code:
cat /usr/src/sys/i386/conf/GENERICQUO | grep -i quo options QUOTA # Enable quotas I have this structure in my /etc/fstab because I had to remove *quotas options from fstab. Code:
cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/da0s1b none swap sw 0 0 /dev/da0s1a / ufs rw 1 1 /dev/da0s1d /tmp ufs rw 2 2 /dev/da4s1e /usr ufs rw 2 2 /dev/da4s1d /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 /dev/gvinum/mega /home ufs rw 1 2 proc /proc procfs rw 0 0 When I add 'usrquota,grpquota' or 'userquota,groupquota' in both cases, the server runs into single mode user and suggests modifying /etc/fstab and removing 'quota' options. Code:
quotaon -a quotaon: /home not mounted for group quotas quotaon: /home not mounted for user quotas Code:
[root@perseus /mega/home/eduardo]# quotacheck -a quotacheck: /home not mounted for group quotas quotacheck: /home not mounted for user quotas quotacheck: /home not mounted for group quotas quotacheck: /home not mounted for user quotas When I run the mount command I get this info Code:
#mount /dev/da0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/da0s1d on /tmp (ufs, local, soft-updates) /dev/da4s1e on /usr (ufs, local, soft-updates) /dev/da4s1d on /var (ufs, local, soft-updates) /dev/gvinum/mega on /mega/home (ufs, local) procfs on /proc (procfs, local) Code:
/usr/sbin/repquota /home repquota: /home not mounted for user quotas Thank you very much. Last edited by DutchDaemon; April 13th, 2012 at 22:28. Reason: Proper formatting: http://forums.freebsd.org/showthread.php?t=8816 |
|
#2
|
||||
|
||||
|
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#3
|
|||
|
|||
|
Yes, my rc.conf contains this lines about quotas.
Code:
enable_quotas="YES" check_quotas="YES" Last edited by DutchDaemon; April 13th, 2012 at 22:26. Reason: Proper formatting: http://forums.freebsd.org/showthread.php?t=8816 |
|
#4
|
|||
|
|||
|
I've followed these steps. But I have no way to complete the process.
Last edited by DutchDaemon; April 13th, 2012 at 22:22. Reason: Mind your writing style: http://forums.freebsd.org/showthread.php?t=18043 |
|
#5
|
|||
|
|||
|
Look this please
Code:
dmesg | grep quota mount option <usrquota> is unknown mount option <grpquota> is unknown mount option <usrquota> is unknown mount option <grpquota> is unknown Code:
[root@perseus /mega/home/eduardo]# cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/da0s1b none swap sw 0 0 /dev/da0s1a / ufs rw 1 1 /dev/da0s1d /tmp ufs rw 2 2 /dev/da4s1e /usr ufs rw 2 2 /dev/da4s1d /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 /dev/gvinum/mega /home ufs rw,userquota 1 2 proc /proc procfs rw 0 0 Last edited by DutchDaemon; April 13th, 2012 at 22:21. Reason: Proper formatting: http://forums.freebsd.org/showthread.php?t=8816 |
|
#6
|
||||
|
||||
|
cachorroyayo, use proper formatting for your posts: http://forums.freebsd.org/showthread.php?t=8816 - system/command output and file contents do not belong inside [quote] tags.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki Before you post: How to ask questions the smart way If you must know .. So, what does an Adminstrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- Last edited by DutchDaemon; April 13th, 2012 at 22:29. |
|
#7
|
|||
|
|||
|
Sorry DutchDameon,
I will consider for the next time. |
|
#8
|
|||
|
|||
|
Hello,
I don't understand why FreeBSD says quotaon -avu /homeCode:
quotaon: /home not mounted for user quotas quotaon: /home not found in fstab quotacheck -aCode:
quotacheck: /home not mounted for group quotas quotacheck: /home not mounted for user quotas quotacheck: /home not mounted for group quotas quotacheck: /home not mounted for user quotas cat /etc/fstabCode:
# Device Mountpoint FStype Options Dump Pass# /dev/da0s1b none swap sw 0 0 /dev/da0s1a / ufs rw 1 1 /dev/da0s1d /tmp ufs rw 2 2 /dev/da4s1e /usr ufs rw 2 2 /dev/da4s1d /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 /dev/gvinum/mega /home ufs rw,userquota,groupquota 1 1 proc /proc procfs rw 0 0 But I can't complete my process. Thank you. Last edited by DutchDaemon; April 15th, 2012 at 02:40. Reason: re-read: proper formatting: http://forums.freebsd.org/showthread.php?t=8816 |
|
#9
|
|||
|
|||
|
Sorry I omit this command.
quota -vCode:
quota: /home not mounted for user quotas Disk quotas for user root (uid 0): none Last edited by DutchDaemon; April 15th, 2012 at 02:41. Reason: Re-read: Proper formatting: http://forums.freebsd.org/showthread.php?t=8816 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help with ZFS quotas, df, and jails | wonslung | General | 2 | June 8th, 2010 05:26 |
| ZFS and quotas | wonslung | General | 8 | February 7th, 2010 00:57 |
| question about disk quotas and jails | wonslung | General | 0 | December 8th, 2009 03:29 |
| [Solved] Jails, zfs quotas, and nullfs | ravinald | General | 4 | November 24th, 2009 08:25 |
| quotas and error messages | phospher | Web & Network Services | 1 | June 9th, 2009 16:02 |