Solaris 10 zones. mirror disks in global, or mirror in local?



  • 1. Solaris 10 Boot Hangs on T1
    Solaris 10 is hanging during boot from the OpenBoot firmware on my T1. Below is the output from doing an interactive boot from OpenBoot using the "boot -a" command. I use the default values for all options and the boot hangs after the root device is specified. I'm rather new to Solaris so this problem has me stuck. Any ideas? Thanks! -JohnC Sun Fire(TM) T1000, No Keyboard Copyright 2005 Sun Microsystems, Inc. All rights reserved. OpenBoot 4.20.0, 8184 MB memory available, Serial #<removed from post>. Ethernet address <removed from post>, Host ID: <removed from post>. Rebooting with command: boot -a Boot device: /pci@7c0/pci@0/pci@8/scsi@2/disk@0,0 File and args: -a Loading ufs-file-system package 1.4 04 Aug 1995 13:02:54. FCode UFS Reader 1.12 00/07/17 15:48:16. Loading: /platform/SUNW,Sun-Fire-T1000/ufsboot Enter filename [kernel/sparcv9/unix]: Enter default directory for modules [/platform/SUNW,Sun-Fire-T1000/kernel /platform/sun4v/kernel /kernel /usr/kernel]: Name of system file [etc/system]: SunOS Release 5.10 Version Generic_118833-24 64-bit Copyright 1983-2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. root filesystem type [ufs]: Enter physical name of root device [/pci@7c0/pci@0/pci@8/scsi@2/disk@0,0:a]:
  • 2. help with IP filter rules
    Hello everyone. I activated successfully IP filter in Solaris 10 with the following rules: block in all pass in quick proto tcp from any to any port=22 pass in quick proto tcp from any to any port=25 pass in quick proto tcp from any to any port=80 pass in quick proto tcp from any to any port=587 Namely I want only the ssh, http and smtp services to be active. But after activating the firewall I can't connect to the internet. When I deactivate it there's no problem. What's wrong with this rules? I thought they are correct :-(
  • 3. telnetd process getting terminated
    hi , The normal/general issue with Solaris box,when the load increases you will find u r telnet process getting terminated. You need to restart it again. this normal is never seen on AIX box or Redhat flavours. thanks koole.
  • 4. Posix command locations
    I wanted to check the physical location of posix binaries on my solaris box. Multiple commands such as cd,bg,jobs,kill,etc seem to be hardlinks to /usr/bin/alias which in itself has the simple code as below: #!/bin/ksh -p # cmd=`basename $0` $cmd "$@" It is not evident to me as to how the actual command is getting called via this shell script. -p is Korn shell is to turn on the privileged mode to run setuid programs. I could not find the suid profile for ksh under /etc. I replaced the -p option with -x in the /usr/bin/cd script, but there was no change in behaviour of the "cd" command, "cd" just worked as before. Can someone letme know how exactly this works and where exactly the binaries are located. thanks and regards GNS
  • 5. Tivoli Administrators Required
    Tivoli Administrators Minimum 3-4 years experience in Tivoli administration. Knowledge of disaster recovery technologies an advantage. If you are interested in this position please send in your detailed resume to XXXX@XXXXX.COM Thank You.

Solaris 10 zones. mirror disks in global, or mirror in local?

Postby gl » Sat, 17 Dec 2005 02:42:34 GMT

i haven't run into this problem yet, but the thought
occurred to me.  maybe the question is moot:  maybe it
can only be done one way.  you tell me.

let's say i have a global and a local zone.
let's say the local zone is going to have mirrored disks.

do i mirror the disks in the global zone, and tell the local
zone about the completed mirror?


do i just give the local zone the disks and let it do
the mirroring?

i'm also wondering what happens if there are differences
if, say, i want to grow the mirrored disk in the local zone.
if the global zone is calling the shots, then i'd have
to grow it in the global zone and then grow it in the local
zone again.  uh, presuming, of course, that that's how you'd
want to have the mirrors set up in the first place....
which may be wrong.

assume disksuite, or whatever it's called these days---the Sun
volume manager?

Jay Scott		512-835-3553		 XXXX@XXXXX.COM 
Head of Sun Support, Sr. Operating Systems Specialist
Applied Research Labs, Computer Science Div.                   S224
University of Texas at Austin

Re: Solaris 10 zones. mirror disks in global, or mirror in local?

Postby Thomas Maier-Komor » Sat, 17 Dec 2005 03:09:07 GMT

