LinuxQuestions.org
Help answer threads with 0 replies.
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 12-28-2011, 10:35 AM   #1
rgbeard
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Rep: Reputation: 0
Mounting an LVM Volume


I have a 1TB USB disk that I use for storage.
OS is Redhat 5.6
FS Type is ext3

I used Redhat's LVM to build the Logical volume, and all is normally well.

now my /dev/TSMVG/TSMLV is missing, and the LVM GUI shows /dev/sdc1 as an uninitialized entry.

I doubt anything is really "wrong" with the disk itself, and just want to get it to where I can mount it.

I plugged the disk into a CentOS laptop to verify that it functions - and ran fdisk just to print the partition table. It gave me:


Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 121602 976762583+ 8e Linux LVM



Where can I go from here? I really don't want to lose all the data.
 
Old 12-28-2011, 10:56 AM   #2
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Hi,

maybe mounting LVM or this will help you.

good luck
 
Old 12-28-2011, 10:56 AM   #3
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 193Reputation: 193
Does the LVM show up in any of the LVM tools scans? (vgscan, lvscan, lv/pv/vgdisplay etc)

If it doesn't show up in lvscan, since its on a USB device, you may need to manually activate the VG.

Code:
 # vgchange -a y $lvname
May activate the VG allowing you to mount it normally.

Unfortunately, i cant help with the LVM GUI, I have no experience with it.
 
Old 12-28-2011, 09:20 PM   #4
rgbeard
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Well I feel silly, but figured I would post my resolution.

I'm not command-line savvy on LVM for Linux. On AIX that's another issue, I'm mostly kung-fu-master over there.

I simply rebooted the server, making sure the USB disk was powered on prior.

That made sure LVM did the correct scan and built the special devices.

All is fine now.

I just need to learn more about Linux/LVM.
 
  


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
LVM Mount Physical Volume/Logical Volume without a working Volume Group mpivintis Linux - Newbie 10 01-11-2014 07:02 AM
Encrypted, LVM volume /home not recognizing (global) passphrase and so not mounting saivnoba Fedora 3 10-30-2011 10:24 AM
can't recover LVM volume: Please specify a *single* volume group to restore SoftDux Linux - General 1 08-04-2011 03:31 PM
Fedora LVM volume group & Physical Volume resize problem gabeyg Fedora 1 05-14-2008 11:26 AM
LVM volume mounting trouble SergeyAC Linux - Software 3 04-11-2005 01:28 PM

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

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