[LinuxFailSafe] ext3 and quota.

Volker Pense v.pense@profi-ag.de
Thu, 7 Nov 2002 16:44:30 +0100


On Thursday 07 November 2002 16:05, you wrote:
> Hi, all,
>
> At the moment I'm testing quota support with ext3 and Failsafe.
> My test-cluster activates the partition without quota.
>
> If I define the filesystem with quota,
>
> 	define resource /samba of resource_type Filesystem in cluster linux
>         set Device to /dev/shared/samba_data
>         set FSType to ext3
>         set mount_options to defaults,usrquota
>         set force_umount to yes
>         add dependency shared of type LVM_volume
> 	done
>
> then failsafe do not activate my resource_group and I obtain
> the error:
>
> 	Operation failed -- srmd script failure.
> 	FailSafe daemon (ha_fsd) failed to online resource group (basic).
> 	Failed to admin:
>         online
> 	admin command failed
>
> Quota daemon works, and I created quota.user on shared partition too.
>
> Why do not start my resource_group ?
>
> Regards,
> mpr.

Did you do a Filesystem Check every time you mount the Filesystem. I got a 
similiar Problem with a jfs-Filesystem.

I fixed it by forcing a filesystem Check every time the resource is mountet. 
You have to edit the file  
/usr/lib/failsafe/resource_types/Filesystem/create_resource_type.sh

Regards

Volker Pense 

-- 
Volker Pense
Systemingenieur TIVOLI,LINUX,AIX

PROFI Engineering Systems AG
Otto-Röhm-Str.18
Tel.:+49(0)6151/8290-7725
Fax :+49(0)6151/8290-7610
Mobil:0171/7991332
eMail:v.pense@profi-ag.de
http://www.profi-ag.de