Fdisk partitions on boot disk and disaster recovery


 
Thread Tools Search this Thread
Operating Systems Solaris Fdisk partitions on boot disk and disaster recovery
# 1  
Old 06-13-2012
Fdisk partitions on boot disk and disaster recovery

I'm preparing to recover a Oracle Fire X4170 server in a disaster recovery test at a different location than in prod. I have some questions about fdisk partitions. I'm using Solaris 10 update 10.

On my prod server, the boot disk has 2 partitions, diagnostic and solaris. Is the diagnostic partition required for booting?

Code:
      Partition   Status    Type          Start   End   Length    %
        =========   ======    ============  =====   ===   ======   ===
            1                 Diagnostic        1     7       7      0
            2       Active    Solaris2          8  36337    36330    100

My alternate boot disk is a copy of the boot disk. On the DR server, I plan to just create a whole disk solaris partition on their second disk using:

Code:
fdisk -B /dev/rdsk/${proddisk}p0

then format the solaris partition using a pre-created 300GB partition table

Code:
fmthard -s $disk_partition_app300 /dev/rdsk/${proddisk}s2

Later I will Make the prod disk bootable with a master boot program
Code:
echo "5" | fdisk -b /a/usr/lib/fs/ufs/mboot /dev/rdsk/${proddisk}p0

Make the prod disk bootable (installgrub)
Code:
/a/sbin/installgrub -fm /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/${proddisk}s0

I would then expect I need to edit the mounted second disk (s0 mounted on /a) “/boot/grub/menu.lst” because it expects there to be 2 partitions on the boot disk but now there will only be 1.

Prod file:
Code:
#---------- ADDED BY BOOTADM - DO NOT EDIT ----------
  title Oracle Solaris 10 8/11 s10x_u10wos_17b X86
  findroot (rootfs0,1,a)
  kernel /platform/i86pc/multiboot
  module /platform/i86pc/boot_archive
  #---------------------END BOOTADM--------------------
  #---------- ADDED BY BOOTADM - DO NOT EDIT ----------
  title Solaris failsafe
  findroot (rootfs0,1,a)
  kernel /boot/multiboot -s -B console=ttya
  module /boot/amd64/x86.miniroot-safe
  #---------------------END BOOTADM--------------------
   
  title Diagnostic Partition
          rootnoverify (hd0,0)
          chainloader +1
  #---------- Added manually for the alternate boot disk ----------
  title Alternate boot disk-Oracle Solaris 10 8/11 s10x_u10wos_17b X86
  root (hd1,1,a)
  kernel /platform/i86pc/multiboot
  module /platform/i86pc/boot_archive
  #---------- End Added manually for the alternate boot disk ------

I expect I would need to change
Code:
root (hd1,1,a)

to
Code:
root (hd1,0,a)

and perhaps
Code:
findroot (rootfs0,1,a)

to
Code:
findroot (rootfs0,0,a)

in both places.

Then when I'm booting from the recovered OS, I'll have to select the Alternate boot disk when the GRUB menu is displayed, correct?

I know I could save a copy of the boot disk's 2 partitions using
Code:
fdisk -W /export/bootdiskfile2 /dev/rdsk/${primary_disk}p0

but I'd rather not have to make use of it unless I have to.
# 2  
Old 06-18-2012
I figured out what I need to do and how to do it.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Disaster Recovery

Hi, I just want to throw something out there for opinions and viewpoints relating to a Disaster Recovery site. Besides the live production environment, do you think a DR environment should include: - pre-production environment - QA Environment ......or would this be considered to be OTT... (3 Replies)
Discussion started by: Duffs22
3 Replies

2. UNIX for Dummies Questions & Answers

Disaster Recovery - Help needed

We have a SCO OpenServer Unix server that has been damaged. Fortunately we have a good backup of the entire system (using BackupEdge.) On a new server, if we install SCO from original SCO CD's (we have all necessary activation codes) then drop the tape (we can restore with tar), will the... (3 Replies)
Discussion started by: jmhohne
3 Replies

3. AIX

hacmp and disaster recovery question

Hi Guys, is it possible to failover a hacmp cluster in one datacentre via SRDF to a single node in another datacentre, or do I need a cluster there in any case? This is only meant as worst case scenario and my company doesn't want to spend more money than absolutely necessary. I know the... (3 Replies)
Discussion started by: zxmaus
3 Replies

4. AIX

AIX disaster recovery

Are there any products out there that provide a disk imaging solution for AIX (and HPUX and Solaris for that matter)? In a development environment where users are looking to restore an OS quickly back to a certain point in time, what is there available for this besides opening up the system,... (7 Replies)
Discussion started by: tb0ne
7 Replies

5. Solaris

Disaster Recovery

Recovering Solaris to an alternate server I was just wondering if anyone could give me some points on restoring a Solaris 9 backup to an alternate server. Basically, we use netbackup 6 and I was wondering what the best procedures are for doing this? What things do we need to take into... (3 Replies)
Discussion started by: aaron2k
3 Replies

6. UNIX for Dummies Questions & Answers

disaster recovery

I am looking into disaster recovery and I wanted to know what files and/or other information do I need to keep copies of to sucessfully restore my system from the ground up..... Any help is greatly appreciated. I am running Solaris 8 on an Ultra 60. (5 Replies)
Discussion started by: rod23
5 Replies

7. UNIX for Advanced & Expert Users

Disaster Recovery

Can anyone tell me of what to expect? I've been nominated to join a team of unix admins to do a DR testing. we already have the guys who are gono be doing the restores. besides the restore, anybody know what else to look forward to?? (2 Replies)
Discussion started by: TRUEST
2 Replies

8. Cybersecurity

Template for Disaster Recovery

Hello, I am trying to make a disaster recovery of my Unix System. Is there a site where I can find template from Disaster Recovery Domain. So this can help me to have the principals chapter to make a good report. Thanks a lot ........ (5 Replies)
Discussion started by: steiner
5 Replies

9. Cybersecurity

Please Tell Me About Disaster Recovery

please tell me if this thinkin is correct, if not, please corret me: disaster recovery means when something bad happens and you need to retrieved a backed up file, all you have to do is cd into the tape drive and then look for the file you want and extract it from the drive. is this... (3 Replies)
Discussion started by: TRUEST
3 Replies
Login or Register to Ask a Question