- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Blocksize - where can I find it ? (how) can I ...
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
09-19-2001 06:09 AM
09-19-2001 06:09 AM
Blocksize - where can I find it ? (how) can I change it?
I've got 2 (nearly) identical systems under 10.20.
But, when I do the "du"-command, I wonder, because one tells me the blocksize of 512 Byte, the other's blocksize is 4K.
- In which system-file is blocksize defined?
- can I change it, so that both computers have the same size (f.e. 512 B or 1K), or is this impossible?
Thanks for help,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 06:18 AM
09-19-2001 06:18 AM
Re: Blocksize - where can I find it ? (how) can I change it?
Do a "fstype -v /dev/vg??/lv??"
The f_frsize indicates the block size
Did you try du with -kxs option
-Regards
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 06:20 AM
09-19-2001 06:20 AM
Re: Blocksize - where can I find it ? (how) can I change it?
Found an interesting thread,
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xf592e7e60861d511abcd0090277a778c,00.html
-Regards
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 06:48 AM
09-19-2001 06:48 AM
Re: Blocksize - where can I find it ? (how) can I change it?
HFS:
f_bsize block size
f_frsize fragment size
VxFS:
f_bsize largest possible block size
f_frsize actual block size
You can indicate required block size while file system creating:
newfs -o bsize=n,
n is the block size, in bytes, for files on the
file system and represents the smallest amount of disk space that will be allocated to a file. n must be a power of 2 selected from the range 1024 to 8192.The default is 1024 bytes.
See man pages for mkfs_vxfs, mkfs_hfs.
Later,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 07:17 AM
09-19-2001 07:17 AM
Re: Blocksize - where can I find it ? (how) can I change it?
u can use the above commands for verifying the fs type, by the way you can specify the block size for file system only when you create the file system.
For vxfs FS you can use :
#mkfs -F vxfs -b 8192 /dev/vgXX/lvname
Where in HFS it is fragment, u can use:
#mkfs -F hfs -o fragsize xxxx /dev/vgxx/lvname
Hope this helps..
Cheers !!!
MAthew
Hope this helps..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 07:53 AM
09-19-2001 07:53 AM
Re: Blocksize - where can I find it ? (how) can I change it?
The du command (without options) always reports the sizes in "blocks" of 512 bytes, don't confuse with the file system block size.
Ther is the -k switch if you want to see kilobytes. I can only guess that you are using different programs if you call du on both machines. Can you verify this "whence -v du" and compare the binaries you are actually executing.
Klaus