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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-06-2006, 03:36 PM
|
#1
|
|
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:
|
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
|
|
|
|
08-07-2006, 12:29 PM
|
#2
|
|
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151
Rep:
|
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 12:33 PM.
|
|
|
|
08-07-2006, 07:11 PM
|
#3
|
|
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:
|
I've got the latest Knoppix available.
Thanks for the help, I'll try right when I wake up tomorrow!
--polemon
|
|
|
|
11-26-2006, 02:31 PM
|
#4
|
|
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:
|
O hi, I forgot to say 'thank you' it works perfectly!
|
|
|
|
07-05-2007, 10:09 AM
|
#5
|
|
LQ Newbie
Registered: Mar 2006
Posts: 13
Rep:
|
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?
|
|
|
|
07-05-2007, 10:19 AM
|
#6
|
|
LQ Newbie
Registered: Mar 2006
Posts: 13
Rep:
|
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:1
and dmesg
PHP Code:
ReiserFS: dm-0: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on dm-0
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=209261, sector=209229
ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 209229
Buffer I/O error on device dm-0, logical block 0
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=209261, sector=209237
ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 209237
Buffer I/O error on device dm-0, logical block 1
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=209261, sector=209245
ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 209245
Buffer I/O error on device dm-0, logical block 2
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=209261, sector=209253
ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 209253
Buffer I/O error on device dm-0, logical block 3
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=209261, sector=209261
ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 209261
Buffer I/O error on device dm-0, logical block 4
ReiserFS: dm-0: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on dm-0
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:17 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|