Hi,

I usually do the following when mounting LVM partitions with ubuntu livecd:

* modprobe dm_mod
* pvscan 
* vgchange -ay
* mount /dev/mapper/lvm /mnt

--

Greek Ordono 

myppa: launchpad.net/~grexk/+archive/ppa

--- On Wed, 7/29/09, Johann Vincent Paul Tagle <[email protected]> wrote:

From: Johann Vincent Paul Tagle <[email protected]>
Subject: [plug] compromised and/or failing hardware, mounting an LVM partition  
elsewhere
To: "Philippine Linux Users' Group (PLUG) Technical Discussion List" 
<[email protected]>
Date: Wednesday, July 29, 2009, 2:58 PM

Hi all,

We have a machine on Oracle Linux running for around 2 years.  It only hosts 
test apps but it has a public IP because people are testing from multiple 
places.  A few days ago we started encountering problems.  Some symptoms:


1.  Frequently becomes inaccessible.  We end up doing hard reboot
2.  Slow boot-up and response time
3.  When you log on to the graphical console, instead of the expected gnome, it 
suddenly gives only the very basic X windows - xterm, etc

4.  No account can log on to shell (whether switching from X to shell or when I 
modified to inittab to boot only to shell).  This is using the same usernames 
and passwords that were able to log using GUI.
5.  I moved the hard-disk to another machine, boot up was a lot better


3 and 4 makes me think security was compromised.  2 and 5 tells me hardware has 
problems too.  But right now fixing and investigating that is secondary vs 
extracting certain data from the drive.  Once I changed inittab and rebooted, I 
could no longer log on.  So my next option is to mount the drive on another 
machine or via a live cd.  This is where I got reminded that the main partition 
on the drive is formatted for LVM.  How do you manually mount such a drive?  
Getting confused with the stuff I found while googling.


Thanks

Johann



-- 
Web application and database consulting: www.sagadasolutions.com


-----Inline Attachment Follows-----

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph


      
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to