System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

unable to mount /tmp: /dev/vg00/lvol4: unrecognized file system

 
sysad_boy
Frequent Advisor

unable to mount /tmp: /dev/vg00/lvol4: unrecognized file system

Hi,

I am having problems mounting my lv to /tmp.
This only happened after I rebooted my server.

mount /dev/vg00/lvol4 /tmp
/dev/vg00/lvol4: unrecognized file system

I even created a test directory to mount lvol4 on it but the same error appeared.

any suggestions on how to fix this?



4 REPLIES
sysad_boy
Frequent Advisor

Re: unable to mount /tmp: /dev/vg00/lvol4: unrecognized file system

fsck also failed:

fsck /dev/vg00/lvol4
fsck: /etc/default/fs is used for determining the file system type
vxfs fsck: OLT extent 0 has bad checksum
read of primary OLT failed
vxfs fsck: OLT extent 1 has bad checksum
read of OLT copy failed
vxfs fsck: no valid OLT, cannot continue
file system check failure, aborting ...
Patrick Wallek
Honored Contributor

Re: unable to mount /tmp: /dev/vg00/lvol4: unrecognized file system

I doubt it will help, but try:

fsck -F vxfs -o full /dev/vg00/lvol4


If that does not work then it would appear that the filesystem is hopelessly corrupt.

At that point I think all you can do is 'newfs' the LV to recreate the filesystem and then try to mount it.

newfs -F vxfs /dev/vg00/rlvol4

mount /tmp
Tingli
Esteemed Contributor

Re: unable to mount /tmp: /dev/vg00/lvol4: unrecognized file system

Shouldn't you fsck the raw device, such as: fsck /dev/vg00/rlvol4?
Vishu
Trusted Contributor

Re: unable to mount /tmp: /dev/vg00/lvol4: unrecognized file system

Hi,

try this command to get the file system type of the lvol.

fstyp /dev/vg00/lvol4

and then run the fsck with that FS i.e if it is vxfs, then do

fsck -F vxfs -o full /dev/vg00/rlovl4