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? 

-- 
----------------------------------------
Emmanuel Florac     |   Intellique
----------------------------------------

_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to