05-18-2002
block size
Hi,
Somehow i have forgotten a comand that displays me the block size of the unix filesystem. Can someone letme know this command
regards
penguin
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
AIX 4.3.3
How can I find the os block size?
How can I change the OS Block Size?
When and where does the os block size get set?
I am running oracle 8.1.7 and am under the impression I need to set my os block size = oracle block size which is 8k.
Any insight on this would be... (1 Reply)
Discussion started by: kburrows
1 Replies
2. Solaris
how do you determine block size for a file system? In solaris 5.8 (3 Replies)
Discussion started by: csaunders
3 Replies
3. UNIX for Dummies Questions & Answers
Hello Unix guru's
I want to check my OS Block size for the Solaris 8
Following is one of the line from df -g command.
Can anybody help to interpret the same.
/u03 (/dev/vx/dsk/oradg/vol03): 8192 block size 8192 frag size
205463552 total blocks 50433792... (1 Reply)
Discussion started by: Dilippatel
1 Replies
4. Shell Programming and Scripting
i wrote this code to figure if two identical directories on different devices one on a partition and one on a loop had the same total size for -size +0 file only in recrusive tree form.:
awk '$1 ~ /^-/{total=i;i<=NR;i+=$5;print $0}END{print total}'
file1.... .
the output of du -hb was slightly... (2 Replies)
Discussion started by: moxxx68
2 Replies
5. UNIX for Dummies Questions & Answers
If I execute this command:
$ ls -lt | awk '{print $5}' | sort -nr |head -1
it returns the following value
57441881
If I execute this command:
$ ls -s | sort -nr | head -1 | cut -d" " -f1
it returns the same file but now in block size
112208
Is there... (1 Reply)
Discussion started by: mh53j_fe
1 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
drwxr-xr-x 2 root root 4096 May 31 14:47 test
Please let me know here 4096 indicating what?
Thanks & Regards,
Bache (1 Reply)
Discussion started by: bache_gowda
1 Replies
7. AIX
Hi, I try to change the block size from 512 to 0, but it send this message:
0514-068 Cause not know
Can someone help me whith this? (3 Replies)
Discussion started by: Ruben78
3 Replies
8. 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
9. Red Hat
Hi Guys,
I am running Linux 2.6.18-164.el x86_64 how do i check the block size?
Thanks in advance... (1 Reply)
Discussion started by: Phuti
1 Replies
10. 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
quot(1M) System Administration Commands quot(1M)
NAME
quot - summarize file system ownership
SYNOPSIS
quot [-acfhnv] filesystem...
quot -a [-cfhnv]
DESCRIPTION
quot displays the number of blocks (1024 bytes) in the named filesystem (one or more) currently owned by each user. There is a limit of
2048 blocks. Files larger than this will be counted as a 2048 block file, but the total block count will be correct.
OPTIONS
The following options are supported:
-a Generate a report for all mounted file systems.
-c Display three columns giving a file size in blocks, the number of files of that size, and a cumulative total of blocks containing
files of that size or a smaller size.
-f Display three columns giving, for each user, the number of blocks owned, the count of number of files, and the user name. This
option is incompatible with the -c and -v options.
-h Estimate the number of blocks in the file. This does not account for files with holes in them.
-n Attach names to the list of files read from standard input. quot -n cannot be used alone, because it expects data from standard
input. For example, the pipeline
ncheck myfilesystem | sort +0n | quot -n myfilesystem
will produce a list of all files and their owners. This option is incompatible with all other options.
-v In addition to the default output, display three columns containing the number of blocks not accessed in the last 30, 60, and 90
days.
OPERANDS
filesystem mount-point of the filesystem(s) being checked
USAGE
See largefile(5) for the description of the behavior of quot when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes).
EXIT STATUS
0 Successful operation.
32 Error condition (bad or missing argument, bad path, or other error).
FILES
/etc/mnttab Lists mounted file systems.
/etc/passwd Used to obtain user names
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
du(1), mnttab(4), passwd(4), attributes(5), largefile(5)
NOTES
This command can only be used by the super-user.
SunOS 5.10 30 May 2001 quot(1M)