Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th April 2007, 07:43
aqva aqva is offline
Junior Member
 
Join Date: Apr 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default question about lvm and ext3 file system

hi folks,

first post on howtoforge forum, sorry if i m stupid, thanks for readin this.
i have been into linux for the last 8 months, i use debian/gnu linux and i love it.
i have been experimenting with a lot of things, in order to learn linux. my latest task was to install debian with xen on an lvm containing root partition, so that i can cut some of my time installing debian again and again due to disk space or mistakes i make.
i wanted to do it so badly....i thought it will be the end of my noobhood.
and i eventually got it running after reading stuff and doing things for almost one and half week.
but i made a mistake. i made a volume group with 2 partitions, one of them containg some old data. here is how i did it:
#pvcreate /dev/hda67 /dev/hda8
#vgcreate vg00 /dev/hda7 /dev/hda8
#lvcreate --name root --size 3G vg00
#mke2fs -j /dev/vg00/root
#mount -t ext3 /dev/vg00/root /mnt
#find / -xdev | cpio -pvmd /mnt
after i created the fstab and other necessary files.
and i got it booting.
but then i realized that /dev/hda7 was the one where i had some important data.

so my question is whether i can recover data from /dev/hda7?
your suggestions and scoldings are always welcome.
please help me to be a linux genious.

and i think it would be a great idea for a howto: "installing debian with xen on a root partition containing lvm+raid1"
Reply With Quote
Sponsored Links
  #2  
Old 8th April 2007, 15:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by aqva
but then i realized that /dev/hda7 was the one where i had some important data.

so my question is whether i can recover data from /dev/hda7?
No, because you've already formatted the partitions.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 9th April 2007, 06:03
aqva aqva is offline
Junior Member
 
Join Date: Apr 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Thank you Falko,

Thanks a lot.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
LVM config and Quota? d3m0nic Installation/Configuration 2 22nd July 2006 19:34
FC4 - How to remove LVM after hard drive crash? pudn Technical 4 10th April 2006 09:32
Xen: Smp & Lvm zokahn HOWTO-Related Questions 5 27th January 2006 10:28


All times are GMT +2. The time now is 19:15.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.