Hello and thanks for replying, i executed the following commands: 1. yum list | grep module-init-tools 2. yum list | grep kernel and i received 0 entries. So, i shall download module-init-tools and kernel-devel.x86_64 kernel-headers.x86_64. Where can i find the "kernel-devel.x86_64 kernel-headers.x86_64 "? Also, how can i run a postmark for pvfs without having mounted the pvfs fs? Thanks, in advance
Date: Tue, 10 Jan 2012 14:46:23 -0500 Subject: Re: [Pvfs2-users] Can't open/write in /mnt/pvfs2/ file From: [email protected] To: [email protected] CC: [email protected]; [email protected] Since you're using CentOS, use the following command: yum list | grep module-init-tools and see if yum finds a version for your installation. If so, then sudo yum install module-init-tools. When I run "yum list | grep module-init-tools" on my Centos 5.6 install, I am showing: [ligon@pvfs001 ~]$ yum list | grep module-init-tools module-init-tools.x86_64 3.3-0.pre3.1.60.el5_5.1 installed So, you should be able to install it, with root privileges. Do you have the kernel development headers installed? This is necessary for you to create the PVFS kernel module. You should have: kernel-devel.x86_64 kernel-headers.x86_64 for your installation. Issue a "yum list | grep kernel". If you don't see them in this list, then you will have to install them, too. You must also configure PVFS with the kernel: ./configure --with-kernel=/usr/src/<kernel version> Becky 2012/1/10 g_p g_p <[email protected]> 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: [email protected] To: [email protected] CC: [email protected]; [email protected] That seems odd. Which version of Linux are you using? Issue "uname -a". Becky 2012/1/10 g_p g_p <[email protected]> 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: [email protected] Date: Mon, 9 Jan 2012 15:53:36 -0600 CC: [email protected]; [email protected] To: [email protected] 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: [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 -- Becky Ligon OrangeFS Support and Development Omnibond Systems Anderson, South Carolina -- 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
