Can someone help me edit the below script to make it run faster?
Shell: bash
OS: Linux Red Hat
The point of the script is to grab entire chunks of information that concerns the service "MEMORY_CHECK".
For each chunk, the beginning starts with "service {", and ends with "}".
I should... (15 Replies)
I created a zpool and in it there is a zfs volume. I used that to backup data on another server using ISCSI. Now I have the data and want to take a snapshot so that I can view it on another machine that is not in production.
Here is what I have done
# zfs snapshot mat/vol_1@snap1
# zfs list -t... (6 Replies)
I have installed Solaris 11 Express on my server and want to set up automatic backuping using zfs snapshots. In the backup script I need to find out the name of the last snapshot of the given filesystem (in order to refer to it as the startpoint of an incremental backup). What is the best way to do... (4 Replies)
I saved one of my zfs snapshot on the remote machine with following command. And now i want to restore the same snapshot to original server how can i receive it on the original server from backup server.
#zfs send rpool/ROOT/sol10_patched@preConfig | ssh x.x.x.x zfs receive... (1 Reply)
I 've a weired situation .. my system has zfs root as its file system and now root file system is full at 100%
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 134G 65.2M 94K /rpool
rpool/ROOT ... (1 Reply)
Hi,
I am working on Network Management Software product. This is supported both windows and solaris platform. I need to take the snapshot of the solaris server ( which installed our product), like vmware in windows.
I think using ZFS files system, we can take the snapshot in solaris 10 but... (2 Replies)
Hi,
I am working on Network Management Software product. This is supported both windows and solaris platform. I need to take the snapshot of the solaris server ( which installed our product), like vmware in windows.
I think using ZFS files system, we can take the snapshot in solaris... (1 Reply)
I am processing some terabytes of information on a computer having 8 processors (each with 4 cores) with a 16GB RAM and 5TB hard drive implemented as a RAID. The processing doesn't seem to be blazingly fast perhaps because of the IO limitation.
I am basically running a perl script to read some... (13 Replies)
ZFS-FUSE(8) [FIXME: manual] ZFS-FUSE(8)NAME
zfs-fuse - ZFS filesystem daemon
SYNOPSIS
zfs-fuse [--pidfile filename] [--no-daemon] [--no-kstat-mount] [--disable-block-cache] [--disable-page-cache] [--fuse-attr-timeout SECONDS]
[--fuse-entry-timeout SECONDS] [--log-uberblocks] [--max-arc-size MB] [--fuse-mount-options OPT,OPT,OPT...]
[--min-uberblock-txg MIN] [--stack-size=size] [--enable-xattr] [--help]
DESCRIPTION
This manual page documents briefly the zfs-fuse command.
zfs-fuse is a daemon which provides support for the ZFS filesystem, via fuse. Ordinarily this daemon will be invoked from system boot
scripts.
OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below. For a complete description, see the Info files.
-h --help
Show summary of options.
-p filename --pidfile filename
Write the daemon's PID to filename after daemonizing. Ignored if --no-daemon is passed. filename should be a fully-qualified path.
-n --no-daemon
Stay in foreground, don't daemonize.
--no-kstat-mount
Do not mount kstats in /zfs-kstat
--disable-block-cache
Enable direct I/O for disk operations. Completely disables caching reads and writes in the kernel block cache. Breaks mmap() in ZFS
datasets too.
--disable-page-cache
Disable the page cache for files residing within ZFS filesystems. Not recommended as it slows down I/O operations considerably.
-a SECONDS --fuse-attr-timeout SECONDS
Sets timeout for caching FUSE attributes in kernel. Defaults to 0.0. Higher values give a 40% performance boost.
-e SECONDS --fuse-entry-timeout SECONDS
Sets timeout for caching FUSE entries in kernel. Defaults to 0.0. Higher values give a 10000% performance boost but cause file
permission checking security issues.
--log-uberblocks
Logs uberblocks of any mounted filesystem to syslog
-m MB --max-arc-size MB
Forces the maximum ARC size (in megabytes). Range: 16 to 16384.
-o OPT... --fuse-mount-options OPT,OPT,OPT...
Sets FUSE mount options for all filesystems. Format: comma-separated string of characters.
-u MIN --min-uberblock-txg MIN
Skips uberblocks with a TXG < MIN when mounting any fs
-v MB --vdev-cache-size MB
adjust the size of the vdev cache. Default : 10
--zfs-prefetch-disable
Disable the high level prefetch cache in zfs. This thing can eat up to 150 Mb of ram, maybe more
--stack-size=size
Limit the stack size of threads (in kb). default : no limit (8 Mb for linux)
-x --enable-xattr
Enable support for extended attributes. Not generally recommended because it currently has a significant performance penalty for many
small IOPS
-h --help
Show this usage summary.
REMARKS ON PRECEDENCE
Note that the parameters passed on the command line take precedence over those supplied through /etc/zfs/zfsrc.
BUGS /CAVEATS
The path to the configuration file (/etc/zfs/zfsrc) cannot at this time be configured.
Most existing packages suggest settings can be set at the top of their init script. These get frequently overridden by a (distribution
specific) /etc/default/zfs-fuse file, if it exists. Be sure to look at these places if you want your changes to options to take effect.
The /etc/zfs/zfsrc is going to be the recommended approach in the future. So, packagers, please refrain from passing commandline parameters
within the initscript (except for --pid-file).
SEE ALSO
zfs (8), zpool (8), zdb(8), zstreamdump(8), /etc/zfs/zfsrc
AUTHOR
This manual page was written by Bryan Donlan bdonlan@gmail.com for the Debian(TM) system (but may be used by others). Permission is granted
to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by
the Free Software Foundation, or the Common Development and Distribution License.
Revised by Seth Heeren zfs-fuse@sehe.nl
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. The text of the
Common Development and Distribution Licence may be found at /usr/share/doc/zfs-fuse/copyright
COPYRIGHT
Copyright (C) 2010 Bryan Donlan
[FIXME: source] 2010-06-09 ZFS-FUSE(8)