Sponsored Content
Operating Systems AIX Copying LVs from disk1 to disk0 Post 302741407 by bakunin on Saturday 8th of December 2012 04:27:57 PM
Old 12-08-2012
In your place I'd use a mirrored "rootvg" because "production system" sounds way to important to run the chance of a simple disk failure to play show stopper.

Having said this, if the two disks are in the same (root-)VG (as they appear to be) you can either create LV-copies on the other disk via LVM-mirroring, then, after syncing, break up the mirror and remove the copy on the disk you want to make free. Or you can use the migratepv to accomplish the same. Have a look at the man page for a detailed description.

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

copying

I am using AIX version 5.1 I would like to copy my log files to another directory and timestamp them or add the date to the file name so I can distinguish them apart and keep 4weeks of files in this directory. so I usally do this cp rptlog /dump/backup.log.files I would like the the file... (5 Replies)
Discussion started by: rocker40
5 Replies

2. Solaris

unable to boot from disk1

I had installed solaris 10 on 440 on disk 0. I had done ufsrestore on disk1 from tape and then rebooted Rebooting with command: boot disk1 Boot device: /pci@1f,700000/scsi@2/disk@1,0 File and args: SunOS Release 5.10 Version Generic_118833-24 64-bit Copyright 1983-2006 Sun Microsystems,... (3 Replies)
Discussion started by: vr76413
3 Replies

3. Shell Programming and Scripting

copying currentfile

Dear Experts in my system after some time the new file is generating ans the naming convention can be of any type of that file so what i need i just want to make a script which will run and copy the current file to my folder cany any one tell me how to do this ........... take care... (5 Replies)
Discussion started by: shary
5 Replies

4. Programming

Copying!

Can anybody point out the difference between shallow copying, deep copying and bitwise copying in C++? (2 Replies)
Discussion started by: areef4u
2 Replies

5. AIX

High Disk0 & Disk1 Utilization

Dear all, A p505 Server with AIX 5.3 is running our backofice System. It contains several Data Bases that its DB is on individual VG I have a big utilization at the OS Disks, Please see bellow topas results. Any ideas? Thanks in advance George Govotsis ... (5 Replies)
Discussion started by: ggovotsis
5 Replies

6. AIX

Remove volume group it's lvs and filesystems after vg's pv was deleted ?

Hi, Physical volume of vg was removed permanently by acident. What I need right now is to remove all vg's objects(vg itself, vg's lvs, vg's filesystems) to prepare to add new pv and create new volume group and it's objects. This is from reducevg manual: "Sometimes a disk is removed from the... (2 Replies)
Discussion started by: vilius
2 Replies

7. Red Hat

Lvs

Dear All i have two proxy servers for my office which run RHEL-4 and squid 2.5, i wanted to configure LVS (Linux Virtual Server) on these two machines for load balancing and fail over between two machines, can any one help regarding this thanks (1 Reply)
Discussion started by: surfer24
1 Replies

8. Solaris

Solaris 10 init 0 and boot disk1 on same command line

Hello all, Fairly simple question here. I know that in Solaris 10 there is a way to tell a system running solaris 10 to init 0 and then boot disk1 all in the same command line from a SSH window. That way once you hit enter it then performs the init 0 and then does the boot disk1. ... (2 Replies)
Discussion started by: tording99z28
2 Replies

9. UNIX for Advanced & Expert Users

LVS AND HEARTBEAT

Hi there, anybody can help me get a manual or a website where LVS and Heartbeat for UBUNTU (please not for REDHAT ) is hosted. Any help will be much appreciated. neuvin (0 Replies)
Discussion started by: neuvinapp
0 Replies

10. UNIX for Beginners Questions & Answers

Boot disk0

Good Morning, I cloned a SunBlade Solaris 9 machine and have started it up, but it only comes up to the ok> prompt. I can boot disk0 and it starts up as I expect into the login screen. How can I make this happen automatically like on the other machine? (2 Replies)
Discussion started by: Stellaman1977
2 Replies
volreattach(8)						      System Manager's Manual						    volreattach(8)

NAME
volreattach - Reattaches disk drives that have once again become accessible SYNOPSIS
/usr/sbin/volreattach [-rb] [accessname...] /usr/sbin/volreattach -c accessname OPTIONS
The volreattach utility has the following options: Calls the volrecover utility to attempt to recover stale plexes of any volumes on the failed disk. Performs the reattach operation in the background. Checks whether a reattach is possible. No operation is performed, but the name of the disk group and disk media name at which the disk can be reattached is displayed. DESCRIPTION
The volreattach utility attempts to reattach disks using the same disk group and media names they had before detachment. This operation may be necessary if a disk has a transient failure, or if some disk drivers are unloaded or unloadable when the Logical Storage Manager is started, causing disks to enter the failed state. If the problem is fixed, the volreattach command can be used to reattach the disks without plexes being flagged as stale, as long as the reattach happens before any volumes on the disk are started. The volreattach command is called from the voldiskadm menus as part of disk recovery. The volreattach utility tries to find a disk with a disk group and disk ID matching that of the disk(s) being reattached. If the matching disk is found, the reattach operation may still fail if the original cause (or some other cause) for the disk failure still exists. EXIT CODES
A zero exit status is returned if it is possible to perform a reattach. Otherwise, non-zero is returned. SEE ALSO
volintro(8), voldiskadm(8), volrecover(8) volreattach(8)
All times are GMT -4. The time now is 08:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy