Operating System - HP-UX
1837878 Members
3712 Online
110122 Solutions
New Discussion

Re: logging root filesystem

 
SOLVED
Go to solution
SSO Montgomery
Advisor

logging root filesystem

I give up. â Big Brotherâ has decided root (/) must be mounted with logging of the file system. Output of â mountâ is grepâ d for â logâ . I have OS from 10.20 to 11.11. Iâ ve searched man pages, google, and this forum. Can anyone give me step-by-step â how toâ so I can get these machines configured and turn Big Brotherâ s eyes away from our systems?

Many thanks
9 REPLIES 9
SSO Montgomery
Advisor

Re: logging root filesystem

Sorry. Not sure why the funky stuff.

I need to know how to configure mounting root filesystem with logging. Security looks for the word 'log'. I need this for HPUX 10.20 through 11.11.

Thank you.
Jeff Schussele
Honored Contributor
Solution

Re: logging root filesystem

Hi,

Assuming you have JFS 3.3 Ver4 or higher then it could be done "on-the-fly" & would be like

mount -F vxfs -o remount,log /dev/vg00/lvol3 /

Note that it's run against the LV and the FS
Don't forget to change the /etc/fstab entry so the proper mount happens next boot.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Jeff Schussele
Honored Contributor

Re: logging root filesystem

Oh & this command will show all your mount options on all your filesystems.

mount -v

Now do they just want to see "log" or will delaylog do? Frankly all the log options have the string log in them. Unfortunately "log" is the least performing - but safest against data loss - of them all.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
SSO Montgomery
Advisor

Re: logging root filesystem

okay. That worked magic on a vxfs system.
Here's the fstab for one of my 11.00 systems.

/dev/dsk/c0t6d0 / hfs rw,suid,log 0 1

I changed 'default' to 'rw,suid,log' and rebooted the system. No payload.
SSO Montgomery
Advisor

Re: logging root filesystem

And here's another system's root filesystem.

/dev/vg00/lvol3 on / type hfs defaults on Wed Feb 11 08:47:22 2004

It's a 10.20 box.
Floyd Curtis
Frequent Advisor

Re: logging root filesystem

The log/nolog options are defining the vxfs intent log operation. The Intent log is one of the "features" of vxfs filesystems and this functionality is not available for HFS.

see man mount_vxfs and
man mount_hfs

Good Luck,
fwc
Jeff Schussele
Honored Contributor

Re: logging root filesystem

Yep - Sorry.

This is a feature of vxfs filesystems only.
I wonder who loaded that system with / as hfs?
Not an optimal config as vxfs would be faster for / than hfs.

Oh well,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
SSO Montgomery
Advisor

Re: logging root filesystem

Well then...there you have it. Big Brother will just have to be a bit more selective with his expectations, hu?!

Jeff and Floyd, your country thanks you for all of your help and information.
Thomas Bianco
Honored Contributor

Re: logging root filesystem


quick forum note: the "funky stuff" in this post is usually due to the poster using word or some other rich text engine to render the post before dropping it into the HP text box.

the edit message accepts characters that cannot be rendered in the view mode.

I do this, but I try to make sure I remove ' or " from the post before pasting into the edit dialog, as these are the major source of "â  ". also, use the preview

no points pl
There have been Innumerable people who have helped me. Of course, I've managed to piss most of them off.