LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   Mounting a JFS LVM (http://www.linuxquestions.org/questions/fedora-35/mounting-a-jfs-lvm-357866/)

vbtalent 08-28-2005 03: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
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

WhatsHisName 08-28-2005 11:23 PM

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

vbtalent 08-29-2005 06: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?

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

WhatsHisName 08-29-2005 09: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 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

vbtalent 08-29-2005 11:28 AM

Thanks for the great information and the link.

AJM,


All times are GMT -5. The time now is 07:10 AM.