How can i made a snapshot of a disk and replace the disk on another server solaris 11?

Helo! I am trying to replace a disk on my solaris 11 with a snapshot of another server. I did the snapshot, but how can i send it to another server? I have try somethings, but It didnt work. Look:
#first tentative
zfs send /rpool/vdisk/srvdth05-ldom1.hdd0@snap1 | ssh 192.168.4.52 zfs recv /rpool/vdisk/'srvdth05-ldom1.hdd0'
cannot open '/rpool/vdisk/srvdth05-ldom1.hdd0': invalid dataset name
#second tentative
root@srvdth03 # scp [email protected]:/rpool/vdisk/srvdth05-ldom1.hdd0@snap1 .
Password:
scp: /rpool/vdisk/srvdth05-ldom1.hdd0@snap1: No such file or directory
#third tentative
zfs send -i rpool/vdisk/srvdth05-ldom1.hdd0@snap1 | ssh 192.168.4.52 zfs recv "/rpool/vdisk/snaps"
cannot receive: failed to read from stream
#fourth tentative
zfs send -Rv rpool/vdisk/srvdth05-ldom1.hdd0@snap1 > /rpool/snaps/vdisk-hdd0.snap2
scp [email protected]:/rpool/snaps/vdisk-hdd0.snap2 .
in the other host
zfs receive -r rpool/vdisk/vdisk-hdd0@snap < /rpool/snaps/vdisk-hdd0.snap2
cannot receive: can not specify snapshot name for multi-snapshot stream
I dont know what to try anymore. Someone can help me please?

Hi.
This form is correct :
zfs send rpool/vdisk/srvdth05-ldom1.hdd0@snap1 | ssh 192.168.4.52 zfs receive rpool/vdisk/'srvdth05-ldom1.hdd0
Dataset name do not content first "/" at starting name.
You can check  what datasets available with command:
zfs list
On system 192.168.4.52 you should preparare dataset.
ssh 192.168.4.52
zfs list | grep rpool
zfs create -o mountpoint=none rpool/vdisk
in case dataset rpool/vdisk/'srvdth05-ldom1.hdd0 on 192.168.4.52 olready present, you need add "-u"  for recv
Read manual about zfs command for section send and recieve.
man zfs
Regards,
   Nik.

