02-18-2009
Can you please check if the below steps are correct and if changes are need to be made further?
-Full OS backup is to be taken prior to activity
-Make a backup copy of /etc/vfstab file, comment out ossdg entries
-Identify the rootmirror disk using format
-set system eeprom to auto-boot false,
#eeprom auto-boot?=false
then
init 0 to bring system to ok> prompt
pull out the SE3510 FC connection cables
- Pull out rootmirror 36G HDD and insert 72G HDD
-Boot up the system using the rootdisk
- format new drive and label disk with appropriate partition sizing
(need confirmation from Ericson)
-newfs on the filesystems on the new 72G HDD
Newfs /dev/rdsk/c2t0d0s0
- mount root slice from the new HDD to a temp mount point
Mkdir /s0
Mount /dev/rdsk/c2t0d0s0 /s0
- perform ufsdump / ufsrestore for root partition
Ufsdump 0f - / | (cd /s0; ufsrestore rf -)
-when root partition is done with restoration, perform installboot bootblk on new disk
Cd /usr/platform/`uname -i`/lib/fs/ufs
Installboot bootblk /dev/rdsk/c2t0d0s0
Backup /etc/system file and /etc/vfstab
Touch /s0/etc/vx/reconfig.d/state.d/install-db
Vi /s0/etc/system :-(remove all rootdev statements)
Cp /s0/etc/vfstab.prevm /s0/etc/vfstab
- umount and remove the temp dirs created at step6
Umount /s0
- bring the system down to ok> prompt -> poweroff
-swap in new HDD to primary controller
-plug in FC cables
- boot the system to single user, check vfstab entries and clear filesystem errors (if any), format and check the cxtxdx
-replace the backup vfstab file with ossdg entries
- boot the system to multi-user
#vxiod set 10
#vxconfigd -m disable -k
#/usr/lib/vxvm/bin/vxencap rootdisk=c0t0d0
#init 0
Ok> boot
Verify using vxdisk list, vxdg list if the status is ok.
- slot in 2nd new HDD to secondary controller, make sure OS detects the disk, label the disk.
Devfsadm -C
#vxdctl enable
-use vxdiskadm -> choose option 4 (ensure VM detects as rootmirror not found) choose option 5 (to sync the rootmirror disk)
-vxtask list (monitor disk synchronization to complete)
10 More Discussions You Might Find Interesting
1. AIX
hi all,
i have an p620 server. it has 2 scsi 18gb disks for aix4.3 OS and 3 ssa disks for database and an serialRAID adapter. 3 ssa disks configured raid level 5.
to increase capacity of the datavg, i buy 2 ssa 18gb disks. but i can not add them to the existing datavg. i did the following... (1 Reply)
Discussion started by: tinhlx
1 Replies
2. Solaris
I have situation where I want to know about all the vxvm mount points information on my solaris box, because after rebooting the server the few mount points are not mounted automatically because they where not copied in /etc/vfstab.
So please help me out on the same.:( (0 Replies)
Discussion started by: nimish_mehta
0 Replies
3. Solaris
Previously , i remove the disk by
#vxdg -g testdg -k rmdisk testdg02
But i got error when i -k adddisk
bash-2.03# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t0d0s2 auto:none - - online invalid
c0t1d0s2 auto:none ... (1 Reply)
Discussion started by: waibabe
1 Replies
4. Solaris
How to find & replace bad disks in solaris & VXVM?plz
explain step by step? (2 Replies)
Discussion started by: xtreams
2 Replies
5. UNIX for Advanced & Expert Users
I have a HP proliant ML 570 G3 with two 146GB disk drives mirrored(RAID1+0)
windows server 2003 was installed on that disk.
I will add a disk.(scsi 300GB)
I will install Linux on that additional disk.
I want to create multiple-boot system.
Is it possible?
I wanna know how to create... (0 Replies)
Discussion started by: lifegeek
0 Replies
6. Solaris
Hi All,
We had a Sun Netra T1 go down the other day, the root disk was mirrored using vxvm. Upon boot from either disk, we had the following error appear:
WARNING: Error writing ufs log state
WARNING: ufs log for / changed state to Error
WARNING: Please umount(1M) / and run... (4 Replies)
Discussion started by: badoshi
4 Replies
7. AIX
Hi,
I would like to know how to find out disk capacity if it is assigned from the storage as a lun.
as per below command , I am unable to find out disk capacity.
$ bash
bash-3.00$ lspv
hdisk1 0001579a7fa3c086 None
$ lscfg -vl hdisk1
hdisk1 ... (8 Replies)
Discussion started by: manoj.solaris
8 Replies
8. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
I am pretty close I think, but stuck. I don't know how to send an email to the user specified on the command line, and I receive an error stating -ge expecting a unary value(lines... (14 Replies)
Discussion started by: polyglot0727
14 Replies
9. Solaris
Hi,
Can you help me on booting x86 server configured under VxVM. Server boots fine normally from both the disks but if I try to boot server from mirror disk without starting veritas, then it does not boot.
vxplex -g rootdg dis var-02
vxplex -g rootdg dis swapvol-02
vxplex -g rootdg dis... (2 Replies)
Discussion started by: milindphanse604
2 Replies
10. HP-UX
Hello all,
So I made a rookie mistake today. I forgot to remove my disk from my disk group, before running the following command:for i in `ioscan -fnN | awk /NO/'{print $3}'`
do
rmsf -H $i
done
I am trying to run the following command, but not having any luck obviously:vxdg -g dgvol1 rmdisk... (0 Replies)
Discussion started by: mrkejames2
0 Replies
LEARN ABOUT HPUX
vxvmconvert
vxvmconvert(1M) vxvmconvert(1M)
NAME
vxvmconvert - convert LVM volume groups to VxVM disk groups
SYNOPSIS
vxvmconvert
DESCRIPTION
vxvmconvert is a menu-driven program to convert an HP Logical Volume Manger (LVM) configuration to a Veritas Volume Manager configuration.
This man page is a brief overview of vxvmconvert. Refer to the Veritas Volume Manager Migration Guide for a detailed description before
using the conversion procedure.
The vxvmconvert script is interactive and prompts you for responses, supplying defaults where appropriate. There is a Help facility at
every prompt. Enter a question mark (?) at a prompt to display a context-sensitive help message.
With vxvmconvert you can identify LVM volume groups, list disks, analyze volume groups for conversion and complete the conversion of LVM
volume groups to VxVM disk groups.
LVM configurations are converted at the volume group level. All disks used in a volume group are converted together. You cannot use vxvm-
convert to convert unused LVM disks (those not part of an LVM volume group) to VxVM disks. To convert unused LVM disks, use pvremove to
take the disk out of LVM control, then initialize the disk for VxVM use by using vxdiskadm (see pvremove(1M) and vxdiskadm(1M) for more
information).
vxvmconvert changes disks within LVM volume groups to VxVM disks by replacing the areas of the disks used for LVM configuration information
and with the equivalent VxVM volume configuration information. Portions of the disks used for user data, such as file systems and data-
bases, are not affected by the conversion.
The conversion process changes the names by which your system refers to the logical storage, so must be done offline. No applications can
access data in the volume groups undergoing conversion. You must unmount file systems using those volumes and shut down any applications,
such as databases, that might use the volumes directly.
OPERATIONS
Analyze LVM Volume Groups for Conversion
Use this operation to analyze one or more LVM volume groups for conversion to use by VxVM. The analysis checks for problems that
can prevent the conversion from completing successfully. It calculates the space required to add volume group disks to a Volume
Manager disk group. More than one volume group may be entered at the prompt. A grep-like pattern may be used to select multiple
volume groups.
See the ``Limitations in Conversion'' section in the Volume Manager Migration Guide for more information.
Convert LVM Volume Groups to VxVM
Converts one or more LVM volume groups to one or more VxVM disk groups. This adds the disks to a VxVM disk group and replaces
existing LVM volumes with VxVM volumes.
vxvmconvert prompts you to name the VxVM disk group that replaces the LVM volume group being converted. A default is suggested
at the prompt. For example, if you are converting a volume group vg08, vxvmconvert renames it as dg08.
See to the sections ``Dealing with New Logical Volume Names'' and ``Tailoring your VxVM Configuration'' in the Volume Manager
Migration Guide for more information.
Rollback from VxVM to LVM
Rollback reverts VxVM disk groups to LVM volume groups. vxvmconvert provides a limited snapshot capability for the LVM metadata
in a converted volume group. A snapshot is a simple protection method to use during conversion.
Caution! Do not use this operation if the VxVM disk group was modified since the conversion.
See to the section ``Restoring LVM Volume Groups and Disaster Recovery'' in the Volume Manager Migration Guide for more informa-
tion.
List Disk Information
Displays information about the disks on a system. You can obtain detailed information about a disk by entering a specific disk
device address.
List LVM Volume Group Information
Listvg displays a list of LVM volume groups. You can obtain detailed information about an LVM volume group at a specific disk
device address.
SEE ALSO
pvremove(1M), vgcfgbackup(1M), vgrestore(1M), vxdisk(1M), vxdiskadd(1M), vxdiskadm(1M), vxintro(1M)
Veritas Volume Manager Migration Guide
VxVM 5.0.31.1 24 Mar 2008 vxvmconvert(1M)