Sponsored Content
Operating Systems HP-UX About Block Size and Fragment Size Post 302929743 by Scrutinizer on Thursday 25th of December 2014 05:29:56 PM
Old 12-25-2014
That is the volume manager, but you probably mean VXFS? A fragment size equal to the block size makes sense for (cooked) database applications (especially if it is equal to the database block size) or for other applications where you mainly have large files. With lots of small files you are wasting space and a smaller fragment size would be more likely be the way to go.

Your root VG does not have a block size. Perhaps you mean that every VXFS filesystem in every LV in your root VG has a 8KB fragment size? That would not seem like a logical choice to me..

Last edited by Scrutinizer; 12-25-2014 at 06:51 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to know the OS Block size

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

2. UNIX for Dummies Questions & Answers

block size

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

3. Solaris

command to find out total size of a specific file size (spread over the server)

hi all, in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders... please help me, how can i find the total size of these specific files in the server... (3 Replies)
Discussion started by: abhinov
3 Replies

4. AIX

Block Size

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

5. Solaris

Directory size larger than file system size?

Hi, We currently have an Oracle database running and it is creating lots of processes in the /proc directory that are 1000M in size. The size of the /proc directory is now reading 26T. How can this be if the root file system is only 13GB? I have seen this before we an Oracle temp file... (6 Replies)
Discussion started by: sparcman
6 Replies

6. Shell Programming and Scripting

The scripts not able to make the file to size 0, every times it go back to its original size

#!/bin/sh ########################################################################################################## #This script is being used for AOK application for cleaning up the .out files and zip it under logs directory. # IBM # Created #For pdocap201/pdoca202 .out files for AOK #1.... (0 Replies)
Discussion started by: mridul10_crj
0 Replies

7. Shell Programming and Scripting

Script to read file size and send email only if size > 0.

Hi Experts, I have a script like $ORACLE_HOME/bin/sqlplus username/password # << ENDSQL set pagesize 0 trim on feedback off verify off echo off newp none timing off set serveroutput on set heading off spool Schemaerrtmp.txt select ' TIMESTAMP COMPUTER NAME ... (5 Replies)
Discussion started by: welldone
5 Replies

8. UNIX for Advanced & Expert Users

Physical disk IO size smaller than fragment block filesystem size ?

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

O/s block size

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. UNIX for Dummies Questions & Answers

Ls directory size reporting byte size instead of file count

I have been searching both on Unix.com and Google and have not been able to find the answer to my question. I think it is partly because I can't come up with the right search terms. Recently, my virtual server switched storage devices and I think the problem may be related to that change.... (2 Replies)
Discussion started by: jmgibby
2 Replies
fsctl(2)							System Calls Manual							  fsctl(2)

NAME
fsctl - file system control SYNOPSIS
DESCRIPTION
provides access to file-system-specific information. fildes is an open file descriptor for a file in the file system of interest. The possible values for command depend on the type of file system. Currently, defined commands exist only for the CDFS file system (see outbuf is a pointer to the data area in which data is returned from the file system. outlen gives the length of the data area pointed to by outbuf. The CDFS commands are: Returns the directory record for the file or directory indicated by fildes. The record is returned in a structure of type cddir, defined in Returns the extended attribute record, if any, for the file or directory indicated by fildes. Because the size of an extended attribute record varies, be sure outbuf points to a data area of sufficient size. To find the necessary size, do the following: 1. Use statfs(2). to get the logical block size of the CDFS volume. 2. Use an call with the command to get the extended attribute record size (in blocks) for the file or directory of interest. The field in the returned structure contains the size of the extended attribute record in logi- cal blocks. (If this field is zero, the file or directory has no extended attribute record.) 3. Multiply by the logical block size obtained in step 1 to get the total space needed. 4. Once you get the extended attribute record, cast outbuf into a pointer to a structure of type (defined in This enables you to access those fields that are common to all extended attribute records. (See below for an example of this process.) If the extended attribute record contains additional system use or application use data, that data will have to be accessed manually. Returns the abstract file identifier for the primary volume whose root directory is specified by fildes, terminated with a NULL character. Note that the constant defined in gives the maximum length a file identifier can have. Thus, + 1 can be used for outlen and the size of outbuf. Returns the bibliographic file identifier for the primary volume whose root directory is specified by fildes, terminated with a NULL character. + 1 can be used for the value of outlen and the size of outbuf. Returns the copyright file identifier for the primary volume whose root directory is specified by fildes, terminated with a NULL character. + 1 can be used for the value of outlen and the size of outbuf. Returns the volume ID for the primary volume specified by fildes, terminated with a NULL character. The maximum size of the volume ID is 32 bytes, so a length of 33 can be used for outlen and the size of utbuf. Returns the volume set ID for the primary volume specified by fildes, terminated with a NULL character. The maximum size of the volume set ID is 128 bytes, so a length of 129 can be used for outlen and the size of outbuf. EXAMPLES
The following code fragment gets the extended attribute record for a file on a CDFS volume. The filename is passed in as the first argu- ment to the routine. Note that error checking is omitted for brevity. RETURN VALUE
returns the number of bytes read if successful. If an error occurs, -1 is returned and is set to indicate the error. ERRORS
fails if any of the following conditions are encountered: [EBADF] fildes is not a valid open file descriptor. [EFAULT] outbuf points to an invalid address. [ENOENT] The requested information does not exist. [EINVAL] command is not a valid command. [EINVAL] fildes does not refer to a CDFS file system. SEE ALSO
statfs(2), cdnode(4), cdrom(4). fsctl(2)
All times are GMT -4. The time now is 08:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy