LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Closed Thread
  Search this Thread
Old 03-02-2006, 05:59 AM   #1
sambyte
Member
 
Registered: Feb 2006
Distribution: Redhat 9
Posts: 38

Rep: Reputation: 15
Unhappy LVM...pls help


Hi,

I need to know if a primary partion(other than /boot as converting it to LVM can cause the machine to stop functioning ) can be converted to LVM ? I tried this out with an logical partition under extended and it works fine. The steps are :
starting with #fdisk /dev/sda and then changed my partition id of that partition to 8e. After that pressing w
i type partprobe to save the changes. Next i create a PV with the command pvcreate /dev/sda3(3 for example).

Next #vgcreate vg0 /dev/sda3

Next #lvcreate -L 100M -n lv0 vg0

eveything is working fine as i can see with the commands like pvdisplay,lvdisplay,vgdisplay

The next step causes all the problem
#mke2fs -jv /dev/vg0/lv0

It gives me an error saying
"Cannot stat device " or " have you specified the device correctly "

This command works fine in an logical partition but in a primary partition it gives me the error.
 
Old 03-02-2006, 08:09 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,430

Rep: Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

Continue here:
http://www.linuxquestions.org/questi...d.php?t=420834
 
  


Closed Thread


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
LVM...pls help sambyte Linux - General 9 03-07-2006 12:42 AM
Lvm sudheendra.ss Linux - General 1 05-03-2005 07:36 PM
Lvm uselpa Slackware 1 03-03-2005 06:44 AM
Help on LVM! sti2envy Linux - Newbie 1 10-04-2004 07:44 AM
pls pls pls help me ! i'm tired with httpd config on fedora apache 2.0.48 AngelOfTheDamn Fedora 0 01-24-2004 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration