LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 08-06-2006, 04:36 PM   #1
polemon
Member
 
Registered: Jun 2005
Distribution: Fedora 18, Ubuntu 11.10, Ubuntu Server 11.10, DamnSmallLinux 3.4.4, FreeDOS 1.1, OpenBSD 5.0
Posts: 194

Rep: Reputation: 31
How to mount a LogVol into Knoppix?


Hi.

I've got FC5, with the typical VolGroup00/LogVol00 partition on my SATA drive.

I'd dlike to mount that device into a Knoppix live System.

I can mount the /boot partition, but not the rest of it.

How can I do this?

I've tried looking for that on the internet, but I couldn't find anything handy for my problem.

I can scan the LVM System with the vgs and lvm commands under Knoppix, but I don't know, how to actually mount it into the running filesystem.

Please help

--polemon
 
Old 08-07-2006, 01:29 PM   #2
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
It mounts just like you mounted /boot, but you may need to activate the volume group first:

Code:
# vgscan --mknodes
# vgchange -ay
# lvscan
#
# mkdir /mnt/somename
# mount /dev/VolGroup00/LogVol00 /mnt/somename
But keep in mind, only the v5... (and presumably future versions of) Knoppix natively supports lvm2, which is used in FC5.

Also, the LVM HowTo is your friend: http://www.ibiblio.org/pub/Linux/doc...LVM-HOWTO.html

Last edited by WhatsHisName; 08-07-2006 at 01:33 PM.
 
Old 08-07-2006, 08:11 PM   #3
polemon
Member
 
Registered: Jun 2005
Distribution: Fedora 18, Ubuntu 11.10, Ubuntu Server 11.10, DamnSmallLinux 3.4.4, FreeDOS 1.1, OpenBSD 5.0
Posts: 194

Original Poster
Rep: Reputation: 31
I've got the latest Knoppix available.
Thanks for the help, I'll try right when I wake up tomorrow!

--polemon
 
Old 11-26-2006, 03:31 PM   #4
polemon
Member
 
Registered: Jun 2005
Distribution: Fedora 18, Ubuntu 11.10, Ubuntu Server 11.10, DamnSmallLinux 3.4.4, FreeDOS 1.1, OpenBSD 5.0
Posts: 194

Original Poster
Rep: Reputation: 31
O hi, I forgot to say 'thank you' it works perfectly!
 
Old 07-05-2007, 11:09 AM   #5
satishp
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Rep: Reputation: 0
Not able to mount LVM volume using Knoppix

Using Knoppix 5.1.1

followed the instruction
"mount /dev/VolGroup00/LogVol00 /mnt/mount_point" and it is giving me the output
"mount: you must specify the filesystem type"

I also tried using

"mount -t {ext3|ext2|reiserfs} /dev/VolGroup00/LogVol00 /mnt/mount_point" and it gives me

mount: wrong fs type, bad option, bad superblock on /dev/mapper/VolGroup00-LogVol00,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so


This is the output of "vgscan" and "lvscan"

$lvm vgscan
Reading all physical volumes. This may take a while...
Found volume group "volGroup00" using metadata type lvm2


$lvm lvscan
ACTIVE '/dev/VolGroup00/LogVol00' [75.69 GB] inherit
ACTIVE '/dev/VolGroup00/LogVol01' [512.00 MB] inherit


Any suggestions, what i can do to mount and read LogVol00?
 
Old 07-05-2007, 11:19 AM   #6
satishp
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Rep: Reputation: 0
lvdisplay and dmesg

Adding the output of lvdisplay

PHP Code:
lvm lvdisplay
  
--- Logical volume ---
  
LV Name                /dev/VolGroup00/LogVol00
  VG Name                VolGroup00
  LV UUID                daCkzm
-I720-LrN0-098G-Py2g-lyhB-9dv6CR
  LV Write Access        read
/write
  LV Status              available
  
# open                 0
  
LV Size                75.69 GB
  Current LE             2422
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           254
:0

  
--- Logical volume ---
  
LV Name                /dev/VolGroup00/LogVol01
  VG Name                VolGroup00
  LV UUID                1lEmze
-vHPh-amfz-pvW0-wm7c-T4Jo-QKZkeJ
  LV Write Access        read
/write
  LV Status              available
  
# open                 0
  
LV Size                512.00 MB
  Current LE             16
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           254
:
and dmesg

PHP Code:
ReiserFSdm-0warningsh-2021reiserfs_fill_supercan not find reiserfs on dm-0
hda
dma_intrstatus=0x51 DriveReady SeekComplete Error }
hdadma_intrerror=0x40 UncorrectableError }, LBAsect=209261sector=209229
ide
failed opcode wasunknown
end_request
I/O errordev hdasector 209229
Buffer I
/O error on device dm-0logical block 0
hda
dma_intrstatus=0x51 DriveReady SeekComplete Error }
hdadma_intrerror=0x40 UncorrectableError }, LBAsect=209261sector=209237
ide
failed opcode wasunknown
end_request
I/O errordev hdasector 209237
Buffer I
/O error on device dm-0logical block 1
hda
dma_intrstatus=0x51 DriveReady SeekComplete Error }
hdadma_intrerror=0x40 UncorrectableError }, LBAsect=209261sector=209245
ide
failed opcode wasunknown
end_request
I/O errordev hdasector 209245
Buffer I
/O error on device dm-0logical block 2
hda
dma_intrstatus=0x51 DriveReady SeekComplete Error }
hdadma_intrerror=0x40 UncorrectableError }, LBAsect=209261sector=209253
ide
failed opcode wasunknown
end_request
I/O errordev hdasector 209253
Buffer I
/O error on device dm-0logical block 3
hda
dma_intrstatus=0x51 DriveReady SeekComplete Error }
hdadma_intrerror=0x40 UncorrectableError }, LBAsect=209261sector=209261
ide
failed opcode wasunknown
end_request
I/O errordev hdasector 209261
Buffer I
/O error on device dm-0logical block 4
ReiserFS
dm-0warningsh-2021reiserfs_fill_supercan not find reiserfs on dm-
 
  


Reply

Tags
fedora 5, knoppix, lvm


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 mount point skibud2 Linux - Software 5 03-04-2006 12:15 PM
Resizing partition with LogVol Arkanoid Linux - General 3 10-09-2005 08:34 AM
Can knoppix mount XFS? Thaidog Linux - Newbie 2 09-09-2004 08:56 AM
Knoppix Mount Question Le_Petit_Lapin Linux - Newbie 7 09-02-2004 08:58 PM
mount hd in knoppix questionasker Linux - General 2 02-17-2004 10:16 PM


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