I am not an expert on this - I onle have basic experience
concerning metadisks or zones. But I guess, if both is possible
both has its advantages. So I would solve this question from
the point of your requirements.

Are the admin of the local and the global zone the same person?

If so, then manage it in the global zone, because it will be more
straight forward and you don't have to include it in the setup of the
local zone.

If not, decide it using the responsibilities. Should the admin
of the local zone do his own storage management and be responsible
for this? Or should the admin of the global zone take care of
it? Has the admin of the local zone physical access to the machine?
He will need it if he should do the storage management for his zone.


Re: Solaris 10 zones. mirror disks in global, or mirror in local?

Postby Bruce Porter » Sat, 17 Dec 2005 05:09:42 GMT

The hardware is owned and controlled form the Global Zone, all disk
mirroring is done there. A zone is then told what FS it can use. It does
not need to worry about mirroring (and therefore neither would an admin
who only had access to that zone).

Similary if using IPMP, it is set up in the Global Zone and any failover
would not even be noticed by a user of a zone.


"The internet is a huge and diverse community and   
not every one is friendly" 		           

Re: Solaris 10 zones. mirror disks in global, or mirror in local?

Postby Darren Dunham » Sat, 17 Dec 2005 06:43:19 GMT

Well, to some extent.  You certainly can publish a disk device to a
non-global zone and allow it to run the filesystem.  It's not required
that the global zone manage the filesystem.

However, I don't see any way that a local zone would be able to
manipulate SVM stuff.  There's only one set of SVM configuration files,
so it'll be owned by the global zone.

Only if SVM were modified so that it could create a separate
configuration scope for a zone would that be possible.

Darren Dunham                                            XXXX@XXXXX.COM 
Senior Technical Consultant         TAOS             http://www.**--****.com/ 
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

Similar Threads:

1.Solaris 10 zones. mirror disks in global, or mirror in local?

> However, I don't see any way that a local zone would be able to
> manipulate SVM stuff.  There's only one set of SVM configuration files,
> so it'll be owned by the global zone.

What about ZFS then? There you have filesystem and volume manager in
the same SW...

2.Is it possible to mirror disks without physically removing disk the incompletely mirrored disk

# format
Searching for disks...done

       0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
       1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>

Specify disk (enter its number): 0
selecting c1t0d0
[disk formatted]

format> part

partition> print
Current partition table (original):
Total disk cylinders available: 24620 + 2 (reserved cylinders)

The following is an incomplete mirror disks example, on the SUN36G
Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       0 -  1417        1.95GB    (1418/0/0)
  1       swap    wu    1418 -  7225        8.00GB    (5808/0/0)
  2     backup    wm       0 - 24619       33.92GB    (24620/0/0)
  3 unassigned    wm    7226 -  7296      100.16MB    (71/0/0)
  4 unassigned    wm    7297 -  8714        1.95GB    (1418/0/0)
  5 unassigned    wm    8715 - 21074       17.03GB    (12360/0/0)
  6        usr    wm   21075 - 22492        1.95GB    (1418/0/0)
  7 unassigned    wm   22493 - 24619        2.93GB    (2127/0/0)

Part      Tag    Flag     Cylinders         Size            Blocks
  0 unassigned    wm       0 -  1417        1.95GB    (1418/0/0)
  1 unassigned    wm    1418 -  7225        8.00GB    (5808/0/0)
  2     backup    wu       0 - 24619       33.92GB    (24620/0/0)
  3 unassigned    wm    7226 -  7296      100.16MB    (71/0/0)
  4 unassigned    wm    7297 -  8714        1.95GB    (1418/0/0)
  5 unassigned    wm       0                0         (0/0/0)
  6 unassigned    wm    8715 - 10132        1.95GB    (1418/0/0)
  7 unassigned    wm   10133 - 12259        2.93GB    (2127/0/0)

The issue is the 2nd disk on the V480 (Solaris 8) has slice 5 to 7 not
mirrored. Is it possible mirror the 2nd disk without removing it
physically and inserting back in? The second disk is not bad, but it is
not just fully mirrored.

We don't use Volume Manager. The recoverSystemDisks script we use does
the following:

"This script validates DiskSuite meta-devices in the two system disks.
If damages caused by single disk failure are found, it also tries to
help operator repair the damages."
# We assume that disk disk0 has 6 (7 if 7X) sub-mirrors:
#       d80, d81, d83, d84, d86, d87 (plus d85 if 7X)
# and that disk disk1 has 6 (7 if 7X) sub-mirrors:
#       d90, d91, d93, d94, d96, d97 (plus d95 if 7X)
# A disk is declared "good" if metastat shows all
# its sub-mirrors have state "Okay".

