Sponsored Content
Full Discussion: ZFS send issues
Operating Systems Solaris ZFS send issues Post 302839469 by bartus11 on Thursday 1st of August 2013 04:40:08 PM
Old 08-01-2013
Try:
Code:
/sbin/zfs send zones/zone1@snapshot |ssh sv2 /sbin/zfs recv zones/zone1

 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

send attachments using send mail in Solaris

Hi All, I have a requirement to send and email of body html with an attachment. concatinating uuencode output to the mail body with mailx command works, but as my Email body is of HTML type i use sendmail. my command to send HTML body is as below: export MAILTO="recipient@domain.com"... (1 Reply)
Discussion started by: mohan_kumarcs
1 Replies

2. Shell Programming and Scripting

Script to send email after comparing the folder permissions to a certain permission & send email

Hello , I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them . I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
Discussion started by: nairshar
2 Replies

3. Solaris

Help with beginner issues setting up ZFS??

Hi, I'm new to Solaris 11. The goal is to set up a ZFS raid-Z2 NAS. These are the instructions I've been trying to follow, with no luck: "Setting Up an OpenSolaris NAS Box: Father-Son Bonding" (not allowed to post URL) Issues: 1) Root access is evidently required but I don't... (8 Replies)
Discussion started by: lakedude
8 Replies

4. Solaris

ZFS Issues

Hi, I am nowusing ZFS since some weeks and now I have 2 questions: 1) in zpool I saw some disk added with the *s2 at the end, I have in mind that should not be ? is this right and if so can I get the *s2 disk out of the zpool ? 2) Zpool has still 2 spare disk but when I try to create a new... (6 Replies)
Discussion started by: manni2
6 Replies

5. Solaris

ZFS

Hi, I need some advice please. I have this server with a couple of zpools, lets call them pay_serv ukb_pool There are two zones attached to these pools. When I do a zfs list I see this pay_serv 8.41G 265G 8.41G /pay_serv ukb_pool 79.8G 194G 23K /ukb_pool ukb_pool/temp_ps 9.11G... (4 Replies)
Discussion started by: giles.cardew
4 Replies

6. Solaris

zfs send receive performance issues

I 'm trying to clone a zfs file system pool/u01 to a new file system called newpool/u01 using following commands zfs list zfs snapshot pool/u01@new zfs send pool/u01@new | zfs -F receive newpool/u01 Its a 100G file system snapshot and copied to same server on different pool and... (9 Replies)
Discussion started by: fugitive
9 Replies

7. Solaris

Solaris11: Permission issues with auto-scrub ZFS pool

Short version: pfexec zpool scrub rpool fails saying I do not have permission to perform that action. Apparently scrub is not one of the pfexec allowed actions. Any idea on how to get around it? Long version: I got tired of manually running scrubs and am trying to set it to happen... (4 Replies)
Discussion started by: taltamir
4 Replies

8. Solaris

Zfs send to compressed pool?

I have a newly created zpool, and I have set compression on, for the whole pool: # zfs set compression=on newPool Now I have zfs send | zfs receive lot of snapshots to my newPool, but the compression is gone. I was hoping that I would be able to send snapshots to the new pool (which is... (0 Replies)
Discussion started by: kebabbert
0 Replies

9. Solaris

Help with ZFS send permissions

I'm trying to send an incremental ZFS file system from one system to another (Solaris 11.2). When I run this: zfs send -RI 20150429 gpool/zones/zone-name@20150501 | \ ssh dest-host "/usr/sbin/zfs recv -o canmount=off -dFuv bpool" I get Unable to estimate the size of... (1 Reply)
Discussion started by: kmcgrego
1 Replies

10. Solaris

Zfs send & receive with encryption - how to retrieve data?

Good morning everyone, I'm looking for some help to retrieve data in a scenario where I might have made a big mistake. I'm hoping to understand what I did wrong. My system is made of two Solaris 11 Express servers (old free version for evaluation). The first if for data and the second is... (7 Replies)
Discussion started by: rnd
7 Replies
DONUTSD(1p)						User Contributed Perl Documentation					       DONUTSD(1p)

NAME
donutsd - Run the donuts syntax checker periodically and report the results to an administrator SYNOPSIS
donutsd [-z FREQ] [-t TMPDIR] [-f FROM] [-s SMTPSERVER] [-a DONUTSARGS] [-x] [-v] [-i zonelistfile] [ZONEFILE ZONENAME ZONECONTACT] DESCRIPTION
donutsd runs donuts on a set of zone files every so often (the frequency is specified by the -z flag which defaults to 24 hours) and watches for changes in the results. These changes may be due to the time-sensitive nature of DNSSEC-related records (e.g., RRSIG validity periods) or because parent/child relationships have changed. If any changes have occurred in the output since the last run of donuts on a particular zone file, the results are emailed to the specified zone administrator's email address. OPTIONS
-v Turns on more verbose output. -o Run once and quit, as opposed to sleeping or re-running forever. -a ARGUMENTS Specifies command line arguments to be passed to donuts executions. -z TIME Sleeps TIME seconds between calls to donuts. The DNSSEC-Tools timetrans program can be used to convert from large time units (e.g., weeks and days) to seconds. -e ADDRESS Mail ADDRESS with a summary of the results from all the files. These are the last few lines of the donuts output for each zone that details the number of errors found. -s SMTPSERVER When sending mail, send it to the SMTPSERVER specified. The default is localhost. -f FROMADDR When sending mail, use FROMADDR for the From: address. -x Send the diff output in the email message as well as the donuts output. -t TMPDIR Store temporary files in TMPDIR. -i INPUTZONES See the next section details. ZONE ARGUMENTS
The rest of the arguments to donutsd should be triplets of the following information: ZONEFILE The zone file to examine. ZONENAME The zonename that file is supposed to be defining. ZONECONTACT An email address of the zone administrator (or a comma-separated list of addresses.) The results will be sent to this email address. Additionally, instead of listing all the zones you wish to monitor on the command line, you can use the -i flag which specifies a file to be read listing the TRIPLES instead. Each line in this file should contain one triple with white-space separating the arguments. Example: db.zonefile1.com zone1.com admin@zone1.com db.zonefile2.com zone2.com admin@zone2.com,admin2@zone2.com For even more control, you can specify an XML file (whose name must end in .xml) that describes the same information. This also allows for per-zone customization of the donuts arguments. The XML::Smart Perl module must be installed in order to use this feature. <donutsd> <zones> <zone> <file>db.example.com</file> <name>example.com</name> <contact>admin@example.com</contact> <!-- this is not a signed zone therefore we'll add these args so we don't display DNSSEC errors --> <donutsargs>-i DNSSEC</donutsargs> </zone> </zones> </donutsd> The donutsd tree may also contain a configs section where command-line flags can be specified: <donutsd> <configs> <config><flag>a</flag><value>--features live --level 8</value></config> <config><flag>e</flag><value>wes@example.com</value></config> </configs> <zones> ... </zones> </donutsd> Real command line flags will be used in preference to those specified in the .xml file, however. EXAMPLE
donutsd -a "--features live --level 8" -f root@example.com db.example.com example.com admin@example.com COPYRIGHT
Copyright 2005-2012 SPARTA, Inc. All rights reserved. See the COPYING file included with the DNSSEC-Tools package for details. AUTHOR
Wes Hardaker <hardaker@users.sourceforge.net> SEE ALSO
donuts(8) timetrans(1) http://dnssec-tools.sourceforge.net perl v5.14.2 2012-06-28 DONUTSD(1p)
All times are GMT -4. The time now is 07:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy