1845724 Members
3705 Online
110247 Solutions
New Discussion

Mounting problems

 
SOLVED
Go to solution
dictum9
Super Advisor

Mounting problems


I created some Oracle LVs but am having a difficulty mounting them.
After creating them, I ran mkfs -F /dev/vg02/lvol?
the /etc/fstab mounts it as the vxfs filesystem.
why is this happening? I don't understand why it's complaining about vxfs issues.

# grep oracle /etc/fstab

/dev/vg02/lvol1 /oracle/10ginf vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg02/lvol3 /oracle/10gmid vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg03/lvol8 /oracle/OID vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg02/lvol4 /oracle vxfs rw,suid,largefiles,delaylog,datainlog 0 2

root@:/# mountall
mountall: cannot mount /dev/vg02/lvol4
mountall: diagnostics from mount
vxfs mount: mount option(s) incompatible with file system /dev/vg02/lvol4
mountall: cannot mount /dev/vg03/lvol8
mountall: cannot mount /dev/vg02/lvol3
mountall: cannot mount /dev/vg02/lvol1

6 REPLIES 6
Kent Ostby
Honored Contributor

Re: Mounting problems

I think you need to make them large filesystems ... they weren't created as large filesystems.
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Patrick Wallek
Honored Contributor

Re: Mounting problems

If you didn't make the filesystem with the largefiles option, which you have specified in /etc/fstab, then the mount will fail. What you need to do (assuming none of these have any data on them):

# newfs -F vxfs -o largefiles /dev/vg02/lvol4

Do this for each LV that is giving the same error.
Deoncia Grayson_1
Honored Contributor
Solution

Re: Mounting problems

right off the bet, the command for mkfs should have been like:

mkfs -F vxfs -o largefiles /dev/vg03/lvol?

try doing a fstyp /dev/vg03/lvol?
to make sure it is indeed a vxfs

If it isn't, I would try redoing the new logical volumes you created.
If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon
Senthil Kumar .A_1
Honored Contributor

Re: Mounting problems

Hi etc,

I think this issue is due to incompatible version of your VXFS filesystem.

You haven't mentioned the version of your OS. Assuming that it was recently updated to 11.23, the mount fails because, 11.23 only supports vxfs version above 3.

Let us know the vxfs version and OS version.

uname -a
fstyp -v /dev/vg02/lvol4

If the above metioned reason is the case, then you might have to upgrade your vxfs version using the following command for all the vxfs filesystem and then mount..

vxupgrade -n -r

e.g. vxupgrade -n v -r /dev/vg02/rlvol4

Do the same for rest of the FS and try mounting.

Regards,
Senthil Kumar .A
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)
Devender Khatana
Honored Contributor

Re: Mounting problems

Hi,

Just to caution as others advised to recreate the file system using newfs command with largefiles option, it will delete any data if there in file system.

The same thing can be achived by using fsadm_vxfs command without destroying data. man fsadm_vxfs for details.

HTH,
Devender
Impossible itself mentions "I m possible"
dictum9
Super Advisor

Re: Mounting problems


largefiles was exactly the problem....

When I added the new LVs to the /etc/fstab file, I just copied the previous entry without realizing it had largefiles in it. This fixed it:


newfs -F vxfs -o largefiles /dev/vg02/rlvol4