cancel
Showing results for 
Search instead for 
Did you mean: 

/var and largefiles

SOLVED
Go to solution
Darren Etheridge_2
Super Advisor

/var and largefiles

I am considering modifying /var to use largefiles (for Data Protector Database). Is there any caveats to this or should I not even consider doing so to the UX main filesystem?

THanks!
14 REPLIES
Pete Randall
Outstanding Contributor
Solution

Re: /var and largefiles

I use largefiles on all my root file systems except /stand and / with no problems. If there's a caveat, I haven't blundered into it yet.


Pete

Pete
SoorajCleris
Honored Contributor

Re: /var and largefiles

Hi,

I think var must be already with largefiles. You can check with #fstyp command.

But if it is not , then how you are going to do that ?


Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
James R. Ferguson
Acclaimed Contributor

Re: /var and largefiles

Hi Darren:

There is no problem with doing this.

Regards!

...JRF...
Darren Etheridge_2
Super Advisor

Re: /var and largefiles

I have Online JFS, so what is the best way to change it to largefiles?
Patrick Wallek
Honored Contributor

Re: /var and largefiles

With the fsadm command.

# fsadm -o largefiles /var

Will change /var to have large files enabled.

Also check your /etc/fstab file and see if the line for /var mentions largefiles or nolargefiles. If it does not, that is OK.
Patrick Wallek
Honored Contributor

Re: /var and largefiles

I should have mentioned that you can also use fsadm to check the filesystem.

# fsadm /var

Will should show 'largefiles' after you run the 'fsadm -o' command above.
Darren Etheridge_2
Super Advisor

Re: /var and largefiles

This is the output I get from running the command:

[TAL:/]fsadm /var
fsadm: /etc/default/fs is used for determining the file system type
largefiles


but when running cat /etc/fstab i get:

/dev/vg00/lvol8 /var vxfs delaylog 0 2



my other filesystems with largefiles enabled shows largefiles, this one does not.
James R. Ferguson
Acclaimed Contributor

Re: /var and largefiles

Hi (again) Darren:

Largefiles is enabled for your '/var'. The presence of 'largefiles' or 'nolargefiles' in '/etc/fstab' is only to enforce the underlying filesystem value. The filesystem attribute must match that of the attribute in '/etc/fstab' in order for the mount operation to succeed.

Regards!

...JRF...
Robert-Jan Goossens
Honored Contributor

Re: /var and largefiles

Hi,

Add the largefiles option to the /etc/fstab

largefiles,delaylog

Regards,
Robert-Jan
Darren Etheridge_2
Super Advisor

Re: /var and largefiles

just edit it with VI and add the options?
Darren Etheridge_2
Super Advisor

Re: /var and largefiles

LIke the below?


/dev/vg00/var vxfs rw,suid,largefiles,delaylog,datainlog 0 2
James R. Ferguson
Acclaimed Contributor

Re: /var and largefiles

Hi (again) Darren:

Adding 'largefiles' to '/etc/fstab' is unnecessary. See my earlier comments. You can add the attribute as you showed if you want the documentation and mount enforcement:

/dev/vg00/var vxfs rw,suid,largefiles,delaylog,datainlog 0 2

Regards!

...JRF...
Darren Etheridge_2
Super Advisor

Re: /var and largefiles

If it's not going to have any adverse effects, I'm going update the fstab to :

/dev/vg00/lvol8 /var vxfs rw,suid,largefiles,delaylog,detainlog 0 2

for my own documentation; so I know it has largefiles enbabled... because god knows I won't remember! LOL

Thank you again for everyones help!
Pete Randall
Outstanding Contributor

Re: /var and largefiles

Sure, go ahead - no adverse effects.


Pete

Pete