LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   How to mount a LogVol into Knoppix? (http://www.linuxquestions.org/questions/linux-hardware-18/how-to-mount-a-logvol-into-knoppix-471366/)

polemon 08-06-2006 03:36 PM

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

WhatsHisName 08-07-2006 12:29 PM

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

polemon 08-07-2006 07:11 PM

I've got the latest Knoppix available.
Thanks for the help, I'll try right when I wake up tomorrow!

--polemon

polemon 11-26-2006 02:31 PM

O hi, I forgot to say 'thank you' it works perfectly!

satishp 07-05-2007 10:09 AM

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?

satishp 07-05-2007 10:19 AM

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-



All times are GMT -5. The time now is 06:32 PM.