[PVFS2-users] PVFS2 Mount issues
Murali Vilayannur
vilayann at mcs.anl.gov
Sun Oct 30 17:03:11 EST 2005
Hi,
>
> /dev/sdb1 /pvfs2-fs-2 272-GB
>
> /dev/sdc1 /pvfs2-fs 494-GB
Could you try to describe your setup a little more? It would be great if
we could rule out simple configuration/setup errors before we dig
further..
I take it that the above 2 (/pvfs2-fs and /pvfs2-fs-2) are mount points?
Or were you referring to the collection names?
Remember that there is a distinction between mount points and collection
names in PVFS2 (unlike PVFS1).
Each directory/mount point/storage-space can be configured to have a
bunch of collections and each collection has a unique name as well as an
id (collection identifier). Think of a collection as roughly equivalent to
a single exported file-system and a collection id as the equivalent of an
fsid.
Therefore, when you mount a PVFS2 volume, the syntax would be like this
mount -t pvfs2 <bmi-protocol>://hostname:<port>/<collection-name> /path/to/pvfs2/mountpoint
^^(not mount point unlike pvfs1!)
A common mistake that might arise is if one specifies the mount point
instead of the collection name after the port in the mount command line..
So in your case, if the first 2 lines refer to mount points (and not
collection names) then mount may fail or may not use what you think it
should...
> configured correctly. My storage is /pvfs2-storage-space,
Is /pvfs2-storage-space a directory on sdb1 or sdc1? or does it symlink to
a directory on sdb1 or sdc1? What does df -h /pvfs2-storage-space show?
My guess is that if the first 2 lines
refer to the actual names of the mount points, then that describes why you
don't see the entire capacity.
Make sure that when you are using the pvfs2-genconfig script or when you
are hand editing the fs.conf file, you refer to a storage space created on
/dev/sdb1 or /dev/sdc1 (i.e as subdirectories on /pvfs2-fs or /pvfs2-fs-2)
Please do let us know if any of the above is unclear or if something does
not work.
Thanks,
Murali
More information about the PVFS2-users
mailing list