LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 03: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-28-2005, 11:23 PM   #2
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
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, 06: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, 09:47 AM   #4
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
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, 11:28 AM   #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 07:44 AM
Problems mounting LVM-partition RacerDude Fedora 1 11-22-2005 11:04 AM
mounting red hat partitions with that LVM nonsense? silex_88 Linux - Software 4 09-12-2005 08:06 PM
LVM volume mounting trouble SergeyAC Linux - Software 3 04-11-2005 01:28 PM
Mounting jfs in Debian Woody Maidros Debian 2 12-04-2004 12:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:02 AM.

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
Open Source Consulting | Domain Registration