LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-16-2015, 01:43 AM   #1
rohitchauhan
Member
 
Registered: Nov 2010
Distribution: RedHat
Posts: 97

Rep: Reputation: Disabled
how to vgsplit without loosing the data


Hi,

If I do the 'vgsplit', will I loose all the data saved in the LVs created on the VG (of which I have splitted) ? If yes, how can I not loose the data after vgsplit ?

My scenario:
pv1 -| |- lv00 -> mounted on /backup1 (and contains some data)
| - vg00 - |
pv2 -| |- lv01 -> mounted on /backup2 (and contains some data)

Now i want to split the VG so that LV00 and LV01 could have a separate PV and VG such as:
pv1 -> vg00 -> lv00
pv2 -> vg01 -> lv01

I was able to split the VG00 but then I was not able mount the LV00, LV01 and I also lost the data.

Any way to achieve this ?

I am using RHEL 5.6 !

Thanks.
 
Old 06-16-2015, 04:15 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,133

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
"man lvm" will give you a list of commands. If supported back that far, start with pvmove to make sure the lvs are contained in the separate pv first.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to format linux os without loosing data suresh.k Linux - Newbie 6 03-01-2012 12:08 AM
Partitioning and not loosing data linuxbeatswindows Linux - General 13 11-02-2009 04:18 PM
Reinstalling ubuntu 8.10 without loosing data huu Linux - Newbie 2 05-18-2009 02:31 AM
C sockets loosing data? greeklegend Programming 8 01-10-2008 04:40 PM
Loosing power and data flycast Linux - Hardware 2 04-15-2007 01:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration