Copying LVs from disk1 to disk0

Thread Tools Search this Thread
Operating Systems AIX Copying LVs from disk1 to disk0
# 1  
Old 12-08-2012
Copying LVs from disk1 to disk0

Dear i have two internal disks in one production system some LVs are created in hdisk0 and the remaining are created in hdisk1 i want to move all this LVs to hdisk0 and make the hdisk1 free to install my application .

lspv -l hdisk0
hd4 16 16 00..04..12..00..00 /
hd8 1 1 00..00..01..00..00 N/A
hd5 1 1 01..00..00..00..00 N/A
hd10opt 16 16 00..08..08..00..00 /opt
hd3 24 24 00..00..24..00..00 /tmp
hd9var 4 4 00..00..04..00..00 /var
hd2 32 32 00..00..32..00..00 /usr
lspv -l hdisk1
hd6 16 16 00..16..00..00..00 N/A
hd1 4 4 00..03..01..00..00 /home
hd9var 12 12 00..08..04..00..00 /var
livedump 2 2 00..02..00..00..00 /var/adm/ras/livedump
lg_dumplv 12 12 00..12..00..00..00 N/A
hd11admin 1 1 00..00..01..00..00 /admin

Last edited by bakunin; 12-08-2012 at 06:28 PM.. Reason: CODE-tags instead of PHP-tags
# 2  
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.

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. UNIX for Advanced & Expert Users


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

3. 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

4. Red Hat


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

5. 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

6. 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

7. Programming


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

8. 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

9. 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

10. UNIX for Dummies Questions & Answers


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
Login or Register to Ask a Question

Featured Tech Videos