Sponsored Content
Operating Systems Solaris How do I set the block size in ZFS? Post 302274154 by sqa777 on Tuesday 6th of January 2009 10:57:03 PM
Old 01-06-2009
How do I set the block size in ZFS?

I was able to create a zpool and then created a zfs filesystem (BTW, thanks to all those who helped me get by the hard drive formatting issues I had posted here earlier).


I read that ZFS does variable block size, that is, a user can specify a blocksize, and if a file is smaller than the user specified blocksize, the file would be the smallest power of two between 512 bytes and the user specified blocksize.

Just how would I specify the blocksize? Is that an option I have to use in the zpool create command?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

validation: set field size to 6 digits

I'm curious, how would I set validation on a field size to make sure it only ever accepts a 6 digit number? I currently have validation for it to be an integer in place but can't find anywhere that says how to make it only a length of 6 digits. any tips on the function I should be focussing... (1 Reply)
Discussion started by: nortypig
1 Replies

2. UNIX for Dummies Questions & Answers

set font size

can any one tell me how to set the font size in unix? (14 Replies)
Discussion started by: sachin.gangadha
14 Replies

3. UNIX for Dummies Questions & Answers

how to set size in logrotate.conf

Hi,guys: recently,i am puzzled by a question .when i create a new file named by /etc/logrotate.d/debug. The cont. is listed as follow: /var/log/debug { rotate 3 missingok notifempty size=2k prerotate /bin/kill -HUP `cat... (0 Replies)
Discussion started by: icehero
0 Replies

4. UNIX Desktop Questions & Answers

How to set size of browser window in mwm?

Hi, When I launch firefox in mwm on VectorLinux 5.8, its window borders stretch just a bit beyond the screen size. My resolution is 800x600. How do I fix this issue so that it always stays within the screen when I launch it? Thank you. (1 Reply)
Discussion started by: nixusr
1 Replies

5. UNIX for Advanced & Expert Users

How to set block size for CPIO in HPUX

Hi, One of our internal tool runs cpio command to archive certain files, but I receive an error as follows. CPIO Failure (operation would block) When i debugged, i assume that this an error due to block size.. My question are, How to find the block size in HP-UX?? How to set... (1 Reply)
Discussion started by: vj8436
1 Replies

6. Solaris

How to set VI editor column size on Solaris?

I am setting the size using "stty columns 120" . But I still get the prompt saying "terminal too wide " when I am in vi. is there any time limit for this setting? how to set the column size to 120 permanently? Thanks in advance, Devi (4 Replies)
Discussion started by: pvkdevi
4 Replies

7. Solaris

ZFS : Can arc size value exceed Physical RAM ?

Hi, kstat -p -m zfs -n arcstats -s size returns zfs:0:arcstats:size 8177310584 this values is approx (7.61 GB) but my Physical Memory size is only 6144 Megabytes. Can this happen ? if yes, then how can I find free memory on the system. BTW, I ran the kstat commands from a Non... (2 Replies)
Discussion started by: sapre_amit
2 Replies

8. UNIX for Advanced & Expert Users

Physical disk IO size smaller than fragment block filesystem size ?

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. HP-UX

About Block Size and Fragment Size

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

10. Solaris

Zfs rpool size

Hi everyone, I am doing housekeeping of my Solaris 11 for zfs snapshot to reduce the snapshot size. I have already cleared the / file system, however the rpool size still not reduced. Filesystem Size Used Available Capacity Mounted on rpool/ROOT/solaris-2 98G 6.9G ... (2 Replies)
Discussion started by: freshmeat
2 Replies
GRUB-FSTEST(3)						     Library Functions Manual						    GRUB-FSTEST(3)

NAME
grub-fstest -- Debug tool for GRUB's filesystem driver. SYNOPSIS
grub-fstest [-c | --diskcount=NUM] [-C | --crypto] [-d | --debug=STRING] [-K | --zfs-key=FILE|prompt] [-n | --length=NUM] [-r | --root=DEVICE_NAME] [-s | --skip=NUM] [-u | --uncompress] [-v | --verbose] IMAGE_PATH <blocklist FILE | cat FILE | cmp FILE LOCAL | cp FILE LOCAL | crc FILE | hex FILE | ls PATH | xnu_uuid DEVICE> DESCRIPTION
grub-fstest is a tool for testing GRUB's filesystem drivers. You should not normally need to run this program. OPTIONS
--diskcount=NUM Specify the number of input files. --crypto Mount cryptographic devices. --debug=STRING Set debug environment variable. --zfs-key=FILE|prompt Load ZFS cryptographic key. --length=NUM Handle NUM bytes in output file. --root=DEVICE_NAME Set root device. --skip=NUM Skip NUM bytes from output file. --uncompress Uncompress data. --verbose Print verbose messages. COMMANDS
blocklist FILE Display block list of FILE. cat FILE Display FILE on standard output. cmp FILE LOCAL Compare FILE with local file LOCAL. cp FILE LOCAL Copy FILE to local file LOCAL. crc FILE Display the CRC-32 checksum of FILE. hex FILE Display contents of FILE in hexidecimal. ls PATH List files at PATH. xnu_uuid DEVICE Display the XNU UUID of DEVICE. SEE ALSO
info grub Wed Feb 26 2014 GRUB-FSTEST(3)
All times are GMT -4. The time now is 07:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy