06-05-2010
Have you tried cpio?
The only rule of thumb I know is for disks - use a dd blocksize that == 2 or 4 times the size of the physical blocks on the disks, whether reading or writing. This is the fundamental blocksize, not what df reports. For example you can use fdisk on linux to see blocksize. Don't remember for HPUX.
Since tape is far slower than disk i/o, I dunno if this helps.
The f_frsize value returned in struct stavfs:
u_long f_frsize; /* fundamental filesystem block
(size if supported) */
8 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. 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
3. 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
4. UNIX for Dummies Questions & Answers
I need to concatenate about a thousand files (using a loop) on a UNIX server. Also, each file has a header row which is to be removed. Which of the following would give better performance?
tail+2 <filename> or sed '1,1d' <filename>
Or is there another, faster way?
Thanks,
Kaus (4 Replies)
Discussion started by: kausmone
4 Replies
5. Red Hat
Hi All,
Our Linux server were rebooted 723 days before and now We have decided to reboot the server due to server performance.
Could someone advise us what is the optimal duration of a server reboot ?
Thanks for your time.
Best Regards,
Arun (2 Replies)
Discussion started by: arunap44
2 Replies
6. 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
7. 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
8. 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