<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Tru64 hdd clone image in Operating System - Tru64 Unix</title>
    <link>https://community.hpe.com/t5/operating-system-tru64-unix/tru64-hdd-clone-image/m-p/3926339#M19563</link>
    <description>There are several ways how to do it. I will make one example.&lt;BR /&gt;Lets say that OS disk is dsk0 and your "OS clone disk" will be dsk2.&lt;BR /&gt;First you partition dsk2 and make partitions of same size like OS disk has. Also make boot block (advfs or ufs, depends what you have).&lt;BR /&gt;Then create advfs domains and file sets.&lt;BR /&gt;For example:&lt;BR /&gt;# mkfdmn /dev/disk/dsk2a root2_domain&lt;BR /&gt;# mkfset root2_domain root&lt;BR /&gt;# mkfdmn /dev/disk/dsk2g usr2_domain&lt;BR /&gt;# mkfset usr2_domain usr&lt;BR /&gt;and so on...&lt;BR /&gt;Then create mount points like /root_clone usr_clone and so on.&lt;BR /&gt;Following script should be ran from cron:&lt;BR /&gt;# mount /root_clone&lt;BR /&gt;# mount /usr_clone&lt;BR /&gt;....&lt;BR /&gt;# vdump -0 -f - / | (cd /root_clone; vrestore -x -f -)&lt;BR /&gt;# vdump -0 -f - /usr | (cd /usr_clone; vrestore -x -f -)&lt;BR /&gt;.....&lt;BR /&gt;# cp /etc/fstab.modified /root_clone/etc/fstab&lt;BR /&gt;# umount /root_clone&lt;BR /&gt;# umount /usr_clone&lt;BR /&gt;&lt;BR /&gt;Notice that fstab.modified should look like:&lt;BR /&gt;&lt;BR /&gt;root2_domain#root        /       advfs rw 0 1&lt;BR /&gt;/proc           /proc   procfs rw 0 0&lt;BR /&gt;usr2_domain#usr  /usr    advfs rw 0 2&lt;BR /&gt;usr2_domain#var  /var    advfs rw 0 2&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;This should work because this is procedure how I make "backup boot disk".&lt;BR /&gt;&lt;BR /&gt;Hope it helps&lt;BR /&gt;</description>
    <pubDate>Mon, 15 Jan 2007 07:04:21 GMT</pubDate>
    <dc:creator>Vladimir Fabecic</dc:creator>
    <dc:date>2007-01-15T07:04:21Z</dc:date>
    <item>
      <title>Tru64 hdd clone image</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/tru64-hdd-clone-image/m-p/3926337#M19561</link>
      <description>Hi everybody&lt;BR /&gt;&lt;BR /&gt;This is my fist thread, but this has been a very useful tool for a long time. Here is my problem:&lt;BR /&gt;I have a Compaq Alphaserver ES40 with a Tru64 Unix 5.1A. I have two hard drives, one for the OS and other for the data. Few months ago the OS disk failed, and I had to replace it. I installed everything again, but it was very tedious.&lt;BR /&gt;Now I want to clone the OS disk to have a backup copy if necessary. I've tried to install some free software tools like PartImage, NFG or PING, but I can't make them work. &lt;BR /&gt;Does someone know how to clone the entire disk without buying commercial software?&lt;BR /&gt;I've been reading about dd, but most of the disk is blank now (I use almost 2 Gb and the disk has 18 Gb) and I don't want to clone the empty space, and dd makes it taht way.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance, and regards.</description>
      <pubDate>Mon, 15 Jan 2007 06:31:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/tru64-hdd-clone-image/m-p/3926337#M19561</guid>
      <dc:creator>Nxo</dc:creator>
      <dc:date>2007-01-15T06:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Tru64 hdd clone image</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/tru64-hdd-clone-image/m-p/3926338#M19562</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If this was me I'd be seriously thinking about getting a RAID controller for your server so you can forget about this sort of problem...&lt;BR /&gt;&lt;BR /&gt;That said you should be able to do what you want without buying anything.&lt;BR /&gt;&lt;BR /&gt;I'm assuming you know what you're doing with the OS, so the steps below are quite high level. If you need further assistance let us know.&lt;BR /&gt;&lt;BR /&gt;1. Install the disk that you're going to clone onto.&lt;BR /&gt;2. Copy the disklabel from your current disk onto the new disk.&lt;BR /&gt;3. Create the relevant clone file domains and filesets on your new disk.&lt;BR /&gt;4. Use a vdump piped to vrestore to create a backup of each file system on the new disk.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Rob</description>
      <pubDate>Mon, 15 Jan 2007 07:01:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/tru64-hdd-clone-image/m-p/3926338#M19562</guid>
      <dc:creator>Rob Leadbeater</dc:creator>
      <dc:date>2007-01-15T07:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Tru64 hdd clone image</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/tru64-hdd-clone-image/m-p/3926339#M19563</link>
      <description>There are several ways how to do it. I will make one example.&lt;BR /&gt;Lets say that OS disk is dsk0 and your "OS clone disk" will be dsk2.&lt;BR /&gt;First you partition dsk2 and make partitions of same size like OS disk has. Also make boot block (advfs or ufs, depends what you have).&lt;BR /&gt;Then create advfs domains and file sets.&lt;BR /&gt;For example:&lt;BR /&gt;# mkfdmn /dev/disk/dsk2a root2_domain&lt;BR /&gt;# mkfset root2_domain root&lt;BR /&gt;# mkfdmn /dev/disk/dsk2g usr2_domain&lt;BR /&gt;# mkfset usr2_domain usr&lt;BR /&gt;and so on...&lt;BR /&gt;Then create mount points like /root_clone usr_clone and so on.&lt;BR /&gt;Following script should be ran from cron:&lt;BR /&gt;# mount /root_clone&lt;BR /&gt;# mount /usr_clone&lt;BR /&gt;....&lt;BR /&gt;# vdump -0 -f - / | (cd /root_clone; vrestore -x -f -)&lt;BR /&gt;# vdump -0 -f - /usr | (cd /usr_clone; vrestore -x -f -)&lt;BR /&gt;.....&lt;BR /&gt;# cp /etc/fstab.modified /root_clone/etc/fstab&lt;BR /&gt;# umount /root_clone&lt;BR /&gt;# umount /usr_clone&lt;BR /&gt;&lt;BR /&gt;Notice that fstab.modified should look like:&lt;BR /&gt;&lt;BR /&gt;root2_domain#root        /       advfs rw 0 1&lt;BR /&gt;/proc           /proc   procfs rw 0 0&lt;BR /&gt;usr2_domain#usr  /usr    advfs rw 0 2&lt;BR /&gt;usr2_domain#var  /var    advfs rw 0 2&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;This should work because this is procedure how I make "backup boot disk".&lt;BR /&gt;&lt;BR /&gt;Hope it helps&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jan 2007 07:04:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/tru64-hdd-clone-image/m-p/3926339#M19563</guid>
      <dc:creator>Vladimir Fabecic</dc:creator>
      <dc:date>2007-01-15T07:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Tru64 hdd clone image</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/tru64-hdd-clone-image/m-p/3926340#M19564</link>
      <description>Hi, thanks for answering.&lt;BR /&gt;Sorry, i think i have explained myself wrong. i don't have another disk in the server to make the backup. my options are to make the clone in the same disk, or use a WindowsXP workstation connected to the server. I have installed in the Unix server Samba and OpenSSL, and the WindowsXP has the Cerberus FTP Server, and shared directories.&lt;BR /&gt;&lt;BR /&gt;Thanks again.</description>
      <pubDate>Mon, 15 Jan 2007 07:10:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/tru64-hdd-clone-image/m-p/3926340#M19564</guid>
      <dc:creator>Nxo</dc:creator>
      <dc:date>2007-01-15T07:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Tru64 hdd clone image</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/tru64-hdd-clone-image/m-p/3926341#M19565</link>
      <description>If your data disk is big enough, you can use it for second boot disk using my procedure.&lt;BR /&gt;Why don't you simply take backups to tape or NFS server?</description>
      <pubDate>Mon, 15 Jan 2007 07:20:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/tru64-hdd-clone-image/m-p/3926341#M19565</guid>
      <dc:creator>Vladimir Fabecic</dc:creator>
      <dc:date>2007-01-15T07:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Tru64 hdd clone image</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/tru64-hdd-clone-image/m-p/3926342#M19566</link>
      <description>Hmm... OK.&lt;BR /&gt;&lt;BR /&gt;You could vdump or tar the OS partitions out to files and store them on your Windows box.&lt;BR /&gt;&lt;BR /&gt;Just make sure that you've got enough space on the device you're creating the backups on.&lt;BR /&gt;&lt;BR /&gt;Do you not have a tape drive ? That would be the easiest option...&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Rob</description>
      <pubDate>Mon, 15 Jan 2007 07:24:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/tru64-hdd-clone-image/m-p/3926342#M19566</guid>
      <dc:creator>Rob Leadbeater</dc:creator>
      <dc:date>2007-01-15T07:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Tru64 hdd clone image</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/tru64-hdd-clone-image/m-p/3926343#M19567</link>
      <description>How much data is there on the other disk?&lt;BR /&gt;Less that 18GB - 2GB?&lt;BR /&gt;How complex a partition/AdvFS setup?&lt;BR /&gt;&lt;BR /&gt;How about cloning the data to system disk first. Make sure everything is there. And make a (tape?) backup.&lt;BR /&gt;&lt;BR /&gt;Now clone (dd) the whole system disk with the data copy to the old data disk.&lt;BR /&gt;Tweak the /etc/fstab files on both.&lt;BR /&gt;Try a test boot of the second (old data - only) drive.&lt;BR /&gt;Reboot to the original system disk and point the daya mounitpoint/domains to the new location on the second drive. Use the second drive for data. You may want to play with the unused swap partition on the second dirve for /temp or such, or just as additional swap space (and go eager, if currently lazy).&lt;BR /&gt;Clone copies of live system files (/etc, /sbin/init...) to (savesets) on the other (data) drive every so often.&lt;BR /&gt;Clone changed data back to the system drive as needed.&lt;BR /&gt;&lt;BR /&gt;Just some thoughts!&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jan 2007 12:17:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/tru64-hdd-clone-image/m-p/3926343#M19567</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-01-15T12:17:37Z</dc:date>
    </item>
  </channel>
</rss>

