[Pvfs2-users] Can't open/write in /mnt/pvfs2/ file
g_p g_p
g_p_java at hotmail.com
Tue Jan 10 13:23:48 EST 2012
Hello,
in file /etc/issue i found the entry CentOS release 5.5.
and with command
uname -a && cat /etc/*release
Linux .... x86_64 x86_64 x86_64 GNU/Linux
So, which command shall i use on order to install the module-init-tools?
Thanks, in advance
Date: Tue, 10 Jan 2012 13:19:14 -0500
Subject: Re: [Pvfs2-users] Can't open/write in /mnt/pvfs2/ file
From: ligon at omnibond.com
To: g_p_java at hotmail.com
CC: vvenkates at gmail.com; pvfs2-users at beowulf-underground.org
That seems odd. Which version of Linux are you using? Issue "uname -a".
Becky
2012/1/10 g_p g_p <g_p_java at hotmail.com>
Thanks, for replying
The /sbin/ does not contain the insmod command.
My problem is that i would like to run a postmark and and i would like to test the pvfs installation and performance.
But i can't. Cause the postmark creates and writes files to my local file system and not to /mnt/pvfs2.
How can i run a postmark in pvfs2? (I believe that the pvfs2 shall be mounted first and then i shall run the postmark, but my system doesn't support insmod and when i tried to "apt-get install module-init-tools" the system printed "apt-get: command not found")
Is there any other way to run the postmark in pvfs2?
Thanks, in advance
Subject: Re: [Pvfs2-users] Can't open/write in /mnt/pvfs2/ file
From: vvenkates at gmail.com
Date: Mon, 9 Jan 2012 15:53:36 -0600
CC: kschoche at gmail.com; pvfs2-users at beowulf-underground.org
To: g_p_java at hotmail.com
insmod is generally in /sbin/ check whether /sbin/ is in your path. if not try using insmod with the full path like /sbin/insmodIf its not installed.. its generally in the init-tools package for any distro.. for example in ubuntu its apt-get install module-init-tools.
Hope that helps.
Best,~V
On Jan 9, 2012, at 3:15 PM, g_p g_p wrote:
Hello everyone and thank you all for replying.
I'm actually studying the chapter 5.4.1 manual and i started with the following command
[~] insmod /usr/src/pvfs2/src/kernel/linux-2.6/pvfs2.ko
-bash: insmod: command not found
It outputs "command not found" and it doesn't recognise the "insmod" command.What can i do in order to fix it?
Thanks, in advance
> Date: Mon, 9 Jan 2012 15:03:59 -0600
> Subject: Re: [Pvfs2-users] Can't open/write in /mnt/pvfs2/ file
> From: kschoche at gmail.com
> To: g_p_java at hotmail.com
> CC: ligon at omnibond.com; pvfs2-users at beowulf-underground.org
>
> Hi -
>
> Like Becky and I mentioned, you'll also need to start the pvfs2-client
> daemon to be able to access the pvfs2-fs via the kernel module, only
> then will you able to mount it.
>
> So far all you've done is start up a metadata and io server, in the
> typical client/server context this only amounts to starting the
> server.
>
> In order to access it via a 'client'-mode you need to load the
> pvfs2.ko kernel module and the pvfs2-client
> http://www.pvfs.org/cvs/pvfs-2-8-branch-docs/doc//pvfs2-quickstart.pdf
> check out ch5.4.1
>
>
> Kyle Schochenmaier
>
>
>
> On Mon, Jan 9, 2012 at 2:59 PM, g_p g_p <g_p_java at hotmail.com> wrote:
> > Hello,
> >
> > the client10 is both a client and a datanode. Also, i use one metadata
> > server.
> > I have started the pvfs2-server in both the client and the metadata server.
> >
> > If i do :
> >
> > ps auwx | grep pvfs2
> >
> > i have as output
> >
> > Client:
> >
> > root 46852 2664 ? 21:34 0:00 /usr/sbin/pvfs2-server
> > /etc/pvfs2-fs.conf -a client10
> >
> > Metadata server:
> >
> > root 60628 4320 pts/0 22:50 0:00 /usr/sbin/pvfs2-server
> > /etc/pvfs2-fs.conf -d -a mds10
> >
> > That means that the fs is running in both the client and metadata server.
> > But the fs is not mounted yet.
> > What shall i do in order to mount it?
> >
> > As i described in my previous mail when i executed the command
> >
> > [~]$ sudo mount -t pvfs2 tcp://client10:3334/pvfs2-fs /mnt/testFolder //i
> > try to mount it in a testFolder
> > mount: unknown filesystem type 'pvfs2'
> >
> > When i execute the command i'm in the [~] directory and it seems that it
> > can't find the pvfs2 fs.
> >
> > What am i doing wrong?
> >
> > Thanks, in advance
> >
> >
> >> Date: Mon, 9 Jan 2012 14:44:57 -0600
> >
> >> Subject: Re: [Pvfs2-users] Can't open/write in /mnt/pvfs2/ file
> >> From: kschoche at gmail.com
> >> To: g_p_java at hotmail.com
> >> CC: ligon at omnibond.com; pvfs2-users at beowulf-underground.org
> >
> >>
> >> Hi -
> >>
> >> did you start the pvfs2-client like the quickstart guide says?
> >>
> >>
> >> Kyle Schochenmaier
> >>
> >>
> >>
> >> On Mon, Jan 9, 2012 at 2:39 PM, g_p g_p <g_p_java at hotmail.com> wrote:
> >> > Hello and thanks for replying,
> >> >
> >> > in the file "/etc/pvfs2tab" there is an entry like
> >> >
> >> > tcp://client10:3334/pvfs2-fs /mnt/pvfs2 pvfs2 defaults,noauto 0 0
> >> >
> >> > Doesn't this line specify where the fs is mounted?
> >> >
> >> > When i execute the line "mount | grep pvfs2" i take 0 entries.
> >> > That means that the fs is not mounted,right?
> >> >
> >> > I tried to mount by using the following command:
> >> >
> >> > [~]$ sudo mount -t pvfs2 tcp://client10:3334/pvfs2-fs /mnt/testFolder
> >> > //i try to mount it in a testFolder
> >> > mount: unknown filesystem type 'pvfs2'
> >> >
> >> > What do i do wrong?
> >> >
> >> > Thanks, in advance
> >> >
> >> > ________________________________
> >> > Date: Mon, 9 Jan 2012 10:12:54 -0500
> >> > Subject: Re: [Pvfs2-users] Can't open/write in /mnt/pvfs2/ file
> >> > From: ligon at omnibond.com
> >> > To: g_p_java at hotmail.com
> >> > CC: pvfs2-users at beowulf-underground.org
> >> >
> >> >
> >> > If you install the PVFS kernel module, start the client, and mount a
> >> > PVFS
> >> > filesystem, you will be able to use standard command line programs (like
> >> > vi)
> >> > or call read/write from a program to access your PVFS files. Please
> >> > refer
> >> > to the installation guide on oranges.org to see how to install the
> >> > client.
> >> >
> >> > By the way, the servers do not have to be started by root.
> >> >
> >> > Becky
> >> >
> >> > 2012/1/8 g_p g_p <g_p_java at hotmail.com>
> >> >
> >> > Hello and a Happy New Year,
> >> >
> >> > i'm new to pvfs2 and i'm trying to write something to a file.
> >> >
> >> > I have already created the file "testFile" by executing the following
> >> > commands:
> >> >
> >> >
> >> > sudo /usr/bin/pvfs2-touch /mnt/pvfs2/testFile //created
> >> > file
> >> >
> >> > sudo /usr/bin/pvfs2-chmod 755 /mnt/pvfs2/testFile //modified
> >> > permissions
> >> >
> >> > How can i open, write and save the file in pvfs2?
> >> >
> >> > 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
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > Pvfs2-users mailing list
> >> > Pvfs2-users at beowulf-underground.org
> >> > http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
> >> >
_______________________________________________
Pvfs2-users mailing list
Pvfs2-users at beowulf-underground.org
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
_______________________________________________
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/20120110/5d8d540b/attachment.htm
More information about the Pvfs2-users
mailing list