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
FS_QUOTA(1) AFS Command Reference FS_QUOTA(1)
NAME
fs_quota - Displays the quota used in the volume containing a directory or file
SYNOPSIS
fs quota [-path <dir/file path>+] [-help]
fs q [-p <dir/file path>+] [-h]
DESCRIPTION
The fs quota command displays the percent of quota consumed in the volume that contains each specified directory or file.
To display more detailed information about the volume and the partition it resides on, use the fs examine and fs listquota commands.
To set volume quota, use the fs setquota or fs setvol command.
CAUTIONS
Currently, the maximum size of a volume is 2 terabytes (2^31 bytes).
OPTIONS
-path <dir/file path>
Names each file or directory for which to display the quota consumed in its parent volume. Partial pathnames are interpreted relative
to the current working directory, which is also the default value if this argument is omitted.
-help
Prints the online help for this command. All other valid options are ignored.
OUTPUT
The output reports the percent of volume quota used, in the following format:
<percent>% of quota used.
EXAMPLES
The following command lists the percent quota used of the volume housing the current working directory:
% fs quota
17% of quota used.
The following command lists the percent quota used of both the volume housing the current working directory's parent directory and the
volume housing the directory /afs/abc.com/usr/smith:
% fs quota -path .. /afs/abc.com/usr/smith
43% of quota used.
92% of quota used.
PRIVILEGE REQUIRED
The issuer must have the "r" (read) permission on the ACL of the root directory of the volume that houses the file or directory named by
the -path argument, and "l" (list) permission on the ACL of each directory that precedes it in the pathname.
SEE ALSO
fs_examine(1), fs_listquota(1), fs_setquota(1), fs_setvol(1)
COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 FS_QUOTA(1)