Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-04-2004, 04:47 AM   #1
Registered: Sep 2004
Posts: 43

Rep: Reputation: 15
Help on LVM!

I'm playing around with setting up LVM..accidentally ran pvcreate on sda1 and sda2 which are my root / and /home partitions!! I was suppose to run pvcreate on sdb1 and sdb2.. now i appear to have no files in / ?? I cant even find the pvremove to undo the change..I have tried booting to rescue mode using cd 1. It says "You don't have any Linux paritions. Press return to get a shell. The system will reboot automatically after you exit from the shell". In the shell, i have the directories bin, etc, linuxrc, mnt, oldtmp, sbin, usr, dev, lib, lost+found, modules, proc, tmp, var. Commands for PV are only pvchange, pvcreate, pvdata, pvdisplay, pvmove, pvscan.

Can someone help pls.. i dun really want to reinstall it as I want to learn to to fix and troubleshoot problems as they come. Thanks.
Old 10-04-2004, 06:44 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
If you have no files in / you most likely wiped your whole filesystem. The rescue cd might have those directories when going into rescue mode but I doubt it will rescue you if you've wiped everything. Confirm that before moving along.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to get LVM mailnickykav Red Hat 1 03-01-2005 02:22 PM
lvm Ammad Linux - General 2 02-22-2005 08:19 PM
LVM on RH AS 2.1 yoggieb Linux - Enterprise 2 07-18-2004 05:49 AM
To LVM or not to LVM? illtbagu Linux - Software 3 12-29-2003 04:17 PM
Lvm Kroenecker Linux - Newbie 1 12-29-2003 01:52 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration