LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 08-28-2005, 04:59 PM   #1
vbtalent
Member
 
Registered: Aug 2005
Posts: 48

Rep: Reputation: 15
Mounting a JFS LVM


This is my first post so go easy on me...

I need some help mounting a logical volume. The LVM existed prior to a re-install of the OS FC3 and now I can't mount it? I failed to use the switch 'linux jfs' when doing the re-install for enabling JFS.

Does the kernel need to be recompiled? I thought FC3 supported jfs?

[root@myth ~]# vgdisplay -v
Finding all volume groups
Finding volume group "VolGroup00"
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 2
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 140.34 GB
PE Size 32.00 MB
Total PE 4491
Alloc PE / Size 4490 / 140.31 GB
Free PE / Size 1 / 32.00 MB
VG UUID MgtbZF-YwPz-QxTi-ZB4U-bPOV-jMBy-fzO4EI

--- Logical volume ---
LV Name /dev/VolGroup00/VGforMyth
VG Name VolGroup00
LV UUID wh17e4-mGEJ-FwMv-ESpY-7Oc2-kzTf-uEdhjZ
LV Write Access read/write
LV Status available
# open 0
LV Size 140.31 GB
Current LE 4490
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0

--- Physical volumes ---
PV Name /dev/hda5
PV UUID 8BiXq5-ZKdF-CJv8-qTlc-s4hI-WVz0-sb9sFj
PV Status allocatable
Total PE / Free PE 4491 / 1

[root@myth ~]# mount /dev/VolGroup00/VGforMyth /video
mount: wrong fs type, bad option, bad superblock on /dev/VolGroup00/VGforMyth,
or too many mounted file systems
 
Old 08-29-2005, 12:23 AM   #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
jfs support should already be available as a module, if you are using a standard kernel.

No guarantees, but try this:

mount -t jfs /dev/VolGroup00/VGforMyth /video

Or you may need to activate the LVM like this:

vgscan
lvscan
vgchange -a y
lvscan
mount -t jfs /dev/VolGroup00/VGforMyth /video
 
Old 08-29-2005, 07:10 AM   #3
vbtalent
Member
 
Registered: Aug 2005
Posts: 48

Original Poster
Rep: Reputation: 15
Thanks for the post.

When trying 'mount -t jfs /dev/VolGroup00/VGforMyth /video'

I got the same error, mount: wrong fs type, bad option, bad superblock on /dev/VolGroup00/VGforMyth,
or too many mounted file systems

I'm curious about activating it? can you give me some detail on how that's supposed to work? Does that basically tell the OS that the LVM is present?

vgscan
lvscan
vgchange -a y
lvscan
mount -t jfs /dev/VolGroup00/VGforMyth /video
 
Old 08-29-2005, 10:47 AM   #4
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 may already be activated, where “activated” just means that the kernel is aware of the LVM.

Run lvscan and see if it is on the list. If not, then it needs to be activated before it can be accessed.

Regarding LVM maintenance, there is a good HowTo here http://www.ibiblio.org/pub/Linux/doc...LVM-HOWTO.html

Chapter 11. “Common Tasks” is especially useful.

For more details about the commands, see:

man vgscan
man lvscan
man vgchange
 
Old 08-29-2005, 12:28 PM   #5
vbtalent
Member
 
Registered: Aug 2005
Posts: 48

Original Poster
Rep: Reputation: 15
Thanks for the great information and the link.

AJM,
 
  


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
Mounting a new ext3 on LVM system by a co-existing older system's ext2 /etc/fstab JZL240I-U Linux - Software 2 11-28-2005 08:44 AM
Problems mounting LVM-partition RacerDude Fedora 1 11-22-2005 12:04 PM
mounting red hat partitions with that LVM nonsense? silex_88 Linux - Software 4 09-12-2005 09:06 PM
LVM volume mounting trouble SergeyAC Linux - Software 3 04-11-2005 02:28 PM
Mounting jfs in Debian Woody Maidros Debian 2 12-04-2004 01:15 AM


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