Sponsored Content
Operating Systems Solaris Migrate VxVM boot disks to higher capacity disk Post 302288731 by incredible on Tuesday 17th of February 2009 11:35:43 PM
Old 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

Can not increase capacity of the vg using raid5 with ssa disks

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

Mount points of available Vxvm disks

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

( VxVM ) How to add the removed disk back to previous disk group

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

Command to find the failed disks in SVM and VxVM

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

how to create multiple-boot system with disks mirrored(RAID1+0) and disk alone

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

vxvm root disk booting problem - solved with boot -a. How?

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

how to find out disk capacity

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

Disk Capacity Shell Script

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

Unable to boot from mirror disk on x86 server configured under VxVM

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

Removing a VxVM disk from a Disk Group

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
installboot(1M) 														   installboot(1M)

NAME
installboot - install bootblocks in a disk partition SYNOPSIS
installboot bootblk raw-disk-device The boot(1M) program, ufsboot, is loaded from disk by the bootblock program which resides in the boot area of a disk partition. The ufs boot objects are platform-dependent, and reside in the /usr/platform/platform-name/lib/fs/ufs directory. The platform name can be found using the -i option of uname(1). The installboot utility is a SPARC only program. It is not supported on the architecture. users should use installgrub(1M) instead. bootblk The name of the bootblock code. raw-disk-device The name of the disk device onto which the bootblock code is to be installed; it must be a character device which is read- able and writable. Naming conventions for a SCSI or IPI drive are c?t?d?s? and c?d?s? for an IDE drive. Example 1: Installing UFS Boot Block To install a ufs boot block on slice 0 of target 0 on controller 1 of the platform where the command is being run, use: example# installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c1t0d0s0 /usr/platform/platform-name/lib/fs/ufs directory where ufs boot objects reside. /platform/platform-name/ufsboot second level program to boot from a disk or CD See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ od(1), uname(1), boot(1M), init(1M), kadb(1M), kernel(1M), monitor(1M), reboot(1M), rpc.bootparamd(1M), init.d(4), attributes(5) WARNINGS
The installboot utility fails if the bootblk or openfirmware files do not exist or if the raw disk device is not a character device. 11 Apr 2005 installboot(1M)
All times are GMT -4. The time now is 05:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy