Hi,

On Fri, Jul 09, 2010 at 11:15:33AM +0200, Alain.Moulle wrote:
> Hi,
> I'm trying to use the ocf:heartbeat:Filesystem but I would like to use a 
> Label of FS as DEVICE, so I have built my FS with :
> 
> mkfs.ext4  -L HA:DB /dev/sdk
> 
> and then I have configured y FS resource likewise:
> 
> crm configure primitive FS-clusterdb ocf:heartbeat:Filesystem params 
> device='HA:DB' directory='/var/lib/pgsql/data' fstype='ext4' op start 
> timeout=60 op stop timeout=60 op monitor timeout=60 start-delay=60 
> interval=20 meta target-role='started'
> 
> But on start, it returns "not installed" displayed by crm_mon , and 
> looking at script Filesystem, it seems that it is due to the fact that 
> it does not find the Label as device in /etc/mtab or /proc/mounts, but 
> these files are filled dynamically when a FS is mounted and line 
> dissapear when FS is unmounted, so I can't find how to give the 
> information to Filesystem ?

According to the meta-data, you should set device="-L HA:DB".

Thanks,

Dejan

> Thanks for your help.
> Alain Moullé
> 
> 
> 
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to