08-11-2003
Every filesystem has a value the represents the smallest unit of storage that can be allocated. This might be 512 or 1024, but 512 does seem small. If you create a 1 byte file, the filesystem must actually give you its smallest unit.
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
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 (5 Replies)
Discussion started by: linuxpenguin
5 Replies
2. 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
3. Solaris
how do you determine block size for a file system? In solaris 5.8 (3 Replies)
Discussion started by: csaunders
3 Replies
4. 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
5. 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
6. UNIX for Advanced & Expert Users
Hello,
I am using IXOS 3rd party utility to maintain invoices (images) in my client's SAP system. We have a DR (Disaster Recovery) setup & for that I need to synchronize my /ixos filesystem (with size more than 50 GB) between two servers say x182 & x050.
Initially I thought to tar the... (4 Replies)
Discussion started by: vishal_ranjan
4 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
LEARN ABOUT SUSE
blockdev
BLOCKDEV(8) System Manager's Manual BLOCKDEV(8)
NAME
blockdev - call block device ioctls from the command line
SYNOPSIS
blockdev [options] commands devices
blockdev --report [devices]
DESCRIPTION
The utility blockdev allows one to call block device ioctls from the command line.
OPTIONS
-V Print version and exit.
-q Be quiet.
-v Be verbose.
--report
Print a report for devices. Note that the partition StartSec is in 512-byte sectors.
COMMANDS
--setro
Set read-only.
--setrw
Set read-write.
--getro
Get read-only. Print 1 if the device is read-only, 0 otherwise.
--getss
Print sectorsize in bytes - usually 512.
--getbsz
Print blocksize in bytes.
--setbsz N
Set blocksize to N bytes.
--getsize
Print device size in sectors (BLKGETSIZE). Deprecated in favor of the --getsz option.
--getsize64
Print device size in bytes (BLKGETSIZE64)
--getsz
Get size in 512-byte sectors (BLKGETSIZE64 / 512).
--setra N
Set readahead to N 512-byte sectors.
--getra
Print readahead (in 512-byte sectors).
--setfra N
Set filesystem readahead (same like --setra on 2.6 kernels).
--getfra
Get filesystem readahead.
--flushbufs
Flush buffers.
--rereadpt
Reread partition table.
AUTHOR
blockdev was written by Andries E. Brouwer.
AVAILABILITY
The blockdev command is part of the util-linux-ng package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.
Jun 2007 BLOCKDEV(8)