Ney Theodoro Medici Bermudes FilhoTrabalha como consultor da Sun Professional Services desde 2007, possui certificacoes de Administracao de Sistema Operacional (SCSA), Redes (SCNA) e Solaris Cluster 3.2 pela Sun e atualmente e estudande de mestrado do Departamente de Informatica da UFES (Universidade Federal do Espirito Santo).Tedesko Duda Deps AlmeidaConsultor da Sun Professional Services desde 2006, possui certificacoes de Administracao de Sistema Operacional (SCSA). Atua como lider tecnico na Sun Professional Services. Larga experiencia com Cluster, Veritas e Solaris. Remove the old path_to_inst file:# mv /mnt/etc/path_to_inst /mnt/etc/orig.path_to_instRemove all the old device links:# rm /mnt/dev/rdsk/c* ; rm /mnt/dev/dsk/c* ; rm /mnt/dev/rmt/*Rebuild the device structure using the devfsadm command:# devfsadm -r /mnt -p /mnt/etc/path_to_inst Procedimento muito util, quem usa Veritas fatalmente ira fazer isso um dia:Step-by-step procedure for ufsdump and ufsrestore of VM encapsulated root disk Document Body: PROCEDURE FOR UFSDUMP AND RESTORE OF VM ENCAPSULATED ROOT DISK assumptions: 1. /etc/vx/reconfig.d/disk.d/cxtxdx/vtoc has been recorded. OR: 2. A copy of the pre-encapsulation partition map has been recorded. 3. There is a local tape drive 4. Partitions are: / 0 swap 1 /usr 5 /var 6 /opt 7 Dump all filesystems to a single tape: Boot into single-user mode ok> boot -s As root: # ufsdump 0uf /dev/rmt/0n / # ufsdump 0uf /dev/rmt/0n /usr # ufsdump 0uf /dev/rmt/0n /var # ufsdump 0uf /dev/rmt/0 /opt The above commands will create four ufsdump files on the tape. SECTION 1- RESTORING FILESYSTEMS FROM TAPE IN THE EVENT OF A CATASTROPHIC ROOT DISK FAILURE USE THE FOLLOWING TO RESTORE THE FILESYSTEMS AND BOOT THE SYSTEM. The following is a quick routine for restoring your file system. This procedure assumes that you saved your root file system using ufsdump. This document also assumes that your root filesystem is on c0t3d0s0. 1. Load your Solaris CD-ROM into your CD-ROM player. 2. Boot the CDROM in single-user mode: ok boot cdrom -sw 3. When you get the Bourne shell prompt, repartition your root file system using the previously saved pre-encapsulation partition map. a. use "format" to partition your drive as it was before encapsulation /etc/vx/reconfig.d/disk.d/cxtxdx/vtoc holds this information b. use "newfs" to create a file system on c0t3d0s0 example" newfs /dev/rdsk/c0t3d0s0 4. Check your new root file system: # fsck /dev/rdsk/c0t3d0s0 5. Mount the root file system at your /a mount point: # mount /dev/dsk/c0t3d0s0 /a 6. Start your restore, but first change directory to the new root file system: a. cd /a b. ufsrestore rvf /dev/rmt/0 b. vxrestore -crvf /dev/rmt/0 7. When the restore has completed, remove the restore symbol table and unmount the new root partition: a. rm restoresymtable b. cd / c. umount /a 8. Check the new root partition one more time: # fsck /dev/rdsk/c0t3d0s0 9. Install the boot block: # For Solaris 2.5, 2.5.1, 2.6, 7, or 8 a. cd /usr/platform//lib/fs/ufs b. To get type uname -i. Or to make things even easier, embed it in the cd command like this: * cd /usr/platform/`uname -i`/lib/fs/ufs * Make sure you are using back quotes around the command. c. installboot bootblk /dev/rdsk/c0t3d0s0 To restore other filesystem partitions ( usr, var, etc...),