LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-01-2012, 11:11 PM   #1
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,649
Blog Entries: 4

Rep: Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934
Re-imaged 1&1 Server with an LVM ... definitions are gone but can I get them back?


I had to re-image a server at 1&1 that (stupidly...) I allowed to be left running with their vanilla "Plesk." It has a fairly large LVM disk, but of course after re-imaging all of the LV's are back at their tiny size.

What I would like to know is ... (presuming that they didn't throw away the PV too?) ... is that data still there? Is there a way to get to it?

(I'm not pulling my hair out or anything if it isn't, because this is a throw-away test server, but it would of course be nice if...)

P.S.: What little 1&1 says about this is here:
http://faq.1and1.com/dedicated_serve...in_help/7.html

Postscript: Notes left by the previous engineer are a bit sketchy, but there is an empty /opt mount-point directory here and, IIRC, what probably happened on this box is that a new LV was allocated, of some unknown-to-me size, instead of extending the original cramped file systems (which of course would be a destructive process). The existing LV's probably weren't ever re-defined.

Is it reasonable to allocate an LV and then to see if there magically happens to still be a filesystem there?

Last edited by sundialsvcs; 04-02-2012 at 06:37 AM.
 
Old 04-03-2012, 11:34 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
If you boot into their Rescue System can you use LVM tools to see if pvscan, vgscan and lvscan still see data residing on the disk? If that works maybe you can SCP testdisk over and run diagnosis with that too? BTW do you have a backup of /etc/lvm data?
 
  


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
recreate server on another server, not imaged qwertyjjj Linux - Server 4 08-25-2011 12:15 AM
LXer: Back Up LVM XEN Guest Containing LVs LXer Syndicated Linux News 0 02-16-2009 08:30 AM
LXer: Back Up (And Restore) LVM Partitions With LVM Snapshots LXer Syndicated Linux News 0 04-17-2007 11:16 AM
I screwup LVM Just want the data back DropSig Linux - General 0 11-28-2005 08:28 PM
Mount Imaged NTFS Drive quentusrex Linux - General 1 05-25-2005 05:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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