[Pvfs2-users] Weird problem : mount -t pvfs2 doesn't accept any
option
Phil Carns
carns at mcs.anl.gov
Wed Oct 8 09:57:34 EDT 2008
Hi Emmanuel,
There have been some adjustments in trunk since 2.7.1 that are related
to the mount option parsing. Could you try the attached patch and see
if that helps?
thanks,
-Phil
Emmanuel Florac wrote:
> Using pvfs 2.7.1 and Linux 2.6.24.7 (tried x86 and x86_64, same thing),
>
> "mount -t pvfs2" doesn't accept any option and it's quite annoying
> because that means automatic mounting thru either /etc/fstab
> or /etc/pvfs2tab fails. Here's a sample :
>
> # cat /etc/pvfs2tab
> tcp://storiq-cluster1:3334/pvfs2-fs /mnt/pvfs2 pvfs2 rw 0 0
>
> Let's mount :
> # /etc/init.d/mountpvfs2.sh
>
> mounting PVFS2 filesystems:mount: wrong fs type, bad option, bad
> superblock on tcp://storiq-cluster1:3334/pvfs2-fs,
> missing codepage or other error
> In some cases useful info is found in syslog - try
> dmesg | tail or so
>
> Failed
> Let's see dmesg output :
>
> Error: mount option [] is not supported.
> pvfs2_get_sb: mount request failed with -22
> Ensure that all pvfs2-servers have the same FS configuration files
> Look at pvfs2-client-core log file (typically /tmp/pvfs2-client.log)
> for more details
>
> Strange, it reports that there is no option, though there's one (rw).
> So let's check pvfs2-client.log
>
> # tail /var/log/pvfs2-client.log
> [E 12:36:55.695817] Configuration server MUST be of the form
> protocol://address/fs_name
> [E 12:36:55.695870] Failed to umount via host
>
>
> Let's try nonsense as option :
>
> # mount -t pvfs2 -o zaegzregh*$
> tcp://storiq-cluster1:3334/pvfs2-fs /mnt/pvfs2
>
> dmesg says :
> Error: mount option [zaegzregh*$] is not supported.
> pvfs2_get_sb: mount request failed with -22
> Ensure that all pvfs2-servers have the same FS configuration files
> Look at pvfs2-client-core log file (typically /tmp/pvfs2-client.log)
> for more details
>
> So it looks like somehow wrong options are rejected properly, but valid
> options (such as rw,ro,defaults, etc) simply don't go thru. Any idea?
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pvfs2-mount-opts.patch
Type: text/x-diff
Size: 4410 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-users/attachments/20081008/1090a01d/pvfs2-mount-opts-0001.bin
More information about the Pvfs2-users
mailing list