Sponsored Content
Operating Systems Solaris Boot Solaris 10 from detached root mirrors Post 302453300 by gnom on Tuesday 14th of September 2010 07:45:07 PM
Old 09-14-2010
Here the steps I follow

- breaking the mirrors
Code:
metadetach d10 d12
metadetach d30 d32
metadetach d40 d42

- fsck the detached mirrors
Code:
fsck /dev/md/rdsk/d12
fsck /dev/md/rdsk/d32
fsck /dev/md/rdsk/d42

- Mount detached to modify /etc/system and /etc/vfstab
Code:
mount /dev/md/dsk/d12 /mnt

- Remove following line from /mnt/etc/system
Code:
rootdev:/pseudo/md@0:0,10...

- change following lines in /mnt/etc/vfstab
Code:
 /dev/md/dsk/d10  /dev/md/rdsk/d10  /     ufs  1  no
  /dev/md/dsk/d30  /dev/md/rdsk/d30  /var  ufs  1  no
  /dev/md/dsk/d40  /dev/md/rdsk/d40  /opt  ufs  1  no

To
Code:
 /dev/dsk/c2t500000E01998D020d0s0 /dev/rdsk/c2t500000E01998D020d0s0 /    ufs 1 no
  /dev/dsk/c2t500000E01998D020d0s3 /dev/rdsk/c2t500000E01998D020d0s3 /var ufs 1 no
  /dev/dsk/c2t500000E01998D020d0s4 /dev/rdsk/c2t500000E01998D020d0s4 /opt ufs 1 no

- Umount the Filesystem
Code:
umount /mnt

- Shut down the server for patching
- Patch the server
- Reboot the server
- a few days later attach the mirrors again

When the something happen during patching just boot from the mirror.

Last edited by gnom; 09-14-2010 at 08:50 PM.. Reason: Added boot
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Replacing root / boot files

Hi everybody, I am running SCO-V openserver platform running on P-100. How can I replace root / boot files ? I want to do this because, if my system is not getting booted or my root is corrupted, I want to just replace this with the back up taken or boot/root floppy. Usually I am restoring... (1 Reply)
Discussion started by: skant
1 Replies

2. Solaris

solaris boot problem boot error loading interpreter(misc/krtld)

When I installed the SOLARIS 10 OS first time, the desktop would not start up, this was because of network setup. Reinstalled worked. After a week due to some problem I had to reinstall OS, installation went fine and but when i reboot I get this error. cannot find mis/krtld boot error loading... (0 Replies)
Discussion started by: johncy_j
0 Replies

3. SCO

sco openserver 5.0.0 boot / root disk

Hi, I have an openserver 5.0.0 machine in the office. The sysad of that machine left years ago without leaving the password to anyone. I was wondering if someone has a copy of the boot / root diskettes (rescue) for this version? Or perhaps if anyone knows a download link / location in the... (0 Replies)
Discussion started by: marcpascual
0 Replies

4. Solaris

Solaris DiskSuite, boot from detached disk

Hi, I am running Solaris 8 on Sun server with 2 hard drives. I have configured mirroring on the system using DiskSuite tool in order to have the same data on both disks. Now I want to perform some software upgrade and I would like to use the second disk as a backup disk. This means taking this... (3 Replies)
Discussion started by: carlossg
3 Replies

5. Solaris

flar restore with svm mirrors failing to create boot image

In a Solaris9 environment I'm trying to restore flash archive (flar) with SVM mirrored devices to same server via jumpstart server and it is failing to create boot file and drops down to a command prompt in single user mode, metastat -i and metastat -p output looks good when compared to the ones... (0 Replies)
Discussion started by: mbak
0 Replies

6. Solaris

Solaris x86 installation using jumpstart does not local boot ( boot from hdd)

I am trying to install Solaris x86 using the Jumpstart server. I run the add_install_client command with appropriate options, and reboot my x86 Target box. The installation starts fine and unattended. After the installation completes and the target goes for a re-boot, it does not boot from the HDD... (9 Replies)
Discussion started by: hemalsid
9 Replies

7. Solaris

Solaris stuck during boot after reconfigure boot

Hello, I have a problem with my machine that won't boot properly. The story is that I installed a software called apcupsd, which is a control application for my APC battery UPS. I have used version 3.14.10 earlier, but as part of restoring my previously crashed os harddrive I wanted to... (18 Replies)
Discussion started by: Zorken
18 Replies

8. UNIX for Beginners Questions & Answers

Can a root role change the root password in Solaris 10?

i do not have root on a solairs 10 server , however i do have the root role, i was wondering if I can change the root password as a a role with the passwd command? I have not tried yet. and do i have to use the # chgkey -p afterwards? i need to patch is why i am asking. thanks (1 Reply)
Discussion started by: goya
1 Replies
LVSCAN(8)						      System Manager's Manual							 LVSCAN(8)

NAME
lvscan - scan (all disks) for Logical Volumes SYNOPSIS
lvscan [-a|--all] [-b|--blockdevice] [-d|--debug] [-h|--help] [--ignorelockingfailure] [-P|--partial] [-v|--verbose] DESCRIPTION
lvscan scans all known volume groups or all supported LVM block devices in the system for defined Logical Volumes. The output consists of one line for each Logical Volume indicating whether or not it is active, a snapshot or origin, the size of the device and its allocation policy. Use lvs(8) or lvdisplay(8) to obtain more-comprehensive information about the Logical Volumes. OPTIONS
See lvm for common options. --all Include information in the output about internal Logical Volumes that are components of normally-accessible Logical Volumes, such as mirrors, but which are not independently accessible (e.g. not mountable). For example, after creating a mirror using 'lvcreate -m1 --mirrorlog disk', this option will reveal three internal Logical Volumes, with suffixes mimage_0, mimage_1, and mlog. -b, --blockdevice This option is now ignored. Instead, use lvs(8) or lvdisplay(8) to obtain the device number. SEE ALSO
lvm(8), lvcreate(8), lvdisplay(8) lvs(8) Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) LVSCAN(8)
All times are GMT -4. The time now is 07:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy