Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am trying to do a backup from the hard drive to tape drive. I am running Solaris 3.6 on a Sparc 20. However I am not solaris knowledgeable and really need some help in the actual code to type in to do this.
Any help would be greatly appreciated.Thanks,
Jeff brandon
jbrandon21@sbcglobal.net

You could do it by drive partitions to separate tapes with the ufsdump command.
ufsdump -0uf /dev/rmt/0 /dev/dsk/c0t0d0s0
check the man pages to confirm the syntax.
You could also use tar
tar cvf /dev/rmt/0 /

I tried the two options you gave me and it gave me bad command. I was wondering if there was any configering I had to do to the new tape drive before it would work. Also is there just a way to see if it is working properly without doing a transfer. If you could let me know i would appreciate it. Thanks again for all of your help.
Thanks
Thanks,
Jeff brandon
jbrandon21@sbcglobal.net

Something you may want to try on the dump command:
For a 4 mm DAT tape unit:
ufsdump 0uncsdf 500 660000 /dev/rmt/0 /For an ¼ inch tape unit:
ufsdump 0uncsdtf 700 1000 18 /dev/rmt/0 /At the "ok" prompt in virtual shutdown you can run probe-scsi-all and it will detect and display the scsi devices.
RickF

Rick... thanks for your help.
I have only one more question for you. I am new to this whole enviroment of solaris. I have been looking on it for what you called the virtual shutdown and am kinda lost of how I get to that. I tried using the command you gave me for the probe-scsi-all. I just need to know where I can do that. Or better yet how the heck I get to this virtual shutdown. Any more you could give me would be greatly appreciated.
Jeff
Thanks,
Jeff brandon
jbrandon21@sbcglobal.net

Jeff,
If you do an "init 0" at the command prompt under the root account, the server will shutdown, the command prompt there is the "ok" prompt. At the "ok" prompt you can power off the server safely at the power switch as well as run the probe-scsi-all. This may lock the machine, if it does then you need to recycle the power and boot back up. While it is starting to boot, hold the "stop" key down and keep tapping the "a" key with the stop key pressed so it stops the booting. Now you are back at the "ok" prompt and the command will always work from there.
RickF

Rick... thanks a million.
Thats what I needed. You have been a huge help.
Thanks again
Thanks,
Jeff brandon
jbrandon21@sbcglobal.net

![]() |
Solaris 9 Developer Clust...
|
Connection refused for Li...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |