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

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
DPM_ADDPOOL(3)						       DPM Library Functions						    DPM_ADDPOOL(3)

NAME
dpm_addpool - define a new disk pool SYNOPSIS
#include <sys/types.h> #include "dpm_api.h" int dpm_addpool (struct dpm_pool *dpm_pool) DESCRIPTION
dpm_addpool defines a new disk pool. dpm_pool contains the pool definition. struct dpm_pool { char poolname[CA_MAXPOOLNAMELEN+1]; u_signed64 defsize; int gc_start_thresh; int gc_stop_thresh; int def_lifetime; int defpintime; int max_lifetime; int maxpintime; char fss_policy[CA_MAXPOLICYLEN+1]; char gc_policy[CA_MAXPOLICYLEN+1]; char mig_policy[CA_MAXPOLICYLEN+1]; char rs_policy[CA_MAXPOLICYLEN+1]; int nbgids; gid_t *gids; char ret_policy; char s_type; u_signed64 capacity; u_signed64 free; int nbelem; }; poolname specifies the disk pool name. defsize specifies the default amount of space reserved for a file (in bytes). gc_start_thresh specifies the minimum free space in the pool. If the percentage of free space goes below this value, the garbage collector is started. Default is 0. gc_stop_thresh specifies the percentage of free space in the pool above which the garbage collector is stopped. Default is 0. def_lifetime specifies the default time a space or volatile file is kept in the system (in seconds). defpintime specifies the default time a file is kept on a given disk (in seconds). max_lifetime specifies the maximum time a space or volatile file is kept in the system (in seconds). maxpintime specifies the maximum time a file is kept on a given disk (in seconds). nbgids is the size of the array of group ids gids. gids The disk pool is restricted to this set of gids unless the group gid is zero. ret_policy specifies the retention policy supported by the disk pool. It can be R (for Replica), O (for Output) or C (for Custodial). s_type indicates the type of space supported in the disk pool. It can be V (for Volatile), D (for Durable), P (for Permanent) or - (to accept any type). This function requires ADMIN privilege. RETURN VALUE
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately. ERRORS
EACCES The caller does not have ADMIN privilege. EFAULT dpm_pool is a NULL pointer. EEXIST This pool exists already. ENOMEM Memory could not be allocated for storing the pool definition. EINVAL The length of poolname exceeds CA_MAXPOOLNAMELEN or the number of gids is too big. SENOSHOST Host unknown. SEINTERNAL Database error. SECOMERR Communication error. LCG
$Date: 2011-05-23 14:22:57 +0200 (Mon, 23 May 2011) $ DPM_ADDPOOL(3)
All times are GMT -4. The time now is 09:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy