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


 
Thread Tools Search this Thread
Operating Systems Solaris Unable to boot from mirror disk on x86 server configured under VxVM
# 1  
Old 09-11-2012
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.


Code:
vxplex -g rootdg dis var-02
vxplex -g rootdg dis swapvol-02
vxplex -g rootdg dis rootvol-02
vxprint -g rootdg
mount /dev/dsk/c1t5d0s0 /mnt
pwd
fsck -y /dev/dsk/c1t5d0s0
fsck -y /dev/dsk/c1t5d0s0
mount /dev/dsk/c1t5d0s0 /mnt

Mount the mirror disk in /mnt and take the backup of system and vfstab file .

Code:
# mount /dev/dsk/c1t0d0s0 /mnt
# cd /mnt/etc
# cp -p system system.date(Today date)
# cp -p vfstab vfstab.date(Today date)

Copy the vfstab.prevm file to the miirrord disk vfstab file .To make the disk bootable without Veritas.

Code:
#cp /mnt/etc/vfstab.prevm /mnt/etc/vfstab


bash-3.00# cat /mnt/etc/vfstab
#device         device          mount           FS      fsck    mount   mount
#to mount       to fsck         point           type    pass    at boot options
#
fd      -       /dev/fd fd      -       no      -
/proc   -       /proc   proc    -       no      -
/dev/dsk/c1t5d0s1       -       -       swap    -       no      -
/dev/dsk/c1t5d0s0       /dev/rdsk/c1t5d0s0      /       ufs     1       no      -
/dev/dsk/c1t5d0s5       /dev/rdsk/c1t5d0s5      /var    ufs     1       no      -
/devices        -       /devices        devfs   -       no      -
sharefs -       /etc/dfs/sharetab       sharefs -       no      -
ctfs    -       /system/contract        ctfs    -       no      -
objfs   -       /system/object  objfs   -       no      -
swap    -       /tmp    tmpfs   -       yes     -
bash-3.00#



bash-3.00# mount /dev/dsk/c1t5d0s0 /mnt
bash-3.00# cd /mnt/etc/vx/reconfig.d/state.d/
bash-3.00# cat root-done
bash-3.00# ls -l root-done
-rw-r--r--   1 root     root           0 Aug 30 18:02 root-done
bash-3.00# rm root-done
bash-3.00# touch install-db
bash-3.00# cd /etc/vx/reconfig.d/state.d/
bash-3.00# ls -l  root-done
-rw-r--r--   1 root     root           0 Aug 30 18:02 root-done
bash-3.00# ls -l install-db
install-db: No such file or directory
bash-3.00#

Note : Server is unable to boot from Mirror disk c1t5d0 when booted out of veritas.

Last edited by Corona688; 09-19-2012 at 10:10 PM..
# 2  
Old 09-19-2012
in /mnt/etc/system, what say the line rootdev?
# 3  
Old 01-17-2013
Have you checked VTOC. Is it same as before ?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 9 x86 check disk mirror status

We have Proliant DL380 G2 running Solaris 9 x86 There are 6 physical disks installed which I believe are mirrored at hardware level to 3 sets to present 3 disks to the OS. Is there any way to check the mirror status at OS level ? I am guessing not and it may need a trip to site as we have no... (4 Replies)
Discussion started by: frustrated1
4 Replies

2. HP-UX

Patch PHKL_31216 and PHCO_30698 HP-UX 11.11 for replace a LVM mirror boot disk

Hi, I have old server hp rp 3440 hp-ux 11.11. One mirrored disk is faulty. I need spesial patch PHKL_31216 and PHCO_30698, which give to correctly remove disk. Unfortunately I don't have access to hp support site. Please help me find it patch. regards,Andre (0 Replies)
Discussion started by: andre9
0 Replies

3. UNIX for Advanced & Expert Users

VxVM breaking mirror for migrating storage

We are in the process of migrating storage from one array to another. I know the commands I would use in LVM but I am not very familiar with VxVM. The goal is to attach the new LUNs from the new array and add them to the disk group. Then mirror the data online to these new LUNs using VxVM... (4 Replies)
Discussion started by: keelba
4 Replies

4. Solaris

Solved: Disk Unable to Boot

Update: The / file system (/dev/rdsk/c1t0d0s0) is being checked fsck unable to stat WARNING - unable to repair the / filesystem. Run fsck manually (fsck -F ufs /dev/rdsk/c1t0d0s0). Root password for system maintenance (control-d to bypass): I am unable to hit control-d to by pass. I... (50 Replies)
Discussion started by: br1an
50 Replies

5. HP-UX

What is the difference between DRD and Root Mirror Disk using LVM mirror ?

what is the difference between DRD and Root Mirror Disk using LVM mirror ? (3 Replies)
Discussion started by: maxim42
3 Replies

6. Solaris

Create a boot disk mirror on Solaris 10 x86

I’m setting up a boot disk mirror on Solaris 10 x86. I’m used to doing it on SPARC, where you can copy the partition table using fmthard. My x86 boot disk has 2 primary partitions, a Solaris one and a diagnostic one. Is there a way to copy those 2 primary partitions to the second disk without... (6 Replies)
Discussion started by: TKD
6 Replies

7. 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

8. OS X (Apple)

unable to boot into MAC OS X86

Hi friends I am newbiee to MACOS ,the thing is that i installed MAC OS X86 10.5.6 into my VAIO-VGN-CR343N series without any problem and after rebooting I was unable to boot into macos and tried options like -v -f but no progress..can somebody help me (1 Reply)
Discussion started by: srinivas2828
1 Replies

9. Solaris

Migrate VxVM boot disks to higher capacity disk

Hi, Im getting a downtime of 4 hrs to do porting of bootdisks. Currently, the system is running on Sf4800. 2 internal disk 36G connected to a SE3510 storage. We're getting 72G disks and we want to restore the OS from the current 36G to the 72G disk. System is under veritas volume manager ctrl.... (4 Replies)
Discussion started by: incredible
4 Replies

10. HP-UX

How to remove alternate boot disk (vg00) in mirror

How do we remove mirror (vg00) in itanium system having 11.23 version. (2 Replies)
Discussion started by: jeelans
2 Replies
Login or Register to Ask a Question