Delete replicas on the bad disk if any

# this function just print instructions on screen
display_instructions() {
    echo "  "
    echo "Do you have a functioning, formatted disk in drive ${disk}?"
    echo " "
    echo "If you think so, press <Return> to continue."
    echo " "
    echo "If you do not have a replacement disk on hand, press Ctrl-c
    echo "abort.  Re-run this script when the part is ready."
    echo "  "
    echo "If you can replace the disk without shutting down the
    echo "replace it now and then press <Return>."
    echo "(Note: allow at least 60 seconds for the new disk to spin
    echo " "
    echo "If you need to shut down the server in order to replace the
    echo "press Ctrl-c to exit this script and follow the normal shut
    echo "procedure.  After the replacement and system booting, run
    echo "script again."
    echo "  "
    echo "Refer to System Recovery Procedures if in doubt."
    echo "  "
    echo "Press <Return> to continue, Ctrl-c to cancel"

# Request the operator to replace disk if necessary; partition the new
# and create database replicas on it

# Replace bad slices in mirrors
#  After each replace, allow proper time for resyncing.
#  Without the sleeps, all mirrors will be resyncing at
#  the same time, cause a lot of disk head movements.

etc... etc...

3.Installing Fresh Solaris 10 Mirror Disks with SVM?

I am installing Solaris 10 and want to wipe out all the data that is
currently on my two hard drives. First by formatting disk 1 and
installing the OS on that and then using Disk2 to mirror disk1. I want
to use RAID1 for mirroring. I am doing the typical install of using a
DVD that Sun sent me and would like to create a volume group to store
my logical volume file systems under them like /export/home, /tmp, /
opt etc... Is this install method of using SVM and RAID1 possible with
the installation method I'm using of a fresh install from DVD? If not,
how would I go about doing this? Thanks in advance!

4.Solaris 10, Mirroring, pre-existing disk

Hello everyone,

I have a slight problem.  I have two Solaris-10 based boxes, each with 
two 72gb scsi disks that I've been asked to mirror.  Problem is, they've 
already had me install the OS and configure a TON of things on it (all 
packages and /usr/local stuff, but still).

Here's the layout:

0	root	wm	1728-29522	64.36gb
1	swap	wu	0-1727	4.00gb
2	backup	wm	0-29522	68.36gb
3-7 all unassigned 0/0

The 2nd disk is identical (29522 cyls)

I appreciate any help you can be - I'd hate to have to reinstall everything!


5.upgrade to Solaris 10 11/06 fails - problems with mirrored disks

I am trying to upgrade a SunFire V880 machine from Solaris 01/06 to
Solaris 11/06 using a custom jumpstart profile. The upgrade fails
with the following error message:
Processing profile
metainit: <servername>: there are no existing databases

ERROR: The specified root and/or boot was not found or was not upgradeable
Solaris installation program exited.

The machine has a mirrored / /usr and /var filesystem. I followed the work-
arounds described in the release notes for 11/06 and removed the mirror
from root but this did not help. I also tried deleting the / metadevices
and removed all the mirrored disks from /etc/vfstab but this did not
change the error message.

When I try to run metastat from the shell of the miniroot after mounting
the real root on /a, I get the same error message. However, if I look in
/etc/lvm I find the correct entries for the databases. The machine has
a relatively large number of state data bases (25).

I just upgraded a SunFire V890 with a very similar configuration without
problems after removing the / mirror. The main difference is that the 
V880 was upgraded from Solaris 9 to Solaris 10 01/06 while the V890 was
an initial install of Solaris 10 01/06.

Is there a workaround to upgrade this machine to Solaris 10 11/06? I would
like to avoid a fresh install which is always a lot more work and more 
downtime since this is a SunRay server.


Matthias Ernst

| Matthias Ernst                         | Phone: +41-1-632-4366             |
| ETH Zich, HCI D 227                  | Fax:   +41-1-632-1621             |
| Laboratorium f Physikalische Chemie  |                                   |
| ETH-Hggerberg - HCI D 227            | Email:  XXXX@XXXXX.COM  |
| CH-8093 Zich, Switzerland            |         XXXX@XXXXX.COM          |

6. Solaris 10 on x86: Problems booting off mirror disk

7. Smoke and Mirrors: mirrored concat / concat mirrors

8. Solaris 10 vs Solaris 9 Live Upgrade with RAID-1 mirrors

Return to unix


Who is online

Users browsing this forum: No registered users and 83 guest