Operating System - HP-UX
1833758 Members
2866 Online
110063 Solutions
New Discussion

Re: nodatainlog - mount option

 
SOLVED
Go to solution
Mariusz Grabowski_2
Frequent Advisor

nodatainlog - mount option

Folks,

I have a system (hpux11i) where I mount a fsystem with 'delaylog,largefiles' options, but in 'mount -p' o/p I see:


/dev/vgxxx/lvyyy /ZZZZ vxfs delaylog,nodatainlog,largefiles 0 0

where does the 'nodatainlog' come from?

I've faced the same on hpux11.0 (it required to put 'vxadv' driver into kernel) - don't know though what's the matter here.

appreciate replies

cheers, Mariusz
18 REPLIES 18
Charles McCary
Valued Contributor

Re: nodatainlog - mount option

Hi - not real sure what you're asking, if you're asking how to get rid of it, just edit the entry in /etc/fstab for that filesystem and specify datainlog and that will take care of it...if that's not your question, please clarify.
Mariusz Grabowski_2
Frequent Advisor

Re: nodatainlog - mount option

well, seems i did not point my question exactly.

the thing is:

where does the 'nodatainlog' come from?

I use only 'delaylog,largefiles' options, and I get 'nodatainlog', which i don't want.
Pete Randall
Outstanding Contributor

Re: nodatainlog - mount option

Mariusz,

The datainlog is only available with OnlineJFS, so I suspect you are defaulting to nodatainlog because you don't have OnlineJFS. See man 1m mount_vxfs.


Pete

Pete
Charles McCary
Valued Contributor

Re: nodatainlog - mount option

Are you running onlineJFS?

If not, I don't believe that datainlog is available, so the default may be nodatainlog.
Charles McCary
Valued Contributor

Re: nodatainlog - mount option

Also, can you post your /etc/fstab entry for this filesystem?
Alzhy
Honored Contributor

Re: nodatainlog - mount option

online JFS or not (also full or non-Full VxFS or not) - nodatainlog will be the default. datainlog option however is only available with online JFS.

nodatainlog disables synchronous writes.

Read the man page mount_vxfs.
Hakuna Matata.
Kevin Wright
Honored Contributor

Re: nodatainlog - mount option

datainlog is default.

mount -o remount,delaylog,datainlog,largefiles /dev/vgxx/lvyyy /zzz
Mariusz Grabowski_2
Frequent Advisor

Re: nodatainlog - mount option

I have onlinejfs on this server.

fstab shows:
# 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 /lhome 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


while mount -p:
/dev/vg00/lvol3 / vxfs log 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 0
/dev/vg00/lvol8 /var vxfs delaylog,nodatainlog 0 0
/dev/vg00/lvperf /var/opt/perf vxfs delaylog,nodatainlog 0 0
/dev/vg00/lvcrash /var/adm/crash vxfs delaylog,nodatainlog 0 0
/dev/vg00/lvol7 /usr vxfs delaylog,nodatainlog 0 0
/dev/vg00/lvol6 /tmp vxfs delaylog,nodatainlog 0 0
/dev/vg00/lvsec /secman vxfs delaylog,nodatainlog 0 0
Pete Randall
Outstanding Contributor

Re: nodatainlog - mount option

Then, since you do have OnlineJFS, I would presume that you have to use the "datainlog" option when mounting if that's what you want.


Pete

Pete
Mariusz Grabowski_2
Frequent Advisor

Re: nodatainlog - mount option

even when I use an option:

-o datainlog

mount -p still shows 'nodatainlog'.
I've tried unount/mount with the above option - still no luck
Bill Hassell
Honored Contributor

Re: nodatainlog - mount option

nodatainlog had to be added by one of your root users. The 'standard' mount option for a vxfs filesystem in fstab is delaylog. Everything else (rw, nodatainlog, blkclear, convosync, mincache, snapsize, nolog, largefiles, quota, etc) are listed in the mount_vxfs manpage. If this filesystem mounts without a problem, you have Online JFS installed. If it produces an error, just remove the option.


Bill Hassell, sysadmin
Alzhy
Honored Contributor

Re: nodatainlog - mount option

Use "datainlog" as it enhances your writes.

By default nodatainlog is enforcedd if not explicitly declared in /etc/fstab. Be sure though you have OnlineJFS.

Hakuna Matata.
Alzhy
Honored Contributor
Solution

Re: nodatainlog - mount option

Mariusz -- then that means you do not have OnlineJFS installed.

What does:

vxlicense -p

return?
Hakuna Matata.
Sandman!
Honored Contributor

Re: nodatainlog - mount option

The "nodatainlog" option cannot be changed for a filesystem unless you have Advanced VxFS product installed. If you have BaseJFS then "nodatainlog" will remain the default and changing it on the command line will have no effect.

cheers!
Alzhy
Honored Contributor

Re: nodatainlog - mount option

"I've faced the same on hpux11.0 (it required to put 'vxadv' driver into kernel) - don't know though what's the matter here."

I should have noticed earlier.. it does appear you do not have OnlineJFS - aka Full or Advanced Veritas File SysteM (VxFS).

Do a vxlicense -p.

Depending on where you purchase your JFS/VxFS from - if it is from HP then you need to install the OnLineJFS product (which essentially does simply a copy of the license file).

If it is from Veritas (Full VxFS) .. then it is adding a license via the vxlicense command.


Hakuna Matata.
Mariusz Grabowski_2
Frequent Advisor

Re: nodatainlog - mount option

I found the same:

when I tried to resize a fs, got a message:

fsadm: You don't have a license to run this program

Pete Randall
Outstanding Contributor

Re: nodatainlog - mount option

In that case, refer back to my first answer!

;^)


Pete

Pete
Mariusz Grabowski_2
Frequent Advisor

Re: nodatainlog - mount option

it's not that obvious all right.. i have onlinejfs, something is screwed up with the lics though.

need to figure out the licensing then - thanks every1 for replies :)