LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-17-2006, 05:01 PM   #1
nmayotte
Member
 
Registered: Jan 2004
Location: Minnesota
Distribution: SuSE 8.0-9.0
Posts: 37

Rep: Reputation: 15
getting lvm support in knoppix


I'm trying to get this to work but am running into problems. I followed the steps on http://www.knoppix.net/wiki/LVM2 I had to run vgmknodes in order for /dev/VolGroup00 to be there.

Now when I run mount -t ext3 /dev/VolGroup00/LogVol00 /mnt/tmp it says:

Quote:
mount: wrong fs type, bad option, bad superblock on /dev/VolGroup00/LogVol00, missing codepage or other error
(could this be the IDE device where you in fact use ide-scsi so that sr0 or sda or so is needed?)
In some casses useful info is found in syslog - try dmesg | tail or so
So, I try dmesg | tail:
Quote:
EFS: cannot read colume header
EXT3-fs: unable to read superblock
I even tried mounting the / partition and copying the line from there that mounts the lvm, and putting it in knoppix's fstab and it says the same thing.

My guess is that one or both of the following is the culprit:

1. Two of the drives in the lvm are sata, the other 6 are ide. Maybe its not liking this.

2. I created raid array's on the drives, so there are md0, md1, md2. And then I did an lvm over those three arrays, so they are under one mount point. Do I need to do something extra in knoppix so iit has raid support?
 
Old 04-18-2006, 03:57 PM   #2
nmayotte
Member
 
Registered: Jan 2004
Location: Minnesota
Distribution: SuSE 8.0-9.0
Posts: 37

Original Poster
Rep: Reputation: 15
I'm thinking this isn't working because i have the drives in a software raid. But, I did make some progress.

So far I can bring up two of the raid array's in knoppix by doing: mdadm -A /dev/md0 /dev/hda1 etc and
mdadm -A /dev/md2 /dev/sda2 etc

but when I try to do mdadm -A /dev/md1 /dev/hde1 /dev/hdg1 /dev/hdi1 /dev/hdk1

it says:
mdadm:cannot open device /dev/hdi1: No such file or directory
mdadm: /dev/hdi1 has no superblock - assembly aborted

and sure enough hdi isn't listed when I do an fdisk -l and its not in fstab, hdk isn't their either, I think it just stops after one error, so it deson't complain about it too.

Why wouldn't knoppix see one of my other drives? When I boot into normal redhat it sees it just fine, and when I boot into rescue mode from the rhel install disc it sees it fine, just not it knoppix.
 
Old 04-18-2006, 04:14 PM   #3
nmayotte
Member
 
Registered: Jan 2004
Location: Minnesota
Distribution: SuSE 8.0-9.0
Posts: 37

Original Poster
Rep: Reputation: 15
AH, I got it partially working! I found this thread: http://www.linuxquestions.org/questi...hreadid=199631

and the instructions on there did the trick.

Basically knoppix doesn't like it when there are drives past hdh, so you have to do some leg work.

First, cat /proc/partitions this comes up with all the drives, and sure enough hdi and hdk were on there.


Then I used mknod -m 666 /dev/hdi b 56 0 and
mknod -m 666 /dev/hdi1 b 56 1

I repeated this with hdk and then tried the mdadm -A command again and it worked!

I'll move onto the lvm stuff next, you'll see another post if it doesn't go smooth

Last edited by nmayotte; 04-19-2006 at 02:07 PM.
 
  


Reply


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
Knoppix NTFS support itz2000 Linux - Newbie 5 01-28-2006 12:47 AM
Bootable Knoppix w/MD support!!! lil_drummaboy Linux - Distributions 0 12-29-2005 12:48 PM
Is there a knoppix with NTFS write support yet? Thaidog Linux - Newbie 4 12-05-2004 09:03 PM
Japanese support in kde/knoppix 3.3 kazuni Linux - Software 2 12-21-2003 10:22 PM
build kernel with LVM support raggmopp Linux - Software 0 06-20-2003 04:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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