How to detach root mirror pool?


 
Thread Tools Search this Thread
Operating Systems Solaris How to detach root mirror pool?
# 1  
Old 11-09-2014
How to detach root mirror pool?

I have to do patching in single user mode in solaris 10 zfs root pool. Before that I have to detach the root mirror pool so that if patching fails then I can boot from detached root mirror pool. Please let me know how can I detach root pool

Code:
bash-3.2# zpool status
  pool: rpool
state: ONLINE
scan: resilvered 6.37G in 0h4m with 0 errors on Fri Nov  7 13:53:14 2014
config:
        NAME          STATE     READ WRITE CKSUM
        rpool         ONLINE       0     0     0
          mirror-0    ONLINE       0     0     0
            c1t0d0s0  ONLINE       0     0     0
            c1t1d0s0  ONLINE       0     0     0
errors: No known data errors


Last edited by hb00; 11-09-2014 at 06:22 AM..
# 2  
Old 11-09-2014
I would advice against detaching the mirror disk. Instead you can use "lucreate" to create another boot environment that you can patch, while keeping the original boot environment intact. Take a look here:
http://www.oracle.com/technetwork/se...-wp-167900.pdf
# 3  
Old 11-09-2014
Hi bartus11

Thanks for the advice & reply also. But we dont have third disk for live upgrade, in our case s0 is having full disk space assign to it in zfs root pool.. So could you help us by providing the command to detach the mirrored root pool as well as if patching get fails how to boot from detached mirror root pool. As we are bit new to ZFS. If same thing need to be done on UFS then we are well aware of detaching the SVM & booting the disk from second mirror.

Thanks
# 4  
Old 11-09-2014
Read the provided link! You don't need a third disk...
# 5  
Old 11-09-2014
Not sure what the server hardware is, but disks are CHEAP. You can get brand-new 1TB drives for $50:

Amazon.com: Seagate Barracuda 1 TB HDD SATA 6 Gb/s NCQ 64MB Cache 3.5-Inch Internal Bare Drive ST1000DM003: Electronics

So instead of buying a few cheap hard drives and giving your systems room to breathe and redundancy in case of error, you're going to spend how many man-hours playing dipsy-doodle with your root file systems?
# 6  
Old 11-09-2014
After you have read the link from my previous post, I would advice you to practise the patching on a lab system before trying to patch production server(s).
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Solaris

Mirror root disk - V490

Got a V490 with one existing root disk. Other disk slot was never populated. Want to ensure we've got disk mirroring. Currently vfstab mounts the physical disk - no mirroring set up. Whats best way to achieve this without losing current disk? (1 Reply)
Discussion started by: psychocandy
1 Replies

2. Shell Programming and Scripting

Script to automate restore data and root mirror in Solaris 10

Hi Folks, I have taken a backup of root filesystem with tar. Please help me to write a ksh script to automate restoration and root mirror in solaris 10. Thanks in advance. (1 Reply)
Discussion started by: wills
1 Replies

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

4. Solaris

Do I need a pool before I can mirror my disks?

Hi! I would also like to know if I need first to create a pool before I can mirror my disks inside that pool. My first disk is c7t0d0s0 and my second disk is c7t2d0s0 as seen in the figure below. I would create a pool named rpool1 for this 2 disks. # zpool create rpool1 c7t0d0p0 c7t2d0p0 ... (18 Replies)
Discussion started by: CarlosP
18 Replies

5. Solaris

Mirror the root disk

Hi all I wish to mirror for the root disk, but last time i do, make the server cannot boot up. :p So this time, hope you guys can assist me on it. =) At the last code, is the step i wish to do. Please help to check and correct me if got any wrong. root@leo # format </dev/null Searching for... (17 Replies)
Discussion started by: SmartAntz
17 Replies

6. Solaris

OBP - root / mirror disk syntax

Hi all Can someone explain to me the different syntax regarding how root / mirror disks are represented. I never truely understand the namely / device tress etc. Let me give you an example. On one my my servers, the root and mirror drives are :- A domain on a sunfire 6800 :- ... (6 Replies)
Discussion started by: sbk1972
6 Replies

7. Solaris

Root Mirror is broken

Hi all, Root mirror is broken under veritas control. so could you please help me how to boot the system now step by step procedure. i really thankful to all. regards krishna (3 Replies)
Discussion started by: murthy76
3 Replies
Login or Register to Ask a Question