10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
hi all,
i have installed quota on my centos 7 machine and its what im after (setting size limit on users, so they cant fill the hard drive)
i want to now make this part of my create user script for my sftp server so i want to do a echo and a read command so i capture the limit they enter... (0 Replies)
Discussion started by: robertkwild
0 Replies
2. HP-UX
Accordingly a lot of manuals - if you have block size 8KB and trying to write a 1KB file to the block, as result you waste 7KB of the block space. But recently I noticed about Fragments of File Block. In same case if you have File Block 8KB and Fragment size 1KB - you can save your block space,... (6 Replies)
Discussion started by: jess_t03
6 Replies
3. UNIX for Advanced & Expert Users
Hello,
in one default UFS filesystem we have 8K block size (bsize) and 1K fragmentsize (fsize). At this scenary I thought all "FileSytem IO" will be 8K (or greater) but never smaller than the fragment size (1K). If a UFS fragment/blocksize is allwasy several ADJACENTS sectors on disk (in a ... (4 Replies)
Discussion started by: rarino2
4 Replies
4. Programming
the error occurs in the function() "add" used...
#include<stdio.h>
#include<malloc.h>
struct node
{
int exp;
int coef;
struct node * link;
};
struct node * create_list(struct node *,int,int);
void display(struct node *);
struct node * add(struct node *,struct node *);
... (3 Replies)
Discussion started by: mscoder
3 Replies
5. Shell Programming and Scripting
Hi,
I have a simple question about I/O redirection. the question is:
"How can I redirect all characters from a Bash screen to a file?"
Let me describe a little more: I know about I/O Redirection in Bash.
and also about stdin/stdout/stderr. something like: # ls 2>&1 1>ls.out
But!... (11 Replies)
Discussion started by: siavash
11 Replies
6. Filesystems, Disks and Memory
Whenever i run,
# fsck -F ufs /dev/dsk/c0t0d0s7
The following error prompt out:-
** /dev/dsk/c0t0d0s7
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck -o b=#
where # is the alternate super block. SEE fsck_ufs(1M).
... (3 Replies)
Discussion started by: beginningDBA
3 Replies
7. AIX
Hi,
I see from lsvg the total used PPs is 1050 (67200 megabytes), but when I check the disk space with df command I can only see 31G total space, can somebody tell how this come?
Thanks!
Victor
# lsvg
rootvg
# lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: ... (2 Replies)
Discussion started by: victorcheung
2 Replies
8. Filesystems, Disks and Memory
I had a power outage a day ago and when the power came back on my FreeBSD 4.6 webserver had problems. It said it was unable to mount /var and made me start in single user mode and said to run fsck MANUALY. So i did and this is now what i get.
www# fsck /dev/ad0s1e
** /dev/ad0s1e
BAD SUPER... (4 Replies)
Discussion started by: matthewbane
4 Replies
9. AIX
Hello, I am trying to print reports from our aix system to a Savin Printer. The trouble is that the reports come out enlarged on it. The same report comes out fine though on a regular laser printer or pick ticket printer. Windows prints fine to the savin, Its just from our AIX system and... (2 Replies)
Discussion started by: h1timmboy
2 Replies
10. Solaris
how do you determine block size for a file system? In solaris 5.8 (3 Replies)
Discussion started by: csaunders
3 Replies
QUOTA(8) System Manager's Manual QUOTA(8)
*
NAME
quota - report and optionally fix quota usage
SYNOPSIS
quota [ -C config-file ] [ -d domain ] [ -f ] [ mailbox-prefix... ]
DESCRIPTION
Quota generates a report listing quota roots, giving their limits and usage. If the -f option is given, quota first fixes any inconsisten-
cies in the quota subsystem, such as mailboxes with the wrong quota root or quota roots with the wrong quota usage reported. If an
optional domain is given, the quota listing (and inconsistency fixing) is performed in that domain rather than the default domain. If any
optional mailbox-prefix arguments are given, the quota listing (and inconsistency fixing) is limited to quota roots with names that start
with one of the given prefixes.
Running quota with both the -f option and mailbox-prefix arguments is not recommended.
Quota reads its configuration options out of the imapd.conf(5) file unless specified otherwise by -C.
OPTIONS
-C config-file
Read configuration options from config-file.
-d domain
List/fix quotas in domain.
-f Fix any inconsistencies in the quota subsystem before generating a report.
FILES
/etc/imapd.conf
CMU
Project Cyrus QUOTA(8)