10 More Discussions You Might Find Interesting
1. Solaris
Hello,
I need some help mirroring my rpool.
I have a 60gb ssd running the rpool alone and want to mirror it for redundancy so I bought a 120gb ssd that I found for a good price. 60gb drives aren't as easy to find at a good price anymore it seems.
I (a bit naively) thought after reading... (9 Replies)
Discussion started by: Zorken
9 Replies
2. Solaris
Hello,
I just build a Solaris 10 server on an x86 box. I forgot to mirror the two disks when I install the OS. Can I get some help with this?
I have this
# zpool list
rpool 278G 5.77G 272G 2% ONLINE -
# zpool status
pool: online
state: ONLINE
scan: none requested
config:
... (12 Replies)
Discussion started by: bitlord
12 Replies
3. Solaris
Hi All
i wish to mirror the root disk, but i face the below error.
root@saturn # metainit d11 1 1 c0t0d0s0
metainit: saturn: c0t0d0s0: is mounted on /
kindly assist... (27 Replies)
Discussion started by: SmartAntz
27 Replies
4. AIX
Hello,
On a RS6000 server I have two disks (hdisk0 and hdisk1) which are mirrored in a logical volume rootvg.
Yesterday one of these disks failed. Diagnosis, physical death.
It has therefore been replaced by a brand-new.
In terms of parameters, hdisk1 is now N# 1 in bootlist,... (2 Replies)
Discussion started by: titione
2 Replies
5. Solaris
hi every body
I'm new to solaris and I need your help in how to configure disk mirroring for 4 hard disks so that two of them will be replica to the other two ...???
Thanxx (7 Replies)
Discussion started by: mm00123
7 Replies
6. Shell Programming and Scripting
I'm not sure how to best explain what I'd like to do, so let me give an example. I used to work in a department that deals with internet security. This department had an "internal" website (only people in the building can get on it) and an "external" website (anyone in the world can get on it --... (1 Reply)
Discussion started by: sstevens
1 Replies
7. HP-UX
Im following the directions from
Mirroring the Root File System and Primary Swap
#
Mirror the root logical volume to the above disk:
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c0t3d0
#
Mirror the primary swap logical volume:
lvextend -m 1 /dev/vg00/prswaplv /dev/dsk/c0t3d0
#
... (1 Reply)
Discussion started by: csaunders
1 Replies
8. SCO
How Can I Do Mirroring In Unix? (0 Replies)
Discussion started by: DIMITRIOSDOUMOS
0 Replies
9. Solaris
I am running Solaris 10 and i need to mirror a 73 gig HD. How do you mirror one in Solaris? (2 Replies)
Discussion started by: dewsdwarfs
2 Replies
10. UNIX for Dummies Questions & Answers
My company had purchased a Pro Model hard disk duplicator a couple of years ago and has used it successfully until our disk drive vendor stopped production of the currently used drives and offered us what they considder to be a direct replacement drive.
On these new drives everything matches the... (3 Replies)
Discussion started by: crazykelso
3 Replies
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)