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
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT DEBIAN
xfs_rtcp
xfs_rtcp(8) System Manager's Manual xfs_rtcp(8)
NAME
xfs_rtcp - XFS realtime copy command
SYNOPSIS
xfs_rtcp [ -e extsize ] [ -p ] source ... target
DESCRIPTION
xfs_rtcp copies a file to the realtime partition on an XFS filesystem. If there is more than one source and target, the final argument
(the target) must be a directory which already exists.
OPTIONS
-e extsize
Sets the extent size of the destination realtime file.
-p Use if the size of the source file is not an even multiple of the block size of the destination filesystem. When -p is specified
xfs_rtcp will pad the destination file to a size which is an even multiple of the filesystem block size. This is necessary since
the realtime file is created using direct I/O and the minimum I/O is the filesystem block size.
SEE ALSO
xfs(5), mkfs.xfs(8), mount(8).
CAVEATS
Currently, realtime partitions are not supported under the Linux version of XFS, and use of a realtime partition WILL CAUSE CORRUPTION on
the data partition. As such, this command is made available for curious DEVELOPERS ONLY at this point in time.
xfs_rtcp(8)