From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4658ce4f52e8ba52 X-Google-Attributes: gidfee84,public From: "Adam Price" Subject: Re: image of a disk or imaging of multiple partitions using "dd" Date: 1999/07/29 Message-ID: <933233351.22538.0.nnrp-10.c2deb51d@news.demon.co.uk>#1/1 X-Deja-AN: 506501757 X-NNTP-Posting-Host: pappnase.demon.co.uk:194.222.181.29 References: <7nni28$n8o$0@dosa.alt.net> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 933233351 nnrp-10:22538 NO-IDENT pappnase.demon.co.uk:194.222.181.29 Newsgroups: comp.unix.osf.osf1 vclinton wrote in message <7nni28$n8o$0@dosa.alt.net>... >G'day mates -- > >I'm trying to determine if using the "dd" command to generate a raw image of >a disk to magnetic tape is possible. I need it to quickly restore a disk >subsystem using the image to generate a disklable (which I hope is also on >tape... ) for the disk and restore the Advfs data. Hopefully "dd" is smart >enough to reference the partition info from the disklabel. If this is not >the best native tool for fast data recovery, then could someone recommend a >tool that's actually native to Tru64 Unix. I am a true newbee to the Unix >world -- and I'm truthfully enjoying myself. So if any of the veterans out >there have any suggestions, please feel free to contact me. > >Cheers to all, > You can image disks this way, I've done it both disk to disk and disk to tape to disk, however it's not really the best tool for the job. You can use the disklabel command to capture current disklabels to a file and to write new ones to a disk from a file. You should use vdump and vrestore to backup advfs filesystems. If you do decide to use dd, then experiment with block sizes, use the raw partitions and make sure that the partition you chose to backup starts at the beginning of the disk if you want to capture the disklabel. I also found that I sometimes had problems with bootblocks when I did this, but I can't remember if that was on the ultrix machine's. Whatever you do, don't rely on this without exhaustive testing. Hope this helps Adam