- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- df -g ... or.... fstyp -v..... which is right file...
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
12-15-2000 11:00 AM
12-15-2000 11:00 AM
df -g ... or.... fstyp -v..... which is right filesystem blocksize ???
8192 file system block size
fstyp -v /dev/vg06/lvol3
f_bsize: 1024
Which is right????
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2000 11:19 AM
12-15-2000 11:19 AM
Re: df -g ... or.... fstyp -v..... which is right filesystem blocksize ???
Good question. When I do this, I get the same value for the blksize, which seems right, since both commands get the blksize from the same place (the superblock).
Does this happen on all devices you query, or is this the only one?
JLS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2000 11:27 AM
12-15-2000 11:27 AM
Re: df -g ... or.... fstyp -v..... which is right filesystem blocksize ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2000 11:28 AM
12-15-2000 11:28 AM
Re: df -g ... or.... fstyp -v..... which is right filesystem blocksize ???
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2000 11:32 AM
12-15-2000 11:32 AM
Re: df -g ... or.... fstyp -v..... which is right filesystem blocksize ???
The "descrepency" between your observation and Joel's is because Joel looked at an HFS filesystem and you looked at a vxfs (JFS) one. Compare your /stand filesystem with 'df' and with 'fstyp' to your /usr filesytem, for instance.
From document #1100330242
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
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2000 12:02 PM
12-15-2000 12:02 PM
Re: df -g ... or.... fstyp -v..... which is right filesystem blocksize ???
OOPS! I misread my own output. I DO see the same (on 10.20) problem that you do! What release is everyone on when they try this?
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2000 12:12 PM
12-15-2000 12:12 PM
Re: df -g ... or.... fstyp -v..... which is right filesystem blocksize ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2000 12:16 PM
12-15-2000 12:16 PM
Re: df -g ... or.... fstyp -v..... which is right filesystem blocksize ???
I agree, sorry for the confusion.
Are you running 10.20 or 11.0 ? [I'm on 10.20].
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2000 12:24 PM
12-15-2000 12:24 PM
Re: df -g ... or.... fstyp -v..... which is right filesystem blocksize ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2000 01:04 PM
12-15-2000 01:04 PM
Re: df -g ... or.... fstyp -v..... which is right filesystem blocksize ???
I had the same results as you on the 10.20 O/S.
I would trust the 8192 block size on your "fstyp -v /dev/vg00/lvol3". I tried on on one of my HPUX 11.0 systems and they both reported 8192 file system block size. Both systems were using "vxfs". It looks like they fixed a problem with "df -g" on 11.0.
Take Care,
Eddie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2000 02:03 PM
12-15-2000 02:03 PM
Re: df -g ... or.... fstyp -v..... which is right filesystem blocksize ???
If you go into the filesystem detail window, the blocksize is printed on the top right of the screen just below the FS type field.
Just too many conflicting things going on here!
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2000 09:38 AM
12-18-2000 09:38 AM
Re: df -g ... or.... fstyp -v..... which is right filesystem blocksize ???
"Anthony, the 'df -g' command reports on 'fragment size'. The 'fragment size'
status actually corresponds to the current 'block size'. Furthermore, what 'df' reports as 'block size' is actually the
filesystem's 'maximum possible block size'.
Regards, George, HP"
My take on this is that I still am not sure how to determine my filesystem block size!! I guess I need to consider/determine the source of the response and thus its accuracy.
Any comments?
Tony