LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-06-2016, 11:11 AM   #1
christr
LQ Newbie
 
Registered: Sep 2011
Posts: 25

Rep: Reputation: Disabled
LVM - Import Volumes from Unimported Disk - Fedora / Red Hat


I have an issue where a new Fedora system was built to replace an old one. The old disk of the system that no longer exists has been plugged into the new system. I need to be able to mount the LVM disk and start copying data off of it.

Code:
Disk /dev/sdb: 279.4 GiB, 300000000000 bytes, 585937500 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x56s6e569

Device     Boot Start       End   Sectors   Size Id Type
/dev/sdb1        2048 585936895 585934848 279.4G 8e Linux LVM
I've worked with LVM extensively over the years, and this sounds like a fairly simple task. However, it wasn't possible to manually export any volumes off the old system. I also don't know the names of what the original volume groups were. I've tried various pvscan, pvdisplay, etc... commands trying to get into this disk, but so far no luck. Any ideas?

Thanks
 
Old 09-06-2016, 11:53 AM   #2
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 548

Rep: Reputation: 72
What's the output of pvscan? What's the output of lvmdiskscan?

step 1 is pvscan
step 2 is vgimport
step 3 is vgchange
step 4 is setup the new mount point and fstab entry.

http://tldp.org/HOWTO/LVM-HOWTO/reci...gtonewsys.html

Last edited by mpapet; 09-06-2016 at 11:56 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with Booting "red hat". disk volumes issue terminator01 Red Hat 1 08-15-2015 01:38 PM
LVM Problem - vgimport - wrong number of physical volumes to import volume group Anything1 Linux - Software 0 09-06-2003 08:18 PM
import Netscape Bookmaks from Windows to Red Hat 7.3 plexi100 Linux - Software 1 08-03-2003 10:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:05 AM.

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