How to migrate a running lvm.?


 
Thread Tools Search this Thread
Operating Systems Linux How to migrate a running lvm.?
# 1  
Old 08-03-2016
How to migrate a running lvm.?

Hi all,

Please explain how do i. Migrate and backup a running lvm..!!

Thanks,

Sent from my LG-D802 using Tapatalk
# 2  
Old 08-04-2016
When you say 'a running lvm', I presume you mean that there is a logical volume that you wish to move and either the raw device is open by an application or database; or there is a mounted filesystem built on it. In either case the included tools should do the job for you, however there are a few rules to consider:-
  • The logical volume can only be moved within the volume group
  • Primary & secondary (even tertiary) copies logical partitions (LPs) may not share the same disk
  • Perhaps something else?
Can you share though output from:-
Code:
df -k filesystem
vgdisplay -v vgname
lvdisplay -v lvname

Are you adding space to your volume group at the same time, or is there space available? It would be good to know the target area you wish to move it to.



Kind regards,
Robin
# 3  
Old 08-05-2016
Close the thread... Worked it out.. !!

Sent from my LG-D802 using Tapatalk
# 4  
Old 08-05-2016
Hi lordkizzo,
Since you solved your problem, we would appreciate it if you would tell us how you did it. That way, other people reading your thread will be able to learn from your experience.
This User Gave Thanks to Don Cragun For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Migrate AIX to new Hardware

Hello Friends/AIXgurus, When you have time, could you please look into below. We're planning to migrate AIX LPARs on to new Hardware. Requirement: Migrate AIX LPARs from POWER 6 to POWER 8 Hardware (*everything should run as is after the transition) Below is our thought process. Ours... (5 Replies)
Discussion started by: System Admin 77
5 Replies

2. Shell Programming and Scripting

Migrate from FTP to SFTP

Hi,I am using following code for FTP in shell script file and it is working.Now I want to migrate from FTP to SFTP.What code changes/steps I have to perform for SFTP ? ftp -in <<FIN open $SAP_UP_SERVER user $SAP_UP_USER $SAP_UP_PASSWORD asc put... (7 Replies)
Discussion started by: Nitin Varshneya
7 Replies

3. BSD

Migrate a Hard Disk

hi Has anyone already tried to migrate a hard disk with FreeBSD using recoverdisk? (1 Reply)
Discussion started by: ccc
1 Replies

4. UNIX for Dummies Questions & Answers

How to convert non LVM root partition to LVM?

Hi Guys, I m using redhat 6, I have installed root partition as non-LVM . Is there any way i can convert it to LVM? (1 Reply)
Discussion started by: pinga123
1 Replies

5. AIX

AIX LVM migrate lp

Hi, I have questions about unix AIX's lvm. Is there some problem to do migrate lp into a mirrored vg or should i break the mirror before? Is necessary to run reorgvg after I migrate lp ? thanks (1 Reply)
Discussion started by: alfastar
1 Replies

6. Linux

Mysql Migrate

Hi , I would like to (MYSQL) migrate the all the data from solari's to linux box. I have checked whether mysql is installed or not. rpm -qa | grep -i mysql I confirmed !!!! I want to know the following points. 1) How can get to know what are mysql data files and location as well.... (4 Replies)
Discussion started by: Mani_apr08
4 Replies

7. HP-UX

How to reduce LVM to create another LVM

Hi, I'm new to HP-UX. I have LVM on /var with 92Gig. I would like to reduce it to create another LVM for Oracle client with 800 meg or so. How to do it. I'm running 11.iv3 Thanks (4 Replies)
Discussion started by: lamoul
4 Replies

8. AIX

can we migrate program running on ca easytrieve 6.2 directly to ca easytrieve r11

hi i want to know if we can migrate programs running on ca easytrieve 6.2 to ca easytrieve r11. If we cant what changes do we need to make (0 Replies)
Discussion started by: rohit510
0 Replies

9. AIX

disk space shortage, how to migrate to LVM?

Hello I'm working on AIX 6.1. I inherited something I do not know and now I need to bring it into the line. # df -m Filesystem MB blocks Free %Used Mounted on /dev/hd4 | 256.00 | 87.09 | 66% / /dev/hd2 | 4608.00 | 82.45 | 99%... (11 Replies)
Discussion started by: michalwu
11 Replies

10. UNIX for Dummies Questions & Answers

How to migrate ?

Currently, I am planning a migration between machine which under True64UNIX. The new machine will run with higher version O/S. My question is, is there any solution on migrating one machine to another which with different O/S version? My goal is keeping minimum impact to the users. Excuse my... (1 Reply)
Discussion started by: coolmans
1 Replies
Login or Register to Ask a Question