- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- file system blocksize
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2001 01:26 AM
06-19-2001 01:26 AM
file system blocksize
df -g show me always 8192 file-system blocksize.
But total blocks is always 1/1000 of the total amount of space for that filesystem.
So I would say 1k blocks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2001 01:31 AM
06-19-2001 01:31 AM
Re: file system blocksize
fstyp -v /dev/vgXX/lvXXXX
look at f_bsize value
Regards,
Patrice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2001 01:49 AM
06-19-2001 01:49 AM
Re: file system blocksize
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2001 01:51 AM
06-19-2001 01:51 AM
Re: file system blocksize
Basically, HP-UX only talks to disks at 512bytes as a block size via the drivers. HFS uses 512bytes.
JFS uses DEV_BSIZE (declared in /usr/include/sys/param.h) as 1k. However, at a lower level this is still talking to the disk as 512bytes as thats what the HP-UX drivers use. fstyp -v and newfs use a block size parameter which defaults to 8 * DEV_BSIZE (so 8k), but again, at a lower level it uses DEV_BSIZE, so 1k, and even lower down to the HP-UX driver only talks to the disks at 512bytes. So take your pick as to the block size.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2001 05:28 PM
06-19-2001 05:28 PM
Re: file system blocksize
And I am also confused with "f_bsize" with "f_frsize" , does "f_frsize" mean fragment size ? but the command " newfs -F vxfs -b 2048 /dev/vg00/lvol# " just change the f_frsize value ?
Frank.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2001 05:43 PM
06-19-2001 05:43 PM
Re: file system blocksize
How can we change the f_bsize ? Or it is determinted my the system ? with the -b option of newfs_vxfs command you can only change the f_frsize , that is the fragment size .
Frank.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2001 06:35 PM
06-19-2001 06:35 PM
Re: file system blocksize
PROBLEM
How can I determine the current block size for the vxfs and hfs file systems?
CONFIGURATION
Operating System - HP-UX
Subsystem - System Administration
RESOLUTION
To determine the current block size for the vxfs file system:
fstyp -v /dev/vg00/lvol#
For example:
# fstyp -v /dev/vg00/lvol1
f_bsize: 8192
Note: The f_bsize parameter reports the block size for the vxfs file system.
To determine the current block size for the hfs file system:
tunefs -v /dev/vg00/rlvol# | grep bsize
For example:
# tunefs -v /dev/vg00/rlvol4 | grep bsize
sbsize 2048 cgsize 2048 cgoffset 24 cgmask 0xfffffff8
bsize 8192 bshift 13 bmask 0xffffe000
Here is an example of how HFS and VxFS actually interpret these fields:
Field HFS Value for VxFS
---- --- --------------
f_bsize block size (8K) largest possible block size (8K)
f_frsize fragment size (1K) actual block size (usually 1K)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2001 08:45 AM
06-21-2001 08:45 AM
Re: file system blocksize
#mkfs -F vxfs -m /dev/vg00/lvol4
will give this output
mkfs -F vxfs -o ninode=unlimited,bsize=1024,version=4,inosize=256,logsize=1024,nolargefiles /dev/vg00/lvol4 1048576
here bsize value is the block size in bytes.