Operating System - HP-UX
1836412 Members
2282 Online
110100 Solutions
New Discussion

Re: Quota enable through MC service gurard control files

 
Mahesh Babbar
Frequent Advisor

Quota enable through MC service gurard control files

Hi,

We know that we can enable quota on file system in HPUX while mounting. The switch can be specified either manually or in the /etc/fstab file.

My question is : how can I mount a file system with quota enabled while I start the package of MC service guard cluster. Basically I want to know the right syntax to be used in the package's control file.
3 REPLIES 3
Saurav_1
Valued Contributor

Re: Quota enable through MC service gurard control files

Hi,

You know the commands for enabling the quota, Here in ur case if you check the filesystem entries in the .cntl for each package. You can add the options for enabling the quota while a package switches from one node to other. these cntl files are in /etc/cmcluster//pkg.cntl

This will help.

Saurav
Mark Grant
Honored Contributor

Re: Quota enable through MC service gurard control files

Just to complete the above post :)

IN the control files you will find the FS_MOUNT_OPT array. YOu can specify mount options for each filesystem here. Something like
LV[0]=/dev/vg02/lvol1; FS[0]=/u01; FS_MOUNT_OPT[0]="-o largefiles,quotas"

Never preceed any demonstration with anything more predictive than "watch this"
G. Vrijhoeven
Honored Contributor

Re: Quota enable through MC service gurard control files

Hi,

If you have specified the quotas for the users, you can put a line like this in the controle file:

LV[0]=/dev/vg01/lvol1; FS[0]=/pkg1a; FS_MOUNT_OPT[0]="-o rw,quota"

Gideon