[Linux-HA] Filesystem mount options

Xun Sun xun.sun.cn at gmail.com
Sat Feb 11 01:11:37 MST 2006


On 2/8/06, Nate Reed <nreed at awarix.com> wrote:
> Any idea why I get this error when I try to mount a reiser filesystem with the
> data=journal option:
>
> [root at node1.cluster1.test]
> 48 /etc/ha.d/resource.d/Filesystem /dev/drbd0 /shared reiserfs data=journal
> start
> mount: wrong fs type, bad option, bad superblock on /dev/drbd0,
>        or too many mounted file systems

This was the problem with parsing the options, because the equal sign
is a meta char, our hto (heartbeat to ocf) mapper wrongly parsed
"options=data=journal" into "OCF_RESKEY_options=data".

It is fixed in CVS, however unfortunately after 2.0.3.

> 2006/02/08_09:41:49 ERROR: Couldn't mount filesystem /dev/drbd0 on /shared
> 2006/02/08_09:41:49 ERROR:  Filesystem Generic error
>
> I have checked and data=journal *should* be a valid mount option.  When I
> remove that option, the Filesystem command works fine.
>
> Also, we have an entry in /etc/fstab:
>
> /dev/md2             /shared              reiserfs   data=journal,noauto
>   1 2
>
> If we don't include the "data=journal" option in the mount command, what will
> happen?  Will journaling be enabled by /etc/fstab?
>
> Thanks,
> Nate
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
--
Thanks & regards
Xun Sun



More information about the Linux-HA mailing list