LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-24-2012, 01:09 PM   #1
mirkobrehn
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Rep: Reputation: Disabled
Mount LVM partition from a new group


Hello,

We have had a controller failure and moved the LVM disk to another server.

Now the question is: How to mount this particular volume/partition (/dev/sdb3) and create the needed block device?


Code:
[root@x3430-24403 /]# pvscan
  PV /dev/sdb3   VG sys-0xx9   lvm2 [461.22 GB / 0    free]
  PV /dev/sda3   VG sys-oxp4   lvm2 [461.22 GB / 0    free]
  Total: 2 [922.44 GB] / in use: 2 [922.44 GB] / in no VG: 0 [0   ]
Thanks!
 
Old 03-24-2012, 01:22 PM   #2
mirkobrehn
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
The trick was to mark VG active with "vgchange -ay":

Code:
  inactive          '/dev/sys-0xx9/root' [457.22 GB] inherit
  inactive          '/dev/sys-0xx9/vartmp' [2.00 GB] inherit
  inactive          '/dev/sys-0xx9/tmp' [2.00 GB] inherit
  ACTIVE            '/dev/sys-oxp4/root' [457.22 GB] inherit
  ACTIVE            '/dev/sys-oxp4/tmp' [2.00 GB] inherit
  ACTIVE            '/dev/sys-oxp4/vartmp' [2.00 GB] inherit
Thanks for watching anyway...
 
1 members found this post helpful.
Old 03-24-2012, 01:28 PM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Thanks for sharing the solution
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount multiple lvm's with the same group name effiko Linux - Enterprise 1 05-09-2011 02:08 PM
mount lvm partition ufmale Linux - Newbie 6 04-06-2009 08:36 PM
Creating an LVM Volume Group with a mounted ext3 partition alexpacio Linux - Software 1 11-09-2008 02:44 PM
lvm:didn't do pvcreate on partition, before adding it to volume group kpachopoulos Linux - General 3 03-11-2007 08:22 AM
Partitions under LVM Volume Group won't mount after install jimisola Mandriva 4 11-16-2005 04:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:43 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