Operating System - HP-UX
1827602 Members
3421 Online
109966 Solutions
New Discussion

Re: Not able to mount the filesystem using largefile option

 
Shivaji_1
Occasional Advisor

Not able to mount the filesystem using largefile option

I am trying to mount the file system using largefiles option but I am getting the following error.

mount /var/mqm/log
vxfs mount: mount option(s) incompatible with file system /dev/vg00/lo

Anybody know the solution for the same.

The /etc/fstab file contents are below.

# System /etc/fstab file. Static information about the file systems
# See fstab(4) and sam(1M) for further details on configuring devices.
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /home vxfs delaylog 0 2
/dev/vg00/lvol5 /opt vxfs delaylog 0 2
/dev/vg00/lvol6 /tmp vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg00/mq /var/mqm vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg00/lo /var/mqm/log vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg00/test /testarea vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/data /database vxfs rw,suid,largefiles,delaylog,datainlog 0 2
9 REPLIES 9
John Payne_2
Honored Contributor

Re: Not able to mount the filesystem using largefile option

Did you edit /etc/fstab in the hope of enabling largefiles? You can not convert that way. (If you did this, you need to change /etc/fstab back to the 'nolargefiles' setting to get it to mount.)

To convert the filesystem to largefiles, you need to run fsadm. In your case, the command would be 'fsadm -F vxfs -o largefiles /dev/vg00/data'

Hope it helps

John
Spoon!!!!
Steve Steel
Honored Contributor

Re: Not able to mount the filesystem using largefile option

Hi


Have you changed or recreated this filesystem


If you recreated it you had to do a largefiles on the newfs


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Mark Nieuwboer
Esteemed Contributor

Re: Not able to mount the filesystem using largefile option

Hi Shivaji,

In order to need the option largefilesystem
you need online jfs.
You don't need to recreate the filesystems with fsadm you can change the mount options.

grtz Mark
Shivaji_1
Occasional Advisor

Re: Not able to mount the filesystem using largefile option

No, online JFS is not on that system.
Shivaji_1
Occasional Advisor

Re: Not able to mount the filesystem using largefile option

if I enter this command it gives error.

# fsadm -F vxfs -o largefiles /dev/vg00/mq
vxfs fsadm: /dev/vg00/mq is not the root inode of a vxfs file system
John Payne_2
Honored Contributor

Re: Not able to mount the filesystem using largefile option

Shivaji,

Sorry, It's 4 in the morning where I am, I lead you astray:

Don't use the device file, use the mount point:

fsadm -F vxfs -o largefiles /database

Then change option in /etc/fstab

John
Spoon!!!!
Robert-Jan Goossens
Honored Contributor

Re: Not able to mount the filesystem using largefile option

Hi,

# umount /var/mqm
# fsadm -F vxfs -o largefiles /dev/vg00/rmq
# mount /var/mqm

note the r before mq

Regards,
Robert-Jan
Mark Nieuwboer
Esteemed Contributor

Re: Not able to mount the filesystem using largefile option

Hi Shivaji,

You don't have online jfs so it never work.
You need online jfs for this option.

grtz. Mark
Robert-Jan Goossens
Honored Contributor

Re: Not able to mount the filesystem using largefile option

Note to Mr Nieuwboer.

Yes you can change the largefiles parameter without having OnlineJFS installed, you just can't change them online.

# fsadm -F vxfs -o largefiles /app/oracle/dbappl
fsadm: set feature (LARGEFILES) failed, errno 25
---> I don't have OnlineJFS
# umount /app/oracle/dbappl
# fsadm -F vxfs /dev/vg01/rlvol4
nomultifsets
nolargefiles
# fsadm -F vxfs -o largefiles /dev/vg01/rlvol4
# fsadm -F vxfs /dev/vg01/rlvol4
nomultifsets
largefiles
# mount /app/oracle/dbappl