Similar Messages

  • Im switching email accounts on my itunes account am the computer isnt recognizing purchases made from my other account on the new one (apps). How can I sign in with my new account and get the purchases apps on both accounts?

    Im switching email accounts on my itunes account am the computer isnt recognizing purchases made from my other account on the new one (apps). How can I sign in with my new account and get the purchases apps on both accounts?

    This was EXACTLY what I needed about the purchases I made from my device. However, is there a way to re-download other ones you've made from a computer? Because I realized some of them were not just purchased from my device.
    This is a picture of what it looks like now:
    http://tinypic.com/r/107quxu/7
    As you can see, the stuff circled in red doesn't give me an option to download from Cloud Beta because it already says "downloaded".
    any way to get around that?

  • How can i open a DOC or TXT file and insert the data into table?

    How can i open a DOC or TXT file and insert the data into table?
    I have a doc file . the doc include some columns and some rows.(for example 'ID,Name,Date,...').
    I'd like open DOC file and I'd like insert them into the table with same columns.
    Thanks.

    Use the SQL*Loader utility or the UTL_FILE package.

  • I have a 2008 macbook and i lost the start up disk and forgot the password. how can i put it back to factory mode and change the password

    i have a 2008 macbook and i lost the start up disk and forgot the password. how can i put it back to factory mode and change the password

    Check out this article http://gigaom.com/apple/reset-os-x-password-without-an-os-x-cd/

  • How can  I get rejected photos out of LR5 and off the HD?

    When I try to deleted rejected photos in LR5 on my iMac, I get a dialog saying they can't be sent to the trash.  How can I get unwanted photos out of LR5 and off the hard drive?

    Instead of hitting just the delete key, you need to hit ⌘+Del and one of the choices will be to remove from hard drive.

  • HT5621 how can I delete a primary e-mail addresse and replace it with a excisting Apple ID?

    How can I delete a primary e-mail address and replace it with a excisting Apple ID?

    An email address can only be used one account at a time, so if you want to replace it with an email address that is currently being used on another account then you will need to remove it from that account first before trying to put it on that account. You should be able to change the email address either by logging into your account on your computer's iTunes via the Store > View Account menu option, or via http://appleid.apple.com

  • How can I delete ALL contacts on my iphone and replace with an updated file from my Outlook on PC

    how can I delete ALL contacts on my iphone and replace with an updated file from my Outlook on my PC

    iTunes running, your phone connected, on the Info Pane, scroll down to "Advanced". Put a check in the box labeled "Replace Info on this Phone for Contacts" on next sync. Hit the apply/sync button.

  • TS1717 can i download  itunes to a flash  drive and install the program on another computer?

    can i download  itunes to a flash  drive and install the program on another computer?

    erinjb1981 wrote:
    do you know how to install it w/out administrator access? is that even possible?
    Only if the computer was set up to allow installs without admin privileges.

  • I have an iPhone 5 from verizon, can I buy a sim card in europe and replace the one from verizon?

    My iPhone5 is model A1429.
    I purchased it through Verizon within the last 9 months.
    Can I just buy a new sim card and replace the Verizon one while I am in Europe for 25 days?

    After 10 days in Scandinavia, this is what I have learned:
    1.) getting the mini or nano sim has been impossible _ in Sweden, Norway and Denmark the carriers I worked with have the old sim cards that they suggest that you trim down to nano size.  The one I tried was still too thick to fit in the sim card drawer on my iphone 5.
    2.) Verizon was very cooperative and unlocked my phone before I left the USA.
    3.) The Verizon plan may be competitive with plans that cover multiple countries in Europe.  The pricing is sufficiently confusing that providers are hard to compare, ie. initial plan / sim card purchase amout, voice, data, text send / receive rates, varying monthly or package  amounts of mintes and data allowances.
    4.) Keeping cellular data off, using wi-fi has mostly kept cellular data usage low, with a few exceptions resulting from data use for either google or i maps and a probable butt-call or mistaken program left on without wi-fi.
    5.) I am still going to check out France's rate, but I won't report more if the story stays the same.
    Good luck out there.
    Thank you to all that responded.  Even though the information did not help resolve the problem it gave us traction.

  • How can one edit a .gif file graphics background and change the fonts in Photoshop Elements 13?

    I am trying to change the color and fonts of some of my web sites .gif files. Can I change the color to another hexadecimal color and change the fonts of the letters in Photoshop 13? I am using Windows 7 and heard that you could save the .gif file to another format, edit it, then change the file back to a .gif file. Is this true? If so, how do you do it? The file just has a solid color with the letters "Firm " on it. No animation.

    You can edit a gif without changing the format, but once you save the file as a gif the text becomes part of the image, not text anymore, so you would need to clone or heal away the existing text and then create a new text layer and use save for web to create a new gif.
    For access to the most editing tools, while the file is open in the editor go to image>mode and change it from index color to RGB. Saving as a gif will change it back to index mode.

  • HT2589 How can I Change my apple id (email adress) and keep the same account? Or do I have to create a whole new account?

    My email address was hacked and I can no longer use it. How can I change the email address with our loosing everything on my iTunes account?

    Sign out of your Apple ID on all your services & devices, especially iCloud on your iPhone.
    Go to id.apple.com.
    Log in with your Apple ID & password.
    Then, edit your primary email address to the new email account.
    Once you do so, a verification email will be sent to the new email address.
    Go to your email account and verify the new primary email address.
    Apple ID: Changing your Apple ID

  • How can i re-enable/restore a disabled iPad and keep the data without using a laptop or iCloud

    Hello,
    Is there a way to re-enable a disabled iPad and maintain the data taking into consideration that no iCloud backup was made and the computer it was last synced with was not available? any idea?

    No, sorry.  Without a backup in iCloud or iTunes, you will have to set it up as if new and anything on it will be lost now.
    You can always re-download purchased apps and content (other than audiobooks) once it is restored, from the respective iTunes or App stores.

  • How can I convert files in Aperture to jpegs and keep the file large

    I want to upload files into istock photo and they must be as big as possible but in jpg format. I end up exporting tiny little things going from 8mb to 300kb. How can I do it? I even tried going into CS3 but that only allowed me to convert to tif. I would appreciate any help - especially if it is simple!

    Go to File >> Export >> Export Version(s)
    In the resulting dialog box you'll find a drop down called Export Preset with a list of presets. One of them is JPEG Original Size. That should do it for you.
    Also you can choose Edit at the bottom of the preset list and modify an existing preset or create a new custom preset.
    BTW: the reason you couldn't do it in Photoshop is that you need to convert it from 16bit to 8bit before you can save a JPEG. That command in Photoshop is under Image>>Mode.
    DLS

  • How can I add file attachment to my form and get the attachment by email?

    I'm using this code and it works fine, but I don't get the attachment file in the email. How can I add this to my code?
    HTML
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"></script>
    <script src="http://dev.jquery.com/view/trunk/plugins/validate/jquery.validate.js" type="text/javascript"></script>
    <script type="text/javascript">// <![CDATA[
                  $(document).ready(function() {
                    $("#form1").validate({
                      rules: {
                        first: "required",// simple rule, converted to {required:true}
                        email: {// compound rule
                        required: true,
                        email: true
                      last: {
                        last: true
                      comment: {
                        required: true
                      messages: {
                        comment: "Please enter a comment."
    // ]]></script>
    <script type="text/javascript">// <![CDATA[
    function validate ()
              if (document.form1.first.value == "")
              alert("Please enter your First Name");
              document.form1.first.focus();
              document.form1.first.style.border="1px solid red";
              return false;
              else if (document.form1.last.value == "")
              alert("Please enter your Last Name");
              document.form1.last.focus();
              document.form1.last.style.border="1px solid red";
              return false;
              else if (document.form1.emailaddress.value == "")
              alert("Please enter your Email Address");
              document.form1.emailaddress.focus();
              document.form1.emailaddress.style.border="1px solid red";
              return false;
    function has_focus() {
        if(document.form1.first.value == "")
                                  document.form1.first.focus();
                                  document.form1.style.first.border="1px solid green";
    function set_focus(x)
              document.getElementById(x).style.border="1px solid #80CA75";
    function clear_focus(x)
              document.getElementById(x).style.border="1px solid #DBDFE6";
    // ]]></script>
    </head>
    <body>
    <p><span style="color: #666666; text-align: center; font-size: 13px;">Please complete this form if you have any technical issue.</span></p>
    <form id="form1" action="http://www.southsun.com/php/tech_issue.php" enctype="multipart/form-data" method="post">
    <table style="width: 850px; font-size: 15px; padding-left: 20px; text-align: center;" border="0">
    <tbody>
    <tr>
    <td style="text-align: left; padding-bottom: 20px;" colspan="2">
    <h2><span style="color: #666666;">Please complete this form if you have any technical issue.</span></h2>
    </td>
    </tr>
    <tr style="padding-top: 40px;">
    <td style="text-align: left;"><span style="color: #abaf6f;"><strong>First Name</strong>:*</span><input id="first1" name="first" type="text" />  <br /><br /> <span style="color: #abaf6f;"><strong>Last Name</strong>:*</span><input id="last1" name="last" type="text" /><br /><br /> <span style="color: #abaf6f; padding-right: 33px;"><strong>Email</strong>:</span><span style="color: #abaf6f;">*</span><input id="email1" name="email" type="text" /><br /><br /> <span style="color: #abaf6f;"><strong>Shipping Method:</strong><br /></span> <input name="shippingmethod" type="radio" value="prioritymail" /> Priority Mail                                                                 <input name="shippingmethod" type="radio" value="store" /> In Store Pick up <br /> <input name="shippingmethod" type="radio" value="ground" />  Ground                                                                       <input name="shippingmethod" type="radio" value="3day" /> 3 Day Select<br /><br /> <span style="color: #abaf6f;"><strong>Payment Method:</strong><br /></span> <input name="paymentmethod" type="radio" value="paypal" /> Paypal Method                                                       <input name="paymentmethod" type="radio" value="creditcard" /> Credit Card<br /> <strong><br /> <span style="color: #abaf6f;">If getting an error message, please explain the error:</span></strong><span style="color: #abaf6f;"> <br /></span> <textarea id="errormessage" cols="20" rows="2" name="errormessage"></textarea><br /><br /></td>
    <td style="border-left: 1px solid grey; padding-left: 40px; text-align: left;"><span style="color: #abaf6f;"><strong>If using Paypal, Were you redirected successfully?</strong><br /></span> <input name="paypalredirect" type="radio" value="yes" /> Yes                                                                 <input name="paypalredirect" type="radio" value="no" /> No<br /><br /> <span style="color: #abaf6f;"><strong>If using Credit Card, Did you get an error?</strong><br /></span> <input name="carderror" type="radio" value="yes" /> Yes                                                                  <input name="carderror" type="radio" value="no" /> No<br /><br /> <span style="color: #abaf6f;"><strong>What happened after clicking place order? </strong><br /></span> <textarea id="placeorder1" cols="20" rows="2" name="placeorder"></textarea><br /><br /> <span style="color: #abaf6f;"><strong>Comments</strong>: <br /></span> <textarea id="comments1" cols="20" rows="2" name="strcomments"></textarea><br /><br /> <span style="color: #abaf6f;"><strong>Attach PrintScreen</strong>: <br /></span> <input name="strresume" type="file" />
    <div style="height: 50px;"> </div>
    </td>
    </tr>
    <tr>
    <td style="padding-top: 20px;" colspan="2">( * ) indicates required fields</td>
    </tr>
    <tr>
    <td style="text-align: center; padding-top: 20px;" colspan="2"><input class="button" name="submit" type="submit" value="Submit" />                        <input class="button" name="reset" type="reset" value="Reset" /></td>
    </tr>
    </tbody>
    </table>
    </form>
    </body></html>
    PHP
    <?php
    echo $savestring;
    //--------------------------paramaters--------------------------
    // Subject of email sent to you.
    $subject = 'prueba con uploads';
    // Your email address. This is where the form information will be sent.
    $emailadd = '[email protected]';
    // Where to redirect after form is processed.
    $url = 'http://www.pch-graphicdesign.com';
    // Makes all fields required. If set to '1' no field can not be empty. If set to '0' any or all fields can be empty.
    $req = '0';
    $target_path = "http://www.pch-graphicdesign.com/php/uploads/";
    $target_path = $target_path . basename( $_FILES['uploadedfile']['name']);
    $text = "Results from form:\n\n";
    $space = ' ';
    $line = '
    foreach ($_POST as $key => $value)
    if ($req == '1')
    if ($value == '')
    {echo "$key is empty";die;}
    $j = strlen($key);
    if ($j >= 20)
    {echo "Name of form element $key cannot be longer than 20 characters";die;}
    $j = 20 - $j;
    for ($i = 1; $i <= $j; $i++)
    {$space .= ' ';}
    $value = str_replace('\n', "$line", $value);
    $conc = "{$key}:$space{$value}$line";
    $text .= $conc;
    $space = ' ';
    mail($emailadd, $subject, $text, 'From: '.$emailadd.'');
    echo '<META HTTP-EQUIV=Refresh CONTENT="0; URL='.$url.'">';
    ?>

    Sending a file as an attachment to an email involves setting the correct MIME type and headers. There's a brief tutorial here: http://webcheatsheet.com/php/send_email_text_html_attachment.php.
    Also, you need to use the same name as in your form. In the script you have shown here, the name of the file field is strresume, but your processing script uses this: $_FILES['uploadedfile']['name']. It should be this: $_FILES['strresume']['name']

  • How can I change my settings so my notes and calendar are linked to another email?

    Hello, I have an email account on my iPhone that is from my old employer. I know how to "delete" the email account in my settings, but when I did that it removed all of my saved notes from within the past 6 months from the iPhone's original "notes" app, as well as removed my events that are saved in my calendar app. So I re-added the email account (which is an additional email account connected to my yahoo email that my employer added for me in the past (I no longer work there, so I don't need it). The strange thing is that when I bought my phone, I set everything up through a different Yaho account. How can I remove this email without loosing my notes and calendar events?
    Thanks

    Ok, thank you, but my apple ID is all tied to my yahoo email. This is a separate, additional yahoo email the email that I want to remove is not linked to my apple ID.

Maybe you are looking for

  • Help with blending options

    I can't seem to find blending options for layers anywhere in Elements 3.0. . . I'm trying to follow this guide: http://www.pixeldigest.com/contentbox001.html It says to right-click the layer and choose Blending options. But I don't see that anywhere?

  • Calling VB OCX problem using jni

    Hi all I am new in JNI based application actually i have to send 3 parameter to vb ocx and it will return the result in java. So please give me some suggestion to call vb ocx in java . Thanks in Advance nick

  • How to know the type of transactions by seeing the data in IP_IN_QUEUE

    Hi B2B gurus, I am Using EDI X12 over internet. Our suppliers processing inbound transactions to us,After receiving from B2B its storing in IP_IN_Queue, The documents which we are sending it storing in IP_OUT_Queue. We want to see the data in in IP_I

  • Creating Profit Center Accounts

    Hi, I am looking to create accounts in PCA. We have one company code, controlling area, so I am looking to have the same accounts/cost elements in PCA as in our chart of accounts. Can someone tell me how to create the accounts/cost elements in PCA. I

  • Delete an entry from UWL

    Hi,      I need to delete an entry from UWL. How to do it. Cheers Senthil