[Pvfs2-users] How can i reference a pvfs2 file from a C program?
Becky Ligon
ligon at omnibond.com
Fri Feb 10 18:02:33 EST 2012
You must have the kernel module installed, the client core running, and
/mnt/pvfs2 mounted. A pvfs2tab file must exist in /etc.
Becky
2012/2/10 g_p g_p <g_p_java at hotmail.com>
> Hello,
>
> i have found a difficulty in running a script in C over pvfs2.
>
> In the script in C, i'm trying to open a pvfs2 file using fopen and fwrite
> in order to open and write to the file.
>
> e.g. fp = fopen("/mnt/pvfs2/myfile","w");
> fwrite
>
> In the first argument i shall place the string containing the name of the
> file to be opened.
> But the program is trying to access a file named myfile in the local
> directory
> and not in pvfs2.
>
> How can i solve that?
> How can i reference to the file in pvfs2 in fopen?
>
> Thanks, in advance
>
> _______________________________________________
> Pvfs2-users mailing list
> Pvfs2-users at beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
>
>
--
Becky Ligon
OrangeFS Support and Development
Omnibond Systems
Anderson, South Carolina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.beowulf-underground.org/pipermail/pvfs2-users/attachments/20120210/b2d0330a/attachment.htm
More information about the Pvfs2-users
mailing list