I recently inherited system administration duties for a SUN v880 box. The system has 6 physical hard disks.. In doing some basic maintenance, I found they're configured for mirroring. I ran the metastat and metadb commands, and many of the mirrors are showing they are in need of maintenance -> See the attachments.
Question is -- How do get all the mirrors back online and functional? I was considering running the metareplace utility to enable the metabases, but it seems as if one of the hard disks is no longer being recongized by the system. (c1t3d0 -> see disks.txt) I've checked the /var/adm/message files but I don't see anything that would indicate the disk has failed, and the front status panel of the server itself (Including the error condition lights for each drive) is showing no problems... I was thinking of running touch /reconfigure, seeing the disk is redetected, if it is, then replacing the failed metabases using the metareplace and rebooting. Do you guys feel this will fix the problem?
Hi Guys,
Need to add 2 disks into a JBOD array (3310).
Does anyone see anything wrong with my Procedure / Doco below?
1> Logon to system, check system logs for abnormal entries.
2> Make backups of related system files:
A>cp -p /etc/system /etc/system.backup.081505
B>cp -p /etc/vfstab... (3 Replies)
hi expert,
sorry i'm new in solaris system, need more advice and help :)
i'm confusing with mirroring disk at my sparc v890 solaris 8, i have 6 harddisk which the structure shown below :
format :
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
... (4 Replies)
Hi
I have a Sunfire X4100 box with a 4 disk Chassis (although I only have 2 disks in it). I have been asked to add two more disks into the chassis so that I can mirror the original two using SVM .....Ive read through a couple of SVM docs but am finding it a little confusing, and if any of you... (1 Reply)
I am having an issue with setting up disk mirroring for Solaris 10 on an x86 server. My main problem is that the volumes and slices have already been setup and our proprietary software has already been installed and configured. The entire drive has been allocated in this configuration and the... (2 Replies)
Has anyone managed to set up disk mirroring in Solaris 10 yet? If so can you point me in the direction of some useful documentation please.
Cheers (25 Replies)
Hi Friends,
I am having Sun Solaris 5.8 OS installed having 2 different size hard disk, sizes are c0t0d0s0(160 GB) and c0t2d0s0 (40GB). I have installed Sun Solaris 5.8 OS in c0t0d0s0 (160GB) harddisk.
I have configured all the parameters required for disk mirroring. But when executing... (4 Replies)
Need a procedure document to do "root disk mirroring in solaris volume manager for solaris 10". I hope some one will help me asap. I need to do it production environment.
Let me know if you need any deatils on this.
Thanks,
Rama (1 Reply)
Hi Guys,
I have an issue with my Hotspares/Metastat on an x4270m2.
I have no hotspares available, when i printed out my metastat i got
d21: Concat/Stripe
Size: 33559785 blocks (16 GB)
Stripe 0:
Device Start Block Dbase Reloc
... (0 Replies)
I have 2 disks in my system.I recently added a zpool to the disk, but today I changed my mind and deleted the zpool ,
zpool destroy -f extra
The zpool is now deleted and I want to partition the disk, so I delete the only partition on the disk.
Now when I run format again,
format... (13 Replies)
Discussion started by: cbtshare
13 Replies
LEARN ABOUT HPUX
vxmirror
vxmirror(1M)vxmirror(1M)NAME
vxmirror - mirror volumes on a disk or control default mirroring
SYNOPSIS
/etc/vx/bin/vxmirror [-g diskgroup ] [-d yes|no ] [-t tasktag ] medianame [new_medianame...]
/etc/vx/bin/vxmirror [-g diskgroup ] [-d yes|no ] [-t tasktag ] -a [new_medianame...]
/etc/vx/bin/vxmirror [-g diskgroup ] [-d yes|no]
/etc/vx/bin/vxmirror [-g diskgroup] -D
DESCRIPTION
The vxmirror command provides a mechanism to mirror all non-mirrored volumes that are located on a specified disk, to mirror all currently
non-mirrored volumes in the specified disk group, or to change or display the current defaults for mirroring. All volumes that have only a
single plex (mirror copy), are mirrored by adding an additional plex.
Volumes containing subdisks that reside on more than one disk are not mirrored by vxmirror.
vxmirror is generally called from the vxdiskadm menus. It is not an interactive command, and after it is called, continues until comple-
tion of the operation or until a failure is detected.
Note: Generating mirror copies of volumes can take a considerable time to complete.
In the first listed form of this command, the disk media name is supplied on the command line to vxmirror. That name is assumed to be the
only disk from which volumes are mirrored. In the case of mirroring volumes from a specified disk, only simple single-subdisk volumes are
mirrored.
In the first and second listed forms of the command, new_medianame... identifies a new disk media name (or set of names). The mirroring
operation uses these names as targets on which to allocate the mirrors. An error results if the same disk is specified for both the source
and target disk and if no other viable targets are supplied.
Hardware-Specifc Note
Some environments provide guidelines to optimize the VxVM's interaction with intelligent storage systems. If these guidelines are present,
VxVM follows the guidelines when creating volumes or allocating space for volumes. By default, vxmirror only creates mirror volumes that
conform with these guidelines. The following options change the behavior of vxmirror:
-o override
Creates a mirror of the specified volume and ignores any storage-specific guidelines. Overriding the guidelines is not recom-
mended as it can result in incompatible objects, or objects that cannot be administered by VxVM.
-o verify Verifies that the specified mirror can be created without violating any storage-specific guidelines, but does not create the
plex. If any guidelines are violated, vxmirror exits with an error message.
Note: These options need a specific license. Without the license, vxmirror ignores the specified option.
OPTIONS -a Mirrors all existing volumes for the specified disk group.
-d yes | no
Changes the default for subsequent volume creation, depending on the option argument. If yes, then all subsequent volumes cre-
ated automatically become mirrored volumes. If no, then mirroring is turned off for future volumes created.
-D Displays current default status for mirroring.
-g diskgroup
Limits operation of the command to the given disk group, as specified by disk group ID or disk group name. The medianame oper-
ands are evaluated relative to the given disk group. If this option is not specified, the default disk group is determined using
the rules given in the vxdg(1M) manual page.
-t tasktag
Specifies using a tasktag as the tag for any tasks created to perform the mirror operations.
EXAMPLES
The following command mirrors all non-mirrored volumes on disk disk01 to the available space on any other available disk. Subsequent calls
to vxassist mirror created volumes by default.
/etc/vx/bin/vxmirror -d yes disk01
This command displays the current status of default mirroring. It outputs the string yes if mirroring is currently enabled, or no if mir-
roring is not enabled.
/etc/vx/bin/vxmirror -D
This command mirrors any volumes on disk02 to disk03.
/etc/vx/bin/vxmirror disk02 disk03
FILES
/etc/default/vxassist The defaults file for vxassist parameters.
SEE ALSO vxassist(1M), vxdiskadm(1M), vxintro(1M), vxtask(1M)VxVM 5.0.31.1 24 Mar 2008 vxmirror(1M)