LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 10-03-2006, 09:12 AM   #1
sumta
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Rep: Reputation: 0
Problem mounting a logical volume with JFS


The system harddrive in my Fedora Core 4 box has recently died. I placed a new drive in the box and reinstalled, this time with Fedora Core 5. No problem. I am now (unsuccessfully) attempting to remount the second drive which is a logical volume with a JFS file system.

When I try to mount the volume, I get the following error:
# mount -t jfs /dev/MythVol/MythVideo /video

mount: wrong fs type, bad option, bad superblock on /dev/MythVol/MythVideo,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

I did install support for the JFS file system.
The drive was recognized at install time as hdb1
The logical volume manager does see the volume, but lists the file system as "none"

dmesg | tail renders the following:

audit(1159853590.577:6): avc: denied { use } for pid=2855 comm="smbd" name="[8249]" dev=pipefs ino=8249 scontext=system_u:system_r:smbd_t:s0 tcontext=system_u:system_r:xdm_t:s0-s0:c0.c255 tclass=fd
audit(1159853591.513:7): avc: denied { use } for pid=2858 comm="nmbd" name="null" dev=tmpfs ino=1243 scontext=system_u:system_r:nmbd_t:s0 tcontext=system_u:system_r:xdm_t:s0-s0:c0.c255 tclass=fd
audit(1159853591.517:8): avc: denied { write } for pid=2858 comm="nmbd" name="[10198]" dev=pipefs ino=10198 scontext=system_u:system_r:nmbd_t:s0 tcontext=system_u:system_r:unconfined_t:s0 tclass=fifo_file
audit(1159853591.517:9): avc: denied { use } for pid=2858 comm="nmbd" name="[8249]" dev=pipefs ino=8249 scontext=system_u:system_r:nmbd_t:s0 tcontext=system_u:system_r:xdm_t:s0-s0:c0.c255 tclass=fd
nvidia: no version for "struct_module" found: kernel tainted.
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt Link [APC4] enabled at IRQ 19
ACPI: PCI Interrupt 0000:04:00.0[A] -> Link [APC4] -> GSI 19 (level, high) -> IRQ 217
NVRM: loading NVIDIA Linux x86 Kernel Module 1.0-8774 Tue Aug 1 20:54:08 PDT 2006
JFS: nTxBlock = 1998, nTxLock = 15984

Any pointers would be greatly appreciated.

Joe
 
Old 10-03-2006, 10:12 AM   #2
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 2,030

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
Run vgscan, followed by vgchange -a y. Then try your mount command. You may need to run modprobe dm-mod before all of the above, but I doubt it.
 
Old 10-05-2006, 10:30 AM   #3
sumta
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks Haertig, that got me closer. I ended up having to fsck.jfs -a the volume. Once I did that, I could mount it. Now I just need to get the thing to automount and life will be good till the next issue.
 
Old 10-05-2006, 12:49 PM   #4
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 2,030

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
Quote:
Now I just need to get the thing to automount...
Try adding the following line to your /etc/fstab file:
Code:
/dev/mapper/MythVol-MythVideo   /video   jfs   defaults   0   2
It should automount the next time you boot, or you can manually run mount /video or umount /video to mount or unmount it.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Logical Volume Overview inescapeableus Linux - Software 5 09-27-2006 03:08 PM
Logical Volume recovery plythgam Linux - Software 2 03-27-2006 07:44 PM
swapping on a logical volume garba Linux - General 1 06-28-2005 07:36 PM
resizing a logical volume nicentral AIX 2 06-11-2005 05:03 PM
Logical Volume Manager sidmark-2850 Linux - General 3 01-02-2004 02:25 PM


All times are GMT -5. The time now is 04:47 PM.

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