Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

remote ufsdump over ssh2

Status
Not open for further replies.

imix

Programmer
Dec 4, 2002
12
US
Hello all,

I just was trying to do a Tape backup from one of them that does not have DLT (bot of them have ssh2).

ServerA
does not has DLT
ssh2

ServerB
has DLT
ssh2

I was looking arround internet and could find something that help me, but... just with small file systems (I´m not shure)

-I did this :

ServerA:root> ssh root@ServerB -n 'ufsdump 0ufc - /' | dd bs=1024 of=/dev/rmt/0cn
DUMP: Writing 63 Kilobyte records
DUMP: Date of this level 0 dump: Wed Feb 11 14:08:22 2004
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rdsk/c0t0d0s0 (ServerB:/) to standard output.
DUMP: Mapping (Pass I) [regular files]
DUMP: Mapping (Pass II) [directories]
DUMP: Estimated 99006 blocks (48.34MB).
DUMP: Dumping (Pass III) [directories]
DUMP: Dumping (Pass IV) [regular files]

- So, i tried to look what was doing (I mean if was writing toward DLT)

ServerA:root> ps -ef |grep dd
root 28361 28358 0 14:08:15 pts/3 0:00 dd bs=1024 of=/dev/rmt/0cn

- I did a truss over that process and... what was my surprise... was sleeping ??????

ServerA:root> truss -p -v all 28361
read(3, 0x00026000, 1024) (sleeping...)



Any Idea ???, or suggestion ????


Regards,

imix
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top