tape failed, disk failed. how to ufsdump/restore via pipes?

From: Schoep, Grant @ STORM (@)
Date: Tue Apr 08 2003 - 12:19:45 EDT


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



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:09 EDT