Sponsored Content
Operating Systems AIX questions about mirroring and defineing PP per LV. Post 43935 by Optimus_P on Tuesday 25th of November 2003 10:37:29 AM
Old 11-25-2003
after i played around with it i think i was just being retarted and not opening my eyes.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mirroring problem

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

2. Solaris

Mirroring

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

3. SCO

Mirroring

How Can I Do Mirroring In Unix? (0 Replies)
Discussion started by: DIMITRIOSDOUMOS
0 Replies

4. UNIX for Advanced & Expert Users

Mirroring Hardisk

How make mirror hardisk safe and not have trouble when we chance new hardisk in system live in sun solaris 8 server. (3 Replies)
Discussion started by: athurbayunata
3 Replies

5. Shell Programming and Scripting

Constant mirroring

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

6. Solaris

mirroring with disksuite

hi all, i want to mirror two disks with disksuite under solaris 9 , doses smeone can explain me Briefly the essential steps to do that plz ? (3 Replies)
Discussion started by: lid-j-one
3 Replies

7. Solaris

Mirroring

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

8. Solaris

Help with HDD Mirroring

Hi All Please can I have some help/advice. I am fairly new to unix so any help will be useful. I need to perform HDD Mirroring on a Sun Fire V245 Server running Solaris 10 OS. The system is already up and running and has the partitions and slices already. Is it possible to perform the... (6 Replies)
Discussion started by: pluto.flame
6 Replies

9. Homework & Coursework Questions

Print questions from a questions folder in a sequential order

1.) I am to write scripts that will be phasetest folder in the home directory. 2.) The folder should have a set-up,phase and display files I have written a small script which i used to check for the existing users and their password. What I need help with: I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies

10. AIX

Use of mirroring concept....

hi.... Friends... Why using mirroring ? what is the use of mirroring? just any one tell about clearly.... thanks.... (4 Replies)
Discussion started by: Kannan841
4 Replies
PVMOVE(8)						      System Manager's Manual							 PVMOVE(8)

NAME
       pvmove - move physical extents

SYNOPSIS
       pvmove  [--abort]  [--alloc  AllocationPolicy] [-b|--background] [-d|--debug] [-h|--help] [-i|--interval Seconds] [--noudevsync] [-v|--ver-
       bose] [-n|--name LogicalVolume] [SourcePhysicalVolume[:PE[-PE]...] [DestinationPhysicalVolume[:PE[-PE]...]...]]

DESCRIPTION
       pvmove allows you to move the allocated physical extents (PEs) on SourcePhysicalVolume to one or more other physical  volumes  (PVs).   You
       can  optionally	specify  a source LogicalVolume in which case only extents used by that LV will be moved to free (or specified) extents on
       DestinationPhysicalVolume(s).  If no DestinationPhysicalVolume is specified, the normal allocation rules for the Volume Group are used.

       If pvmove gets interrupted for any reason (e.g. the machine crashes) then run pvmove again without any PhysicalVolume arguments to  restart
       any  moves  that  were in progress from the last checkpoint.  Alternatively use pvmove --abort at any time to abort them at the last check-
       point.

       You can run more than one pvmove at once provided they are moving data off different SourcePhysicalVolumes,  but  additional  pvmoves  will
       ignore any Logical Volumes already in the process of being changed, so some data might not get moved.

       pvmove works as follows:

       1. A temporary 'pvmove' Logical Volume is created to store details of all the data movements required.

       2.  Every Logical Volume in the Volume Group is searched for contiguous data that need moving according to the command line arguments.  For
       each piece of data found, a new segment is added to the end of the pvmove LV.  This segment takes the form of a temporary  mirror  to  copy
       the  data  from the original location to a newly-allocated location.  The original LV is updated to use the new temporary mirror segment in
       the pvmove LV instead of accessing the data directly.

       3. The Volume Group metadata is updated on disk.

       4. The first segment of the pvmove Logical Volume is activated and starts to mirror the first part of the data.	Only one segment  is  mir-
       rored at once as this is usually more efficient.

       5.  A  daemon  repeatedly  checks  progress at the specified time interval.  When it detects that the first temporary mirror is in-sync, it
       breaks that mirror so that only the new location for that data gets used and writes a checkpoint into the Volume Group  metadata  on  disk.
       Then it activates the mirror for the next segment of the pvmove LV.

       6. When there are no more segments left to be mirrored, the temporary Logical Volume is removed and the Volume Group metadata is updated so
       that the Logical Volumes reflect the new data locations.

       Note that this new process cannot support the original LVM1 type of on-disk metadata.  Metadata can be converted using vgconvert(8).

       N.B. The moving of mirrors, snapshots and their origins is not yet supported.

OPTIONS
       --abort
	      Abort any moves in progress.

       --noudevsync
	      Disable udev synchronisation. The process will not wait for notification from udev.  It will continue irrespective of  any  possible
	      udev  processing	in the background.  You should only use this if udev is not running or has rules that ignore the devices LVM2 cre-
	      ates.

       -b, --background
	      Run the daemon in the background.

       -i, --interval Seconds
	      Report progress as a percentage at regular intervals.

       -n, --name  LogicalVolume
	      Move only the extents belonging to LogicalVolume from SourcePhysicalVolume instead of all allocated extents to the destination phys-
	      ical volume(s).

EXAMPLES
       To  move  all  Physical Extents that are used by simple Logical Volumes on /dev/sdb1 to free Physical Extents elsewhere in the Volume Group
       use:

	    pvmove /dev/sdb1

       Any mirrors, snapshots and their origins are left unchanged.

       Additionally, a specific destination device /dev/sdc1 can be specified like this:

	    pvmove /dev/sdb1 /dev/sdc1

       To perform the action only on extents belonging to the single Logical Volume lvol1 do this:

	    pvmove -n lvol1 /dev/sdb1 /dev/sdc1

       Rather than moving the contents of the entire device, it is possible to move a range of Physical Extents - for example numbers 1000 to 1999
       inclusive on /dev/sdb1 - like this:

	    pvmove /dev/sdb1:1000-1999

       To move a range of Physical Extents to a specific location (which must have sufficent free extents) use the form:

	    pvmove /dev/sdb1:1000-1999 /dev/sdc1

       or

	    pvmove /dev/sdb1:1000-1999 /dev/sdc1:0-999

       If the source and destination are on the same disk, the anywhere allocation policy would be needed, like this:

	    pvmove --alloc anywhere /dev/sdb1:1000-1999 /dev/sdb1:0-999

       The part of a specific Logical Volume present within in a range of Physical Extents can also be picked out and moved, like this:

	    pvmove -n lvol1 /dev/sdb1:1000-1999 /dev/sdc1

SEE ALSO
       lvm(8), vgconvert(8) pvs(8)

Sistina Software UK					 LVM TOOLS 2.02.95(2) (2012-03-06)						 PVMOVE(8)
All times are GMT -4. The time now is 08:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy