Sponsored Content
Operating Systems Solaris Second Mirror is not booting ! Post 302758353 by top.level on Saturday 19th of January 2013 05:08:39 AM
Old 01-19-2013
Second Mirror is not booting !

Code:
zpool status -v

below my mirrors in Solaris 10

Code:
config:

        NAME              STATE     READ WRITE CKSUM
        rpool             ONLINE       0     0     0
          mirror-0        ONLINE       0     0     0
            c3t0d0s0      ONLINE       0     0     0
            c3t1d0s0      ONLINE       0     0     0
            emcpower9a    ONLINE       0     0     0

I run below command to detach second mirror

Code:
zpool detach rpool c3t1d0s0



c3t1d0s0 is not in the mirrors as the below


Code:
config:

        NAME              STATE     READ WRITE CKSUM
        rpool             ONLINE       0     0     0
          mirror-0        ONLINE       0     0     0
            c3t0d0s0      ONLINE       0     0     0
            emcpower9a    ONLINE       0     0     0

I changed the boot device to the second mirror by this command

Code:
root@ppa-dbtest # luxadm set_boot_dev /dev/dsk/c3t1d0s0    
Do you want to change boot-device to the new setting? (y/n) y

booting is configured to /dev/dsk/c3t1d0s0


now I execute this command reboot-- -r to reboot the server to boot from c3t1d0s0 as configured above ..


but I'm getting this error after reboot the server by reboot-- -r


Code:
Rebooting with command: boot -r
Boot device: /pci@9,600000/SUNW,qlc@2/fp@0,0/disk@w21000014c38aa5aa,0:a  File and args: -r

detached mirror

Can't mount root

Evaluating: 
The file just loaded does not appear to be executable.
{3} ok

Please advice I want to boot from the second disk c3t1d0s0 which is not in mirror state ..


Pls advice

Last edited by top.level; 01-19-2013 at 06:18 AM..
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

sun mirror

I have a solaris 9 machine which I would like to mirror it system disk using disk suite but my sun solaris machine has one internal disk which has the OS installed on. I have spare external disk of the same size, is it possible to mirror and internal disk with external disk using disk suite? ... (3 Replies)
Discussion started by: hassan2
3 Replies

2. UNIX for Dummies Questions & Answers

mirror device

Hi I'm new Solaris. I'm trying to understand how a root device is being mirrored. When do df -k I get this: Filesystem kbytes used avail capacity Mounted on /dev/md/dsk/d0 49915840 43168158 6248524 88% / /proc 0 0 0 0% /proc... (1 Reply)
Discussion started by: ND6
1 Replies

3. AIX

how to mirror raid5

Hi, I have an ssa filesystem to move to san. We don't want any downtime. I heard that you can do a mirroring of existing file system on the san. The file system is a type of either raid 0, raid 1, or raid 5. Anyone know how to do this? Thanks in advance, itik (4 Replies)
Discussion started by: itik
4 Replies

4. Solaris

ZFS Mirror versus Hardware Mirror

I've looked a little but haven't found a solid answer, assuming there is one. What's better, hardware mirroring or ZFS mirroring? Common practice for us was to use the raid controllers on the Sun x86 servers. Now we've been using ZFS mirroring since U6. Any performance difference? Any other... (3 Replies)
Discussion started by: Lespaul20
3 Replies

5. Solaris

Problems during booting from mirror disk

Hi All, I have detached a mirror and primary disk from my Solaris box. On trying to boot from Primary disk, It boots up good. But from my mirror disk, it is not booting and giving me the login prompt Instead it goes to maintenance state by issuing a coredump. Can you explain why... (9 Replies)
Discussion started by: jegaraman
9 Replies

6. Solaris

Solaris 10: Problems booting off mirror drive -- Error 22: No such partition

Solaris 10 5/08 on Ultra 40 M2 It boots fine off primary disk but having issues booting off the mirror disk. I get this error when booting off mirror disk: Booting 'Solaris 10 ... Mirror disk' root (hd1,0,a) Error 22: No such partition Press any key to continue... Any... (7 Replies)
Discussion started by: etc
7 Replies

7. Solaris

What is mirror and sub mirror in RAID -1 SVM

Hi , I am new to SVM .when i try to learn RAID 1 , first they are creating two RAID 0 strips through metainit d51 1 1 c0t0d0s2 metainit d52 1 1 c1t0d0s2 In the next step metainit d50 -m d51 d50: Mirror is setup next step is metaattach d50 d52 d50 : submirror d52 is... (7 Replies)
Discussion started by: vr_mari
7 Replies

8. Solaris

Mirror patching

HI Friends.... kindly explain os mirror patching?in SVM and Vxvm. :wall: (1 Reply)
Discussion started by: Rajesh_Apple
1 Replies

9. 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
bup-margin(1)						      General Commands Manual						     bup-margin(1)

NAME
bup-margin - figure out your deduplication safety margin SYNOPSIS
bup margin [options...] DESCRIPTION
bup margin iterates through all objects in your bup repository, calculating the largest number of prefix bits shared between any two entries. This number, n, identifies the longest subset of SHA-1 you could use and still encounter a collision between your object ids. For example, one system that was tested had a collection of 11 million objects (70 GB), and bup margin returned 45. That means a 46-bit hash would be sufficient to avoid all collisions among that set of objects; each object in that repository could be uniquely identified by its first 46 bits. The number of bits needed seems to increase by about 1 or 2 for every doubling of the number of objects. Since SHA-1 hashes have 160 bits, that leaves 115 bits of margin. Of course, because SHA-1 hashes are essentially random, it's theoretically possible to use many more bits with far fewer objects. If you're paranoid about the possibility of SHA-1 collisions, you can monitor your repository by running bup margin occasionally to see if you're getting dangerously close to 160 bits. OPTIONS
--predict Guess the offset into each index file where a particular object will appear, and report the maximum deviation of the correct answer from the guess. This is potentially useful for tuning an interpolation search algorithm. --ignore-midx don't use .midx files, use only .idx files. This is only really useful when used with --predict. EXAMPLE
$ bup margin Reading indexes: 100.00% (1612581/1612581), done. 40 40 matching prefix bits 1.94 bits per doubling 120 bits (61.86 doublings) remaining 4.19338e+18 times larger is possible Everyone on earth could have 625878182 data sets like yours, all in one repository, and we would expect 1 object collision. $ bup margin --predict PackIdxList: using 1 index. Reading indexes: 100.00% (1612581/1612581), done. 915 of 1612581 (0.057%) SEE ALSO
bup-midx(1), bup-save(1) BUP
Part of the bup(1) suite. AUTHORS
Avery Pennarun <apenwarr@gmail.com>. Bup unknown- bup-margin(1)
All times are GMT -4. The time now is 07:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy