SUMMMARY: tape failed, disk failed. how to ufsdump/restore via pi pes?

From: Schoep, Grant @ STORM (@)
Date: 04/08/03

  • Next message: Schoep, Grant @ STORM: "Reboot of server, tape drive keeps on "incrementing" in in /dev/r mt"
    From: "Schoep, Grant @ STORM" <GSchoep@storm.L-3Com.com>
    To: "'sunmanagers@sunmanagers.org'" <sunmanagers@sunmanagers.org>
    Date: Tue, 8 Apr 2003 12:49:22 -0400
    

    Thanks goes to the following for suggestions, help, and answers/
            
    Rich Kulawiec
    Crist Clark
    Frank Velazquez
    Mike Myers
    Dave Plummer

    Thanks for all the quick replies. The ufsdump/restore is working for me
    now... no errors yet! The general consensus was was that my backup line was
    good. Though two recommendations seemed like a good idea.

    1. Mount the bad disk as read only, which saves me from going around to
    everyone(all 4 of us now days) "Don't use this partition!

    2. I can just use the symbolic names, instead of the /dev/dsk/c1t9d0s0 name.
    This was helpful as I seemed to get a number of replies saying I SHOULD use
    rdsk(raw device), and others that said I should NOT use rdsk. I figure if
    the symbolic name works fine, it will be smart enough to use the correct
    one.

    So the following commands will work

    1. locally
    ufsdump 0f - /baddisk | (cd /newdisk; ufsrestore rf - )

    2. Or remotely
    ufsdump 0f - /baddisk | rsh remote-machine 'cd /newdisk; ufsrestore -rf -'

    Thanks for the speedy replies
    -grant

    -----Original Message-----
    From: Schoep, Grant @ STORM
    Sent: Tuesday, April 08, 2003 10:20 AM
    To: 'sunmanagers@sunmanagers.org'
    Subject: tape failed, disk failed. how to ufsdump/restore via pipes?

    Bad things seem to happen in pairs...

    We have a disk that is slowly failing, usually dies after 24 hours of
    operations. And today I planned on moving the stuff over to another disk.
    While yippie... our tape drive just went dead.

    I'm not much of a sysadmin, so I am hacking my way through this.
    I know it is possible to ufsdump and then pipe it to a ufsrestore with
    avoiding a tape drive. BUt... how do I do this? I could sit and figure it
    out, but I am getting nervous as I figure that disk is going to die soon...

    My guess was something like this, but I want to be sure what is correct as
    the disk is already flaky and I want to avoid hitting it too many times
    trying different things.

    ufsdump 0f - /dev/dsk/c1t9d0s0 | (cd /newdisk; ufsrestore rf - )

    I'm unclear when/if I need to use rdsk instead of dsk.

    I also just can't ufsdump to a file, as the there are no other disks large
    enough to dump, then restore it to...

    Help
    -grant
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: Schoep, Grant @ STORM: "Reboot of server, tape drive keeps on "incrementing" in in /dev/r mt"

    Relevant Pages

    • Re: Security Issue, or Just Paranoid?
      ... | I appreciate your quick replies, and I don't think I made myself clear about ... | how many different ways we have tried to get this disk cleared. ... | I could download the Windows security updates, ... take precautionary measures then you won't need corrective measures and Mommy can be Mommy. ...
      (microsoft.public.windowsxp.security_admin)
    • SUMMARY: how to fsck SVM boot disks?
      ... thanks to all replies, and yes, the solution exists! ... Sun is in the process to send me a new disk. ... then re-creates the mirror ... Can we have md drivers in a jumpstart image? ...
      (SunManagers)
    • Re: One for the clued up - of which I am not.
      ... I dont know how but between my pal and I ... c> we successfully reformatted the disk and reloaded Windows 98 SE. ... c> thanks for the replies. ...
      (uk.comp.homebuilt)
    • Re: SmartDrive
      ... What do you mean - "huh?" ... What you are thinking "Smart" which monitors the health of a IDE hard disk and is a hard ... Smartdrive allows you to monitor how the cache is used and change ... |> your replies may not be received. ...
      (microsoft.public.windowsxp.general)
    • tape failed, disk failed. how to ufsdump/restore via pipes?
      ... We have a disk that is slowly failing, usually dies after 24 hours of ... And today I planned on moving the stuff over to another disk. ... I also just can't ufsdump to a file, as the there are no other disks large ...
      (SunManagers)