insmod is generally in /sbin/ check whether /sbin/ is in your path. if not try 
using insmod  with  the full path like /sbin/insmod
If 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: [email protected]
> > To: [email protected]
> > CC: [email protected]; [email protected]
> > 
> > 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 <[email protected]> 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: [email protected]
> > >> To: [email protected]
> > >> CC: [email protected]; [email protected]
> > >
> > >>
> > >> 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 <[email protected]> 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: [email protected]
> > >> > To: [email protected]
> > >> > CC: [email protected]
> > >> >
> > >> >
> > >> > 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 <[email protected]>
> > >> >
> > >> > 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
> > >> > [email protected]
> > >> > http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
> > >> >
> > >> >
> > >> >
> > >> >
> > >> > --
> > >> > Becky Ligon
> > >> > OrangeFS Support and Development
> > >> > Omnibond Systems
> > >> > Anderson, South Carolina
> > >> >
> > >> >
> > >> >
> > >> > _______________________________________________
> > >> > Pvfs2-users mailing list
> > >> > [email protected]
> > >> > http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
> > >> >
> _______________________________________________
> Pvfs2-users mailing list
> [email protected]
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

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

Reply via email to