-   Fedora (
-   -   Mounting a JFS LVM (

vbtalent 08-28-2005 04:59 PM

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
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

--- 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

WhatsHisName 08-29-2005 12:23 AM

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:

vgchange -a y
mount -t jfs /dev/VolGroup00/VGforMyth /video

vbtalent 08-29-2005 07:10 AM

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?

vgchange -a y
mount -t jfs /dev/VolGroup00/VGforMyth /video

WhatsHisName 08-29-2005 10:47 AM

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

Chapter 11. “Common Tasks” is especially useful.

For more details about the commands, see:

man vgscan
man lvscan
man vgchange

vbtalent 08-29-2005 12:28 PM

Thanks for the great information and the link.


All times are GMT -5. The time now is 11:13 PM.