1748073 Members
5238 Online
108758 Solutions
New Discussion юеВ

clone hdd

 

clone hdd

hi all, i need to clone my ds25 first scsi disk to an image in case of faliure. can anyone know what thirdy part software or tru64 utility that i can run to clone my disk?


thanks all
Giulio
8 REPLIES 8
Vladimir Fabecic
Honored Contributor

Re: clone hdd

Several options:
1. bttape
You can backup (and restore with btextract)your system using this utility (see man bttape)
2. # dd if=/dev/rdisk/dsk0c of=/dev/tape/tape0
3. Do "vdump" backup of all file systems to tape. They can be restored wherever you want.

Do consider bttape.
I ussually do backups using "vdump", but bttape image is simple to restore.
In vino veritas, in VMS cluster

Re: clone hdd

thanks a lot but if the disk fail(i have only one local disk on my ds20) and i replace with another how can restore without operating system?
Vladimir Fabecic
Honored Contributor

Re: clone hdd

You can allways boot from OS installation CD for doing "vrestore" and "dd".
If you use bttape you boot from tape device:
>>> boot -fl "nc" MKA600 (or whatever is your tape device).
As I said take a look at man pages for bttape.
In vino veritas, in VMS cluster

Re: clone hdd

ok thank you very much!!! i try to boot installation cd and try to restore.
because i don't have a tape drive attached i can't boot from tape.
Vladimir Fabecic
Honored Contributor

Re: clone hdd

Giulio
How will you do backups without the tape?
From where will you restore the data?
In vino veritas, in VMS cluster

Re: clone hdd

on a storage disk on fibre channel bus. because the dlt tape is managed by a brightstore sofware for centralized backup and i can't use this for tru64.
any other suggestion thanks
Vladimir Fabecic
Honored Contributor

Re: clone hdd

Any other suggestion?
Yes. Create a disk on fibre storage and create file system. It can even be UFS, does not have to be advfs. You would have less problems mounting UFS disk when booted from CD.
Mount that file system somewhere, for example on /bacdisk.
Then do:
# vdump -0f /bacdisk/root.vdump /
# vdump -0f /bacdisk/usr.vdump /usr
etc...
You vdump all file systems which are located on local disk.
You can also try:
# dd if=/dev/rdisk/dsk0c of=/bacdisk/dsk0.dd
if you prefer dd.
When you need to restore you boot from CD.
Then you create partitions on new disk and file systems.
Do not forget to create advfs boot block when doing disklabel.
Then mount /bacdisk and restore from vdump files or from dd file.
In vino veritas, in VMS cluster

Re: clone hdd

perfect i test your solution!!!

many thanks and excuse me for the imprecision.

best regards
Giulio