Sponsored Content
Operating Systems Solaris How to detach root mirror pool? Post 302924386 by hb00 on Sunday 9th of November 2014 05:04:05 AM
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..
 

7 More Discussions You Might Find Interesting

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

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

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

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

7. 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
ZFSLOADER(8)						    BSD System Manager's Manual 					      ZFSLOADER(8)

NAME
zfsloader -- kernel bootstrapping final stage DESCRIPTION
zfsloader is an extended variant of loader(8) with added support for booting from ZFS. This document describes only differences from loader(8). ZFS FEATURES
zfsloader supports the following format for specifying ZFS filesystems which can be used wherever loader(8) refers to a device specification: zfs:pool/filesystem: where pool/filesystem is a ZFS filesystem name as described in zfs(8). If /etc/fstab does not have an entry for the root filesystem and vfs.root.mountfrom is not set, but currdev refers to a ZFS filesystem, then zfsloader will instruct kernel to use that filesystem as the root filesystem. ZFS COMMAND EXTENSIONS
lsdev [-v] Lists ZFS pools in addition to disks and partitions. Adding -v shows more ZFS pool details in a format that resembles zpool status output. lszfs filesystem A ZFS extended command that can be used to explore the ZFS filesystem hierarchy in a pool. Lists the immediate children of the filesystem. The filesystem hierarchy is rooted at a filesystem with the same name as the pool. FILES
/boot/zfsloader zfsloader itself. EXAMPLES
Set the default device used for loading a kernel from a ZFS filesystem: set currdev=zfs:tank/ROOT/knowngood: SEE ALSO
gptzfsboot(8), loader(8), zfs(8), zfsboot(8), zfsloader(8), zpool(8) HISTORY
The zfsloader first appeared in FreeBSD 7.3. AUTHORS
This manual page was written by Andriy Gapon <avg@FreeBSD.org>. BSD
September 15, 2014 BSD
All times are GMT -4. The time now is 07:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy