View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed May 17, 2006 5:11 am 
Offline
Joined: Wed Dec 14, 2005 8:26 pm
Posts: 84
Location: Northeast, USA
Hi All,

I have run into a bit of trouble in setting up LVM and hoping that there is an easy solution.

BACKGROUND
I had a fully working KnoppMyth box with a single 60 Gig (master) hard disk and I wanted to setup LVM with a second (slave) 300 gig hard disk. My attempt to manually setup LVM didn't go as planned (see thread Need Serious Help with Lilo - RESOLVED I completed the steps posted at LvmHowTo through Step 11.

Quote:
11. Reboot After rebooting your box should now be using the second drive as the /myth mount.


THE PROBLEM
After rebooting the system, my troubles began (see thread cited above) and my solution was to reinstall the KnoppMyth. This solution got KnoppMyth working again. Now it is time to set up LVM with the second 300 Gig disk.

When I went throught the manual LVM procedure again, I discovered that the 300 Gig disk already has LVM setup on it with a volume group.

I am unable to complete step Step 5 of the KnoppMyth Wiki LVMHowto

Quote:
5. Create the ext3 filesystem for the logical volume (/dev/vg/myth) you created. I used the recommendation from the manual install section of the Knoppmyth installation instructions page.

mke2fs -j -O sparse_super -m0 -i8000000 -L myth /dev/vg/myth


A message is returned saying that /dev/vg/myth cannot be found.

After searching the Internet, I haven't figured out how to remove LVM from 300 gig disk to start over.

POSSIBLE SOLUTIONS?
I am searching for possible solutions.

(1) Undo the LVM that is on 300 gig disk?

Unfortunately, I don't know how to do this and will need help.

(2) Use the automated lvm setup script.

Unsure if this will work because: (a) haven't successfully used this script before and (b) /dev/hda3 is not formatted as lvm (does it need to be?).

(3) Is there another solution I have not thought of?

Any help or suggestion will be greatly appreciated.

Dr. Hood

_________________
KnoppMyth: R5B7
Video Output: 27 inch TV (4:3)
Motherboard: Biostar K8NHA Grand mobo w/nForce3 250Gb
CPU: AMD Sempron 3000+ (1.8 Ghz)
RAM: 1024 Mb
Videocard: Radeon 9500 (64 Mb)
TV Tuner Card: PVR-350
Harddisk: WD160 Gb + Max 300 Gb


Last edited by Dr. Hood on Wed May 17, 2006 10:09 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 17, 2006 6:07 am 
Offline
Joined: Fri Nov 18, 2005 9:22 am
Posts: 777
Location: spencerport, ny (USA)
This site (LVM How-To) has lots of LVM tips.
http://www.tldp.org/HOWTO/html_single/LVM-HOWTO/#activatevgs


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 17, 2006 10:09 pm 
Offline
Joined: Wed Dec 14, 2005 8:26 pm
Posts: 84
Location: Northeast, USA
Thank you so much. That link did the trick. I was able to undue the LVM on the 300 gig disk by executing the following commands....

1. Deactivate the volume group

Quote:
vgchange -a n vg


2. Remove the logical volume

Quote:
lvremove vg


3. Remove the volume group

Quote:
vgremove vg


4. Delete the partition

Quote:
fdisk /dev/hdb

Command (m): d

Command (m): w


Thanks again!!

Dr. Hood

_________________
KnoppMyth: R5B7
Video Output: 27 inch TV (4:3)
Motherboard: Biostar K8NHA Grand mobo w/nForce3 250Gb
CPU: AMD Sempron 3000+ (1.8 Ghz)
RAM: 1024 Mb
Videocard: Radeon 9500 (64 Mb)
TV Tuner Card: PVR-350
Harddisk: WD160 Gb + Max 300 Gb


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu