[DRBD-user] Couldn't find filesystem ext3 when running HA

Cindy KS TOH kstoh at dlsjubm.com.my
Wed Mar 25 02:14:45 CET 2009

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Dear Lars,

Thank you very much, as now it works fine with my drbd+ha. I deleted the 
haresources on both servers and vi a new one for them. Works like 
magic!  :-D

Thanks for the tips and inside with devil in MS.
I didn't use ms office to edit the files but i did open it using 
wordpad. Guess that has done the deed with my miserable time wasted in 
search of why it just don't work.

Warm Regards,
Cindy KS TOH


> ------------------------------
>
> Message: 2
> Date: Tue, 24 Mar 2009 09:26:11 +0100
> From: Lars Ellenberg <lars.ellenberg at linbit.com>
> Subject: Re: [DRBD-user] Couldn't find filesystem ext3 when running HA
> To: drbd-user at lists.linbit.com
> Message-ID: <20090324082611.GA8596 at soda.linbit>
> Content-Type: text/plain; charset=iso-8859-1
>
> On Tue, Mar 24, 2009 at 11:24:57AM +0800, Cindy KS TOH wrote:
>   
>> Dear Sir/Madam,
>>
>> Can anyone help me to diagnose what is the problem of my script? Cause i 
>> cannot get my HA to work as accordingly.
>> I have tested using one drbd partition and tested ok with HA.
>> Now i am using 2 drbd partitions. If manually run the drbd and mounting 
>> it, all works fine, but when i want it to be automatically up by HA, it 
>> is not working as i wanted. It just don't want to mount my drbd1 and 
>> then all things failed.
>>
>> I have included my drbd.conf, ha.cf, haresources and ha-debug log in 
>> this email.  Cause i am not sure how to describe it.
>> Help?
>>     
>
> is this one of the "do never edit unix files on windows" issues?
>
>   
>> ResourceManager[8187]:    2009/03/24_09:20:36 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 /data ext3 start
>> Filesystem[8513]:    2009/03/24_09:20:36 INFO: Running start for /dev/drbd0 on /data
>> Filesystem[8502]:    2009/03/24_09:20:36 INFO:  Success
>>     
>
> so ext3 is a know file system, support of it is definetely available.
>
>   
>> ResourceManager[8187]:    2009/03/24_09:20:36 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd1 /data2 ext3 start
>> Filesystem[8662]:    2009/03/24_09:20:37 INFO: Running start for /dev/drbd1 on /data2
>> Filesystem[8662]:    2009/03/24_09:20:37 ERROR: Couldn't find filesystem ext3 in /proc/filesystems
>> Filesystem[8651]:    2009/03/24_09:20:37 ERROR:  Illegal argument
>>     
>
> and now it thinks that ext3 is not supported.
>
>   
>> [root at f10-1 ~]# cat /etc/ha.d/haresources
>> f10-1 172.16.3.100 drbddisk::r0 drbddisk::r1 Filesystem::/dev/drbd0::/data::ext3 Filesystem::/dev/drbd1::/data2::ext3
>>     
>
> possibly that haresources ends with ".../data2::ext3\r\n",
> and now the scripts look for a filesystem type of "ext3\r"
>
> '\r' is not usually considered "whitespace" by sh,
> at least it is not in the default set of $IFS.
> doh.
>
> run dos2unix on that haresources file.
> [ and stop editing your configuration files in ms office ;) ]
>
>   




More information about the drbd-user mailing list