{"id":589,"date":"2013-03-21T09:09:56","date_gmt":"2013-03-21T08:09:56","guid":{"rendered":"http:\/\/www.glesir.de\/wp2\/?p=589"},"modified":"2018-09-24T19:12:29","modified_gmt":"2018-09-24T18:12:29","slug":"restoring-the-solaris-os-from-veritas-netbackup-software-updated","status":"publish","type":"post","link":"https:\/\/www.leppa.de\/wp2\/restoring-the-solaris-os-from-veritas-netbackup-software-updated\/","title":{"rendered":"Restoring the Solaris OS From VERITAS NetBackup Software (Updated)"},"content":{"rendered":"<p>http:\/\/192.9.172.90\/bigadmin\/content\/submitted\/restore_netbackup.html<\/p>\n<p>&nbsp;<\/p>\n<p><i>Bradley T. Webb, February 2007<\/i><\/p>\n<p><b>Note:<\/b> This is a much simpler, revised method, resubmitted after the original document was published in August 2004.<\/p>\n<p><b>Contents:<\/b><\/p>\n<ul>\n<li>Overview of the Basic Method<\/li>\n<li>Information You Need Before Starting<\/li>\n<li>Example Instructions to Set Up a Basic JumpStart Boot<\/li>\n<li>Prepare Your Client&#8217;s OpenBoot PROM Environment<\/li>\n<li>Boot Up the Client From JumpStart<\/li>\n<li>An Alternative Method to Boot Your Client From a Solaris Boot CD-ROM<\/li>\n<li>Whichever Method You Booted From, Prepare the Client Environment<\/li>\n<li>Enable Your Client to Share Disk Partitions Using NFS<\/li>\n<li>Determine the Real Disk Name<\/li>\n<li>Reformat Your Disks<\/li>\n<li>Mount the First File System on <code>\/tmp\/disk<\/code>, Share It Out With NFS, and Mount It Onto the Media Server<\/li>\n<li>Restore the Operating System From VERITAS NetBackup Software<\/li>\n<li>Disable Any Disk Mirroring Before Rebooting<\/li>\n<li>Make the Disk Bootable<\/li>\n<li>About the Author<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h5><a name=\"1\"><\/a>Overview of the Basic Method<\/h5>\n<p>The situation is that you need to restore the Solaris Operating System on your client&#8217;s server system disk for whatever reason, and I assume that you are unable to boot normally from the Solaris system. I also assume that you have a backup of your client&#8217;s operating system on VERITAS NetBackup.<\/p>\n<p>You are going to boot your client up from CD-ROM or JumpStart, and use NFS to share the disk partitions out, then mount them on a NetBackup Media Server, and restore your operating system files into the Media Server mount point. This will effectively restore the operating system onto your client&#8217;s system disk.<\/p>\n<p>Note that by default it is not possible to share partitions natively through NFS when booting from CD-ROM or JumpStart.<\/p>\n<p>You can choose either method to boot up, but in any case it is probably useful to follow the steps for preparing the OpenBoot PROM (OBP) environment.<\/p>\n<p>&nbsp;<\/p>\n<h5><a name=\"2\"><\/a>Information You Need Before Starting<\/h5>\n<p>You will need to have this information on hand:<\/p>\n<ul>\n<li>The IP and subnet mask of the client system you are going to rebuild<\/li>\n<li>The client&#8217;s MAC address<\/li>\n<li>The interface card that connects to the subnet from which you will boot using the JumpStart server<\/li>\n<li>The IP address of the JumpStart server<\/li>\n<li>The partitions that each of the client&#8217;s file systems resided on and the partition size<\/li>\n<li>The IP of the VERITAS NetBackup Media Server from which you are going to restore<\/li>\n<li>The address of the router on the client&#8217;s subnet that will allow the client to reach the NetBackup Media Server (if it is on a different subnet)<\/li>\n<\/ul>\n<p>For the purposes of this document, the JumpStart server&#8217;s IP is 10.0.0.1 and the client has an IP of 10.0.0.2, and a subnet mask of 255.255.255.0. The NetBackup Media Server&#8217;s IP is 10.1.1.1.<\/p>\n<p>&nbsp;<\/p>\n<h5><a name=\"3\"><\/a>Example Instructions to Set Up a Basic JumpStart Boot<\/h5>\n<p>You can skip this step if you are booting from a CD-ROM.<\/p>\n<p>I assume here that if you boot from JumpStart, the server has a router address that allows your client to reach the NetBackup Media Server. If that is not the case, see the section on booting from a CD-ROM for the commands to set up routing: An Alternative Method to Boot Your Client From a Solaris Boot CD-ROM.<\/p>\n<p>On the JumpStart server, edit the <code>\/etc\/ethers<\/code> file so it contains the MAC address of your client&#8217;s system. (The MAC address is displayed with the <code>banner<\/code> command from the OBP on the client.)<\/p>\n<p>Next, edit the <code>\/etc\/hosts<\/code> file so that it contains the client&#8217;s host name and its IP. (The client&#8217;s IP is the same subnet as the JumpStart server and should be on the backup LAN network.)<\/p>\n<p>Then go to the <code>tools<\/code> directory of the JumpStart client and run the <code>add_install_client<\/code> command, as in the following example:<\/p>\n<pre># cd  \/jumpstart\/solaris8\/february2002\/Solaris_8\/Tools\r\n# .\/add_install_client client_1 sun4u<\/pre>\n<p><i>Important note:<\/i> You must share the NFS JumpStart files from the JumpStart server as <i>read only<\/i>, (<code> -o ro<\/code>), or the JumpStart configuration will become corrupted. For more details, please see the SunSolve document SRDB ID: 22979 (editor&#8217;s note: available to registered SunSolve users with a valid Sun Service Plan).<\/p>\n<p>Thus:<\/p>\n<pre>share -F nfs -o ro,anon=0 \/jumpstart<\/pre>\n<p>&nbsp;<\/p>\n<h5><a name=\"4\"><\/a>Prepare Your Client&#8217;s Open Boot PROM Environment<\/h5>\n<p>From the OBP, you need to know which interface you will boot from, and create an alias to its hardware path. If needed, you can run the following commands to see which interfaces are connected to something at the other end:<\/p>\n<pre>OK watch-net-all<\/pre>\n<p>To display any current aliases for network devices, use <code>OK devalias<\/code>.<\/p>\n<p>To set up a network device alias name (for the interface on the JumpStart backup LAN) do the following:<\/p>\n<pre>OK show-nets<\/pre>\n<p>This lists the interfaces. Select the one you want (for example, <code>b<\/code>).<\/p>\n<pre>OK nvalias jump-nic  ctrl+y<\/pre>\n<p>This creates the alias called <code>jump-nic<\/code>. (<code>ctrl + y<\/code> pastes in the interface you selected.)<\/p>\n<p>At this stage you need to make sure your chosen interface will use the MAC that you got from the banner command.<\/p>\n<pre>OK printenv use-local-mac-address?<\/pre>\n<p>If it shows as <code>true<\/code>, change it to <code>false<\/code>. (You can change it back after the restore.)<\/p>\n<pre>OK setenv use-local-mac-address? false<\/pre>\n<p>Next, I recommend setting <code>auto-boot?<\/code> to <code>false<\/code> in case you have problems:<\/p>\n<pre>OK setenv auto-boot? false<\/pre>\n<p>&nbsp;<\/p>\n<h5><a name=\"5\"><\/a>Boot Up the Client From JumpStart<\/h5>\n<p>Use <code>OK boot jump-nic -s<\/code> or <code>OK boot net -s<\/code>, and wait for the <code>#<\/code> prompt.<\/p>\n<p>&nbsp;<\/p>\n<h5><a name=\"6\"><\/a>An Alternative Method to Boot Your Client From a Solaris Boot CD-ROM<\/h5>\n<p>Use <code>OK boot cdrom -s<\/code> and wait for the <code>#<\/code> prompt.<\/p>\n<p>If you booted from a CD-ROM, on the client, run the commands necessary to configure the appropriate IP, netmask, and routing.<\/p>\n<pre># ifconfig hme0 plumb 10.0.0.2 up netmask 255.255.255.0 broadcast +<\/pre>\n<p>If your media server is on a different network, add a route in (according to the following example). Here, <code>10.0.0.254<\/code> is the router that you can use to reach the media server, with the destination as the IP address of <code>10.1.1.1<\/code>.<\/p>\n<pre># route add net 10.1.1.1  10.0.0.254 1<\/pre>\n<p>&nbsp;<\/p>\n<h5><a name=\"7\"><\/a>Whichever Method You Booted From, Prepare the Client Environment<\/h5>\n<p>On the client, type the following commands:<\/p>\n<pre># stty erase ^H\r\n# exec ksh -o vi \r\n# PS1='$PWD&gt; '\r\n# export TERM=vt100<\/pre>\n<p>I am assuming you have connected to your client through some sort of remote console, and it needs <code>vt100<\/code> rather than <code>sun<\/code> as a terminal type.<\/p>\n<p>If your client is connected to a switch that is set to run at 100 Mbit\/sec full duplex, you can change the duplex to be full, thus massively speeding up your restore time.<\/p>\n<p>If you have a more modern interface such as bge or ce, you will need to check the Sun documentation for the syntax to use.<\/p>\n<p>Determine the name of your interface with the following:<\/p>\n<pre># ifconfig -a<\/pre>\n<p>At this stage you should check that the subnet mask of your interface is correct. This is picked up from the subnet used for the same network range in <code>\/etc\/netmasks<\/code> on the JumpStart server.<\/p>\n<p>If you look closely you will see that the broadcast address is probably wrong (it may or may not affect the network connection), so you should correct it. Here is an example:<\/p>\n<pre># ifconfig hme0 broadcast +<\/pre>\n<p>This command determines the broadcast for you and corrects it on the fly.<\/p>\n<p>Next, create and run a script similar to the one shown next. Modify the <code>instance<\/code> and <code>dev name<\/code> to suit your system. If you are using bge interfaces you will need to refer to other documentation, as a different syntax is used.<\/p>\n<pre># vi \/tmp\/ndd<\/pre>\n<p>Add the following lines. (<b><i>Note:<\/i><\/b> This example is for the <code>hme<\/code> interface, <code>hme0<\/code>. <code>hme1<\/code> would be used for instance 1, and so on.)<\/p>\n<pre>ndd -set \/dev\/hme instance 0\r\nndd -set \/dev\/hme adv_100T4_cap 0\r\nndd -set \/dev\/hme adv_100fdx_cap 1\r\nndd -set \/dev\/hme adv_100hdx_cap 0\r\nndd -set \/dev\/hme adv_10fdx_cap 0\r\nndd -set \/dev\/hme adv_10hdx_cap 0\r\nndd -set \/dev\/hme adv_autoneg_cap 0\r\n\r\n# chmod 744 \/tmp\/ndd\r\n# \/tmp\/ndd<\/pre>\n<p>&nbsp;<\/p>\n<h5><a name=\"8\"><\/a>Enable Your Client to Share Disk Partitions Using NFS<\/h5>\n<p>You are going to make the <code>\/etc\/dfs<\/code> directory writable so that you can use NFS on the client to share out the disk partitions.<\/p>\n<pre># cd \/etc\r\n# find dfs | cpio -pdumv \/tmp\r\n# mount -F lofs \/tmp\/dfs \/etc\/dfs<\/pre>\n<pre># cd \/etc\/init.d\r\n# .\/rpc start\r\n# .\/nfs.client start<\/pre>\n<pre># vi \/etc\/dfs\/dfstab<\/pre>\n<p>Next, in the <code>\/etc\/dfs\/dfstab<\/code> file, put in a line similar to the following:<\/p>\n<pre>share  -F nfs  -o rw,anon=0 -d \"client restore\"  \/tmp\/disk<\/pre>\n<p>Note that in this case it is <code>READ \/ WRITE ( -o rw )<\/code>, as you want to use NFS to share the disk partition to which you are going to restore.<\/p>\n<p>Now that the <code>dfs<\/code> directory is mounted in the writeable swap file system (<code>\/tmp<\/code> on your client), <code>dfstab<\/code> and <code>sharetab<\/code> are writeable files. This allows you to share disk partitions from your client using NFS, even though the directory is read only by default when the client is booted from CD-ROM or JumpStart. <b><i>Note<\/i><\/b>: The boot directory on the JumpStart server is actually <code>\/<\/code> (root) on your client.<\/p>\n<p>In the <code>\/tmp<\/code> directory, create the mount point you will share your disk partitions from:<\/p>\n<pre># mkdir \/tmp\/disk\r\n# cd \/etc\/init.d\r\n# .\/nfs.server start\r\n# unshareall<\/pre>\n<p>The next step is very important. You will determine the real disk name of the root disk to which you are restoring.<\/p>\n<p>&nbsp;<\/p>\n<h5><a name=\"9\"><\/a>Determine the Real Disk Name<\/h5>\n<p><b><i>Important note:<\/i><\/b> If you are restoring a system with multiple disk controllers, when you boot from JumpStart or a CD-ROM, the controllers will almost certainly be probed in a different order than they would be probed when booting normally from UNIX. As a result, the controller names will be different. For example, <code>c2t0d0<\/code>, when booted from JumpStart, could refer to <code>c1t0d0<\/code> booted from UNIX. To get the real device name, you need to issue the <code>devalias<\/code> command from the <code>OK<\/code> prompt. This will display the hardware path of the boot device and you can compare it to the output of the <code>format<\/code> command.<\/p>\n<p>Here is an example:<\/p>\n<p>1. While booted from JumpStart, issue the appropriate break signal (<code>stop+A<\/code>, or the equivalent, according to your connection type) to go to the <code>ok<\/code> prompt.<\/p>\n<p>2. <code>devalias<\/code> shows something like the following:<\/p>\n<pre>rootdisk         \/pci@8,600000\/SUNW,qlc@4\/fp@0,0\/disk@0,0\r\nrootmirror         \/pci@8,600000\/SUNW,qlc@4\/fp@0,0\/disk@1,0<\/pre>\n<p>3. <code>format<\/code> would show the following when booted to full UNIX:<\/p>\n<pre>AVAILABLE DISK SELECTIONS:\r\n       0. c1t0d0 &lt;SUN36G cyl 24620 alt 2 hd 27 sec 107&gt;\r\n          \/pci@8,600000\/SUNW,qlc@4\/fp@0,0\/ssd@w21000004cf7f2c6f,0\r\n       1. c1t1d0 &lt;SUN36G cyl 24620 alt 2 hd 27 sec 107&gt;\r\n          \/pci@8,600000\/SUNW,qlc@4\/fp@0,0\/ssd@w21000004cf8febe7,0<\/pre>\n<p>This is what <code>format<\/code> shows when booted from the JumpStart server:<\/p>\n<pre>AVAILABLE DISK SELECTIONS:\r\n       0. c1t0d0 &lt;SUN36G cyl 24620 alt 2 hd 27 sec 107&gt;\r\n          \/pci@8,700000\/scsi@2\/sd@0,0\r\n       1. c1t1d0 &lt;SUN36G cyl 24620 alt 2 hd 27 sec 107&gt;\r\n          \/pci@8,700000\/scsi@2\/sd@1,0\r\n       2. c1t2d0 &lt;SUN36G cyl 24620 alt 2 hd 27 sec 107&gt;\r\n          \/pci@8,700000\/scsi@2\/sd@2,0\r\n       3. c1t3d0 &lt;SUN36G cyl 24620 alt 2 hd 27 sec 107&gt;\r\n          \/pci@8,700000\/scsi@2\/sd@3,0\r\n       4. c1t4d0 &lt;SUN36G cyl 24620 alt 2 hd 27 sec 107&gt;\r\n          \/pci@8,700000\/scsi@2\/sd@4,0\r\n       5. c2t0d0 &lt;SUN36G cyl 24620 alt 2 hd 27 sec 107&gt;\r\n          \/pci@8,600000\/SUNW,qlc@4\/fp@0,0\/ssd@w21000004cf7f2c6f,0\r\n       6. c2t1d0 &lt;SUN36G cyl 24620 alt 2 hd 27 sec 107&gt;\r\n          \/pci@8,600000\/SUNW,qlc@4\/fp@0,0\/ssd@w21000004cf8febe7,0<\/pre>\n<p>4. Under JumpStart, the root disk you need to restore to is <code>c2t0d0<\/code>.<\/p>\n<p>Because you are using fibre-attached internal disks, this example does not show you everything you need to know. Although the <code>devalias<\/code> controller path matches the <code>format<\/code> controller path, it does not very effectively translate Fibre WWNs to the device ID name of <code>devalias<\/code> output. However, it should be obvious that under a JumpStart boot, <code>disk@0,0<\/code> and <code>disk@0,1<\/code> relate to <code>c2t0d0<\/code> and <code>c2t1d0<\/code>, respectively. (Note that I did not show <code>c2t1d0<\/code> in the preceding JumpStart <code>format<\/code> printout.)<\/p>\n<p>&nbsp;<\/p>\n<h5><a name=\"10\"><\/a>Reformat Your Disks<\/h5>\n<p>Now use the format program to reformat your disk using the same partition sizes as the original system had, or use suitable alternative sizes.<\/p>\n<p>Also, note that if you had your root disk mirrored under VERITAS Volume Manager, and you are restoring to the original system disk, due to the way VERITAS repartitions the disk, you will definitely have to reformat the original disk and reinstate VERITAS mirroring later on.<\/p>\n<p>When you have reformatted the disk, create file systems on it.<\/p>\n<pre># for i in 0 3 4 5\r\ndo\r\necho y | newfs \/dev\/rdsk\/c0t0d0s$i\r\ndone<\/pre>\n<p>&nbsp;<\/p>\n<h5><a name=\"11\"><\/a>Mount the First File System on <code>\/tmp\/disk<\/code>, Share It Out With NFS, and Mount It Onto the Media Server<\/h5>\n<pre># mount -F ufs \/dev\/dsk\/c0t0d0s0 \/tmp\/disk\r\n# shareall<\/pre>\n<p>Now log on to the VERITAS NetBackup Media Server as root, and mount the client&#8217;s NFS share on it.<\/p>\n<pre># cd \/tmp\r\n# mkdir client_1<\/pre>\n<p><i>(The host name of your client)<\/i><\/p>\n<pre># mount -F nfs 10.0.0.2:\/tmp\/disk \/tmp\/client_1\r\n# ls -ail \/tmp\/client_1<\/pre>\n<p>Check that you can see a <code>lost+found<\/code> directory to confirm that you have actually mounted the remote share.<\/p>\n<p>&nbsp;<\/p>\n<h5><a name=\"12\"><\/a>Restore the Operating System From VERITAS NetBackup Software<\/h5>\n<p><b><i>Very important note:<\/i><\/b> On all versions of the VERITAS NetBackup software, when you are restoring files there will be an option to <code>rename hard and soft links<\/code>. You <b><i>must<\/i><\/b> select <code>rename hard links<\/code> and deselect <code>rename soft links<\/code>. If you get these options wrong, you will lose absolute path symbolic links and your restore will be invalid.<\/p>\n<p>From your machine, using Exceed or some other XWindows client, log onto the NetBackup master server as root. Then do the following (where <code>ip:0<\/code> is your machine&#8217;s IP address):<\/p>\n<pre># cd \/usr\/openv\/netbackup\/bin\r\n# export DISPLAY=your_pc's_ip:0<\/pre>\n<p><b><i>Note:<\/i><\/b> Using <code>start<\/code>, <code>run<\/code>, <code>cmd<\/code>, and typing <code>ipconfig<\/code> will display your machine&#8217;s IP.<\/p>\n<p>If you are restoring from VERITAS NetBackup version 3.4, I suggest using the <code>xnb<\/code> interface to run your commands.<\/p>\n<pre># .\/xnb&amp;<\/pre>\n<p>However, the following example is for VERITAS NetBackup 4.5. Please note that if you are using VERITAS NetBackup 3.4, you need to make selections that will achieve equivalent results to the example I have given for version 4.5.<\/p>\n<p>For VERITAS NetBackup version 4.5, I recommend using the <code>jnbSA<\/code> interface:<\/p>\n<pre># .\/jnbSA&amp;<\/pre>\n<p>Log in to the GUI as root and enter the root password when prompted.<\/p>\n<p><b>Make the Initial Selections and List the Backup You Are Going to Restore<\/b><\/p>\n<ol>\n<li>In the left pane, click <code>backup restore and archive<\/code>. Then, in the right pane, select the <code>restore<\/code> tab and click on the hand symbol, located at the top right side of the window.<\/li>\n<li>On the <code>netbackup server<\/code> tab, highlight the master server you need and click <code>make current<\/code>. (<b><i>Note:<\/i><\/b> If needed, type in the server name, then click <code>add<\/code>.)<\/li>\n<li>On the <code>source client<\/code> tab, do the same to select the name of the client backup that you are going to restore, click <code>add<\/code>, type in the client name, highlight it, and select <code>make current<\/code>.<\/li>\n<li>On the <code>destination<\/code> tab, repeat the previous steps to select the media server where you have mounted the NFS share of the client&#8217;s root file system. Click <code>okay<\/code> to exit back to the previous window.<\/li>\n<li>Now that you are back in the previous window, click the dropdown arrow, and select <code>normal backup<\/code>. Next click <code>browse directory<\/code> and type in the directory you need to restore. (The first time around, the directory will be <code>\/<\/code>.)<\/li>\n<li>On the far right of the <code>browse directory<\/code> there are some icons. Hover the mouse over the icons to see their names, if needed. You will probably only need to click the icon for <code>show most recent backups<\/code>.<\/li>\n<li>Click the <code>refresh<\/code> icon to display your results. This should list all the files from the most recent full (and possibly differential) backup for your client.<\/li>\n<\/ol>\n<p><b>Select Files and Restore Them<\/b><\/p>\n<p>1. First, deselect any previous file selections by removing any checks. Then select the appropriate directory by checking the box in the <code>directory structure pane<\/code> window. (You will select either <code>\/<\/code>, <code>\/var<\/code>, <code>\/home<\/code>, or whatever other partitions or mount points you have, according to the partition you are currently restoring.)<\/p>\n<p>2. Now click the <code>restore<\/code> button at the bottom right side of the display. Select <code>restore to a different location<\/code>. If needed, type <code>\/<\/code> as the source directory. (In later steps this would be <code>\/var<\/code> or <code>\/home<\/code>.) In the <code>destination directory<\/code>, type in your mount point on the media server, for example, <code>\/tmp\/client_1<\/code>.<\/p>\n<p>Note that when restoring <code>\/var<\/code>, the source directory would be <code>\/var<\/code> and the destination directory will remain <code>\/tmp\/client_1<\/code>.<\/p>\n<p><b><i>Very important note:<\/i><\/b> As stated previously, on all versions of the VERITAS NetBackup software, when you are restoring files there will be an option to <code>rename hard and soft links<\/code>. You must select <code>rename hard links<\/code> and deselect <code>rename soft links<\/code>. If you get these options wrong, you will lose absolute path symbolic links and your restore will be invalid.<\/p>\n<p>3. Now select <code>restore directories without crossing mount points<\/code> and make sure that <code>overwrite existing files<\/code> has <b><i>not<\/i><\/b> been selected.<\/p>\n<p>4. Click <code>start restore<\/code> and select <code>yes<\/code> to view progress.<\/p>\n<p><b>Unmount and Unshare File Systems to Prepare for the Next Cycle<\/b><\/p>\n<ol>\n<li>When the restore is finished, unmount the file system on the media server.<\/li>\n<\/ol>\n<pre># umount \/tmp\/ client_1<\/pre>\n<ol>\n<li>Go back to the client <code>client_1-bu<\/code> and do the following:\n<pre># unshareall\r\n# umount \/tmp\/disk<\/pre>\n<\/li>\n<\/ol>\n<p><b>Repeat<\/b><\/p>\n<p>Now go back and repeat the following three steps:<\/p>\n<ol>\n<li>Mount the next partition on <code>\/tmp\/disk<\/code> on the client. Again type <code>shareall<\/code>. Then go to the media server and NFS mount the client share again. Here is an example:<\/li>\n<\/ol>\n<pre># mount -F ufs \/dev\/dsk\/c0t0d0s3 \/tmp\/disk\r\n# shareall<\/pre>\n<ol>\n<li>Work through the &#8222;Select the Files and Restore Them&#8220; section again.<\/li>\n<li>Work through the &#8222;Unmount and Unshare File Systems to Prepare for the Next Cycle&#8220; section again.<\/li>\n<\/ol>\n<p>Repeat this process for the appropriate slices until you have restored all the file systems required.<\/p>\n<p>After all restores are completed, make the disk bootable.<\/p>\n<p><b>Working From the Restored Client<\/b><\/p>\n<p>After the process is completed, you need to install the boot block to make the disk bootable. To do so, mount slice <code>0<\/code> onto <code>\/tmp\/disk<\/code> again.<\/p>\n<p>Now run the following command (and note that broken line should be all on one line when you type it):<\/p>\n<pre>\/tmp\/disk\/usr\/sbin\/installboot\r\n\/tmp\/disk\/usr\/platform\/`uname -i`\/lib\/fs\/ufs\/bootblk \\\r\ndev\/rdsk\/c0t0d0s0<\/pre>\n<p>&nbsp;<\/p>\n<h5><a name=\"13\"><\/a>Disable Any Disk Mirroring Before Rebooting<\/h5>\n<p>While the root partition is still mounted, before rebooting the client you need to disable the disk mirroring (such as mirroring with Solstice DiskSuite software). However, the following example is for unmirroring a disk mirrored with VERITAS Volume Manager.<\/p>\n<p>Consult your Sun documentation if your disk was mirrored with Solstice DiskSuite.<\/p>\n<p>Type the following command:<\/p>\n<pre># cd \/tmp\/disk\/etc\r\n# vi system<\/pre>\n<p>Comment out all occurrences of the following two lines:<\/p>\n<pre>rootdev:\/pseudo\/vxio@0:0\r\nset vxio:vol_rootdev_is_volume=1<\/pre>\n<p>Type the following:<\/p>\n<pre># vi vfstab<\/pre>\n<p>Change it so that all VxVM volumes are commented out and the <code>O\/S<\/code> slices are referred to by their native <code>dsk<\/code> and <code>rdsk<\/code> device names. This usually can be accomplished with the following:<\/p>\n<pre># cp vfstab vfstab.vx\r\n# cp vfstab.prevm vfstab<\/pre>\n<p><b><i>Note:<\/i><\/b> It is assumed that you have laid out your disk partitions for the restore in the same way they were laid out when the system was originally built. If this is not the case, edit the file and adjust any mount points as needed.<\/p>\n<p>Run the following:<\/p>\n<pre># cd vx\/reconfig.d\/state.d\r\n# rm *\r\n# touch install-db<\/pre>\n<p>&nbsp;<\/p>\n<h5><a name=\"14\"><\/a>Make the Disk Bootable<\/h5>\n<p>Unmount all disk slices and run <code>fsck -y<\/code> on them to ensure the sanity of the file systems.<\/p>\n<pre># for i in 0 3 4 5 \r\ndo\r\nfsck -y \/dev\/rdsk\/c0t0d0s$i\r\ndone<\/pre>\n<p>Shut down the client and boot up.<\/p>\n<pre># halt<\/pre>\n<p>Then, from the OBP, type:<\/p>\n<pre>boot<\/pre>\n<p>After booting up from your successfully restored system, reinstate the disk mirroring as appropriate, and carry out any other work as necessary, such as copying additional mount entries to <code>\/etc\/vfstab<\/code> from the original <code>vfstab.vx<\/code> file.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/192.9.172.90\/bigadmin\/content\/submitted\/restore_netbackup.html &nbsp; Bradley T. Webb, February 2007 Note: This is a much simpler, revised method, resubmitted after the original document was published in August 2004. Contents: Overview of the Basic Method Information You Need Before Starting Example Instructions to Set Up a Basic JumpStart Boot Prepare Your Client&#8217;s OpenBoot PROM Environment Boot Up the Client [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[249],"tags":[186,176,184,103,185],"class_list":["post-589","post","type-post","status-publish","format-standard","hentry","category-solaris","tag-dr","tag-netbackup","tag-restore","tag-solaris","tag-unix"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Restoring the Solaris OS From VERITAS NetBackup Software (Updated) - Apfelblog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.leppa.de\/wp2\/restoring-the-solaris-os-from-veritas-netbackup-software-updated\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Restoring the Solaris OS From VERITAS NetBackup Software (Updated) - Apfelblog\" \/>\n<meta property=\"og:description\" content=\"http:\/\/192.9.172.90\/bigadmin\/content\/submitted\/restore_netbackup.html &nbsp; Bradley T. Webb, February 2007 Note: This is a much simpler, revised method, resubmitted after the original document was published in August 2004. Contents: Overview of the Basic Method Information You Need Before Starting Example Instructions to Set Up a Basic JumpStart Boot Prepare Your Client&#8217;s OpenBoot PROM Environment Boot Up the Client [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.leppa.de\/wp2\/restoring-the-solaris-os-from-veritas-netbackup-software-updated\/\" \/>\n<meta property=\"og:site_name\" content=\"Apfelblog\" \/>\n<meta property=\"article:published_time\" content=\"2013-03-21T08:09:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-09-24T18:12:29+00:00\" \/>\n<meta name=\"author\" content=\"Jens Appel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jens Appel\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"17\u00a0Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.leppa.de\\\/wp2\\\/restoring-the-solaris-os-from-veritas-netbackup-software-updated\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.leppa.de\\\/wp2\\\/restoring-the-solaris-os-from-veritas-netbackup-software-updated\\\/\"},\"author\":{\"name\":\"Jens Appel\",\"@id\":\"https:\\\/\\\/www.leppa.de\\\/wp2\\\/#\\\/schema\\\/person\\\/4ff0549059f01ca0953cd95d2f373f47\"},\"headline\":\"Restoring the Solaris OS From VERITAS NetBackup Software (Updated)\",\"datePublished\":\"2013-03-21T08:09:56+00:00\",\"dateModified\":\"2018-09-24T18:12:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.leppa.de\\\/wp2\\\/restoring-the-solaris-os-from-veritas-netbackup-software-updated\\\/\"},\"wordCount\":2645,\"keywords\":[\"dr\",\"netbackup\",\"restore\",\"solaris\",\"unix\"],\"articleSection\":[\"Solaris\"],\"inLanguage\":\"de\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.leppa.de\\\/wp2\\\/restoring-the-solaris-os-from-veritas-netbackup-software-updated\\\/\",\"url\":\"https:\\\/\\\/www.leppa.de\\\/wp2\\\/restoring-the-solaris-os-from-veritas-netbackup-software-updated\\\/\",\"name\":\"Restoring the Solaris OS From VERITAS NetBackup Software (Updated) - Apfelblog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.leppa.de\\\/wp2\\\/#website\"},\"datePublished\":\"2013-03-21T08:09:56+00:00\",\"dateModified\":\"2018-09-24T18:12:29+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.leppa.de\\\/wp2\\\/#\\\/schema\\\/person\\\/4ff0549059f01ca0953cd95d2f373f47\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.leppa.de\\\/wp2\\\/restoring-the-solaris-os-from-veritas-netbackup-software-updated\\\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.leppa.de\\\/wp2\\\/restoring-the-solaris-os-from-veritas-netbackup-software-updated\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.leppa.de\\\/wp2\\\/restoring-the-solaris-os-from-veritas-netbackup-software-updated\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.leppa.de\\\/wp2\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Restoring the Solaris OS From VERITAS NetBackup Software (Updated)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.leppa.de\\\/wp2\\\/#website\",\"url\":\"https:\\\/\\\/www.leppa.de\\\/wp2\\\/\",\"name\":\"Apfelblog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.leppa.de\\\/wp2\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.leppa.de\\\/wp2\\\/#\\\/schema\\\/person\\\/4ff0549059f01ca0953cd95d2f373f47\",\"name\":\"Jens Appel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/81dac5b63aa0eaab2fd31582d1f97fa50c7ec3d382260c9d336357f32f471783?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/81dac5b63aa0eaab2fd31582d1f97fa50c7ec3d382260c9d336357f32f471783?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/81dac5b63aa0eaab2fd31582d1f97fa50c7ec3d382260c9d336357f32f471783?s=96&d=mm&r=g\",\"caption\":\"Jens Appel\"},\"sameAs\":[\"https:\\\/\\\/www.leppa.de\"],\"url\":\"https:\\\/\\\/www.leppa.de\\\/wp2\\\/author\\\/dix\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Restoring the Solaris OS From VERITAS NetBackup Software (Updated) - Apfelblog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.leppa.de\/wp2\/restoring-the-solaris-os-from-veritas-netbackup-software-updated\/","og_locale":"de_DE","og_type":"article","og_title":"Restoring the Solaris OS From VERITAS NetBackup Software (Updated) - Apfelblog","og_description":"http:\/\/192.9.172.90\/bigadmin\/content\/submitted\/restore_netbackup.html &nbsp; Bradley T. Webb, February 2007 Note: This is a much simpler, revised method, resubmitted after the original document was published in August 2004. Contents: Overview of the Basic Method Information You Need Before Starting Example Instructions to Set Up a Basic JumpStart Boot Prepare Your Client&#8217;s OpenBoot PROM Environment Boot Up the Client [&hellip;]","og_url":"https:\/\/www.leppa.de\/wp2\/restoring-the-solaris-os-from-veritas-netbackup-software-updated\/","og_site_name":"Apfelblog","article_published_time":"2013-03-21T08:09:56+00:00","article_modified_time":"2018-09-24T18:12:29+00:00","author":"Jens Appel","twitter_card":"summary_large_image","twitter_misc":{"Verfasst von":"Jens Appel","Gesch\u00e4tzte Lesezeit":"17\u00a0Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.leppa.de\/wp2\/restoring-the-solaris-os-from-veritas-netbackup-software-updated\/#article","isPartOf":{"@id":"https:\/\/www.leppa.de\/wp2\/restoring-the-solaris-os-from-veritas-netbackup-software-updated\/"},"author":{"name":"Jens Appel","@id":"https:\/\/www.leppa.de\/wp2\/#\/schema\/person\/4ff0549059f01ca0953cd95d2f373f47"},"headline":"Restoring the Solaris OS From VERITAS NetBackup Software (Updated)","datePublished":"2013-03-21T08:09:56+00:00","dateModified":"2018-09-24T18:12:29+00:00","mainEntityOfPage":{"@id":"https:\/\/www.leppa.de\/wp2\/restoring-the-solaris-os-from-veritas-netbackup-software-updated\/"},"wordCount":2645,"keywords":["dr","netbackup","restore","solaris","unix"],"articleSection":["Solaris"],"inLanguage":"de"},{"@type":"WebPage","@id":"https:\/\/www.leppa.de\/wp2\/restoring-the-solaris-os-from-veritas-netbackup-software-updated\/","url":"https:\/\/www.leppa.de\/wp2\/restoring-the-solaris-os-from-veritas-netbackup-software-updated\/","name":"Restoring the Solaris OS From VERITAS NetBackup Software (Updated) - Apfelblog","isPartOf":{"@id":"https:\/\/www.leppa.de\/wp2\/#website"},"datePublished":"2013-03-21T08:09:56+00:00","dateModified":"2018-09-24T18:12:29+00:00","author":{"@id":"https:\/\/www.leppa.de\/wp2\/#\/schema\/person\/4ff0549059f01ca0953cd95d2f373f47"},"breadcrumb":{"@id":"https:\/\/www.leppa.de\/wp2\/restoring-the-solaris-os-from-veritas-netbackup-software-updated\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.leppa.de\/wp2\/restoring-the-solaris-os-from-veritas-netbackup-software-updated\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.leppa.de\/wp2\/restoring-the-solaris-os-from-veritas-netbackup-software-updated\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.leppa.de\/wp2\/"},{"@type":"ListItem","position":2,"name":"Restoring the Solaris OS From VERITAS NetBackup Software (Updated)"}]},{"@type":"WebSite","@id":"https:\/\/www.leppa.de\/wp2\/#website","url":"https:\/\/www.leppa.de\/wp2\/","name":"Apfelblog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.leppa.de\/wp2\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":"Person","@id":"https:\/\/www.leppa.de\/wp2\/#\/schema\/person\/4ff0549059f01ca0953cd95d2f373f47","name":"Jens Appel","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/secure.gravatar.com\/avatar\/81dac5b63aa0eaab2fd31582d1f97fa50c7ec3d382260c9d336357f32f471783?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/81dac5b63aa0eaab2fd31582d1f97fa50c7ec3d382260c9d336357f32f471783?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/81dac5b63aa0eaab2fd31582d1f97fa50c7ec3d382260c9d336357f32f471783?s=96&d=mm&r=g","caption":"Jens Appel"},"sameAs":["https:\/\/www.leppa.de"],"url":"https:\/\/www.leppa.de\/wp2\/author\/dix\/"}]}},"_links":{"self":[{"href":"https:\/\/www.leppa.de\/wp2\/wp-json\/wp\/v2\/posts\/589","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.leppa.de\/wp2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.leppa.de\/wp2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.leppa.de\/wp2\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.leppa.de\/wp2\/wp-json\/wp\/v2\/comments?post=589"}],"version-history":[{"count":22,"href":"https:\/\/www.leppa.de\/wp2\/wp-json\/wp\/v2\/posts\/589\/revisions"}],"predecessor-version":[{"id":1133,"href":"https:\/\/www.leppa.de\/wp2\/wp-json\/wp\/v2\/posts\/589\/revisions\/1133"}],"wp:attachment":[{"href":"https:\/\/www.leppa.de\/wp2\/wp-json\/wp\/v2\/media?parent=589"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.leppa.de\/wp2\/wp-json\/wp\/v2\/categories?post=589"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.leppa.de\/wp2\/wp-json\/wp\/v2\/tags?post=589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}