[PVFS-users] Re: Newbie in PVFS. Unable to mount PVFS

Ai Chee Sin purplrain85 at hotmail.com
Thu Oct 28 07:12:36 EDT 2004


Hi,

I had tried to compile the kernel with # ./configure --with-kpvfsd. and 
Nothing went wrong till 4.4 Installing and configuring clients, I entered # 
mknod /dev/pvfsd  c 60 0, it return:
mknod: 'dev/pvfsd': File exists
so I continued entered # ls -l /dev/pvfsd, it return
crw--------------- 1 root root 253, 0 Oct 28 1:49 /dev/pvfsd
# chmod 644 /etc/pvfstab
# ls -al /etc/pvfstab
--rw-r--r-- 1 root root 57 Oct 28 10:47 /etc/pvfstab
# cat /etc/pvfstab
frontend-0.local:/pvfs-meta /mnt/pvfs pvfs port=3000  0 0
and i skip the rest and continue to step 5.1(Starting PVFS servers)
i had enter # usr/local/sbin/mgr, # ls -l /tmp, return:
total 60
-rwxr -xr-x 1 root root 0 Oct 28 12:07 mgrlog.jgRInW, mgrlog.SSYgGQ, mgrlod. 
tOo2HK
...
..
...
# usr/local/sbin/iod, #ls -l /tmp, return <==== at frontend and compute node
total 64
-rwxr-xr-r 1 root root  335 Oct 28 13:29 iolog.KnuVtv
..
...
.

# insmod pvfs.o
insmod: pvfs.o: no such file or directory
# lsmod, return a lot of things but no pvfs can be found within them.
# /usr/local/sbin/pvfsd
bash: /usr/local/sbin/pvfsd: no such file or directory
# ls -l /tmp, i can see pvfsdlog.3WHYFP, pvfsdlog.D0twHS, pvfsdlog.XNtfHS

Then i try to mount the pvfs, but cannot be done.

Thanks for the reply.
aichee

>From: Don Porter <porterde at mercury.hendrix.edu>
>To: Ai Chee Sin <purplrain85 at hotmail.com>
>CC: pvfs-users at www.beowulf-underground.org, sinaichee at yahoo.com.sg
>Subject: Re: Newbie in PVFS. Unable to mount PVFS
>Date: Wed, 27 Oct 2004 22:11:47 -0500
>
>no, just ./configure --with-kpvfsd
>
>On Thu, 2004-10-28 at 02:26 +0000, Ai Chee Sin wrote:
> > Hi,
> >
> > I am trying to reconfigure everything again. So u mean when i reached
> > compiling the pvfs kernel, i enter # ./configure --with-kpvfs=../pvfs/??
> > Thanks for the reply.
> > Aichee
> >
> > >From: Don Porter <porterde at mercury.hendrix.edu>
> > >To: Ai Chee Sin <purplrain85 at hotmail.com>
> > >Subject: Re: Newbie in PVFS. Unable to mount PVFS
> > >Date: Wed, 27 Oct 2004 21:13:57 -0500
> > >
> > >No, this would mean that you are in userspace.  Your problem is that 
>you
> > >are not starting the pvfs daemon that sits between the kernel module 
>and
> > >the pvfs servers.  Simply run ./pvfsd and see if that helps.
> > >
> > >On Thu, 2004-10-28 at 01:57 +0000, Ai Chee Sin wrote:
> > > > hi,
> > > >
> > > > When I compiling the PVFS kernel, i enter # ./configure
> > >--with-pvfs=../pvfs/
> > > > I think this runs in the kernel space?
> > > > Thanks for the reply.
> > > > Aichee
> > > >
> > > > >From: Don Porter <porterde at mercury.hendrix.edu>
> > > > >To: Ai Chee Sin <purplrain85 at hotmail.com>
> > > > >CC: pvfs-users at www.beowulf-underground.org
> > > > >Subject: Re: Newbie in PVFS. Unable to mount PVFS
> > > > >Date: Wed, 27 Oct 2004 20:49:13 -0500
> > > > >
> > > > >Hey Aichee, let's keep this on the mailing list so that everyone 
>can
> > > > >benefit from this walk-through.
> > > > >
> > > > >When you run 'configure' on the pvfs-kernel package, you can give 
>it
> > >the
> > > > >'--with-kpvfsd' option.  If you do this, the pvfs client daemon 
>runs in
> > > > >kernel space.  Otherwise, it runs in userspace.  The difference is
> > >this:
> > > > >if it runs in kernel space, it will automatically start when you
> > > > >modprobe or insmod pvfs.  If you are running the userspace daemon, 
>you
> > > > >will need to run the pvfsd command on the client because the kernel
> > > > >cannot automatically start this.
> > > > >
> > > > >Also, be sure to follow the step about 'mknod /dev/pvfsd...'.
> > > > >
> > > > >Hope this helps,
> > > > >Don
> > > > >
> > > > >On Thu, 2004-10-28 at 01:28 +0000, Ai Chee Sin wrote:
> > > > > > hi,
> > > > > >
> > > > > > After i start the mgr, iod and pvfsd. I enter the following:
> > > > > > [root at frontend-0 /root]# mgr-ping
> > > > > > localhost:3000 is responding
> > > > > > [root at frontend-0 /root]# iod-ping
> > > > > > localhost:7000 is responding
> > > > > > [root at frontend-0 /root]# pvfs-ping -h frontend-0 -f /pvfs-meta 
>-p
> > >3000
> > > > > > mgr (frontend-0:3000) is responding.
> > > > > > iod0 (10.1.1.1:7000) is responding.
> > > > > > iod1 (10.255.255.254:7000) is responding.
> > > > > > pvfs file system /pvfs-meta is fully operational.
> > > > > > I think the mgr, iod and pvfsd is start up right?
> > > > > >
> > > > > > What you mean by
> > > > > > 'One thing to look at is whether or not you configured your 
>kernel
> > >to
> > > > >use a
> > > > > > user-space or kernel space daemon.  If you chose to use the
> > >userspace
> > > > > > daemon, you will need to be certain that you correctly started 
>this
> > > > >daemon
> > > > > > before mounting.'
> > > > > >
> > > > > > Sorry i am a newbie to linux and pvfs. Could you provide me the
> > >solution
> > > > > > step by step, because i don't quite understand what to do.
> > > > > >
> > > > > > Thanks for the replies.
> > > > > >
> > > > > > Aichee
> > > > > > Student from Nanyang Polytechnic, Singapore
> > > > > >
> > > > > > >From: Don Porter <porterde at mercury.hendrix.edu>
> > > > > > >To: Ai Chee Sin <purplrain85 at hotmail.com>
> > > > > > >CC: pvfs-users at www.beowulf-underground.org, 
>sinaichee at yahoo.com.sg
> > > > > > >Subject: Re: Newbie in PVFS. Unable to mount PVFS
> > > > > > >Date: Wed, 27 Oct 2004 06:36:29 -0500
> > > > > > >
> > > > > > >You can use the pvfs-ping tool to ensure that the servers are 
>up
> > >and
> > > > > > >running.  If they are not, then you need to address that.
> > > > > > >
> > > > > > >If they are, then your kernel somehow got in a bad state and 
>you
> > >are
> > > > > > >going to need to reboot the machine.  One thing to look at is
> > >whether
> > > > >or
> > > > > > >not you configured your kernel to use a user-space or kernel 
>space
> > > > > > >daemon.  If you chose to use the userspace daemon, you will 
>need to
> > >be
> > > > > > >certain that you correctly started this daemon before mounting.
> > > > > > >
> > > > > > >Best,
> > > > > > >Don
> > > > > > >
> > > > > > >On Wed, 2004-10-27 at 09:13 +0000, Ai Chee Sin wrote:
> > > > > > > > hi,
> > > > > > > >
> > > > > > > > I had tried to install PVFS 1.6.3. I had followed the user 
>guide
> > > > >online
> > > > > > >till
> > > > > > > > step 5.2 Getting a client connected.
> > > > > > > > When i entered [root at frontend-0/root]# mount.pvfs
> > > > >frontend-0:/pvfs-meta
> > > > > > > > /mnt/pvfs, the system stopped there for a very long time. I
> > >pressed
> > > > >Ctrl
> > > > > > >C
> > > > > > > > to stop the process, then entered [root at frontend-0/root]#
> > >mount.pvfs
> > > > > > > > frontend-0:/pvfs-meta /mnt/pvfs again and it returned:
> > > > > > > > mount.pvfs: Invalid argument
> > > > > > > > mount.pvfs: server 10.1.1.1 alive, but mount failed (invalid
> > > > >metadata
> > > > > > > > directory name?)
> > > > > > > >
> > > > > > > > So i entered another command, [root at frontend-0/root]#
> > > > >/sbin/mount.pvfs
> > > > > > > > frontend-0:/pvfs-meta /mnt/pvfs again and it returned:
> > > > > > > > mount.pvfs: server10.1.1.1 not responding, still trying
> > > > > > > > mount.pvfs: server10.1.1.1 not responding, still trying
> > > > > > > > mount.pvfs: server10.1.1.1 not responding, still trying
> > > > > > > > mount.pvfs: server10.1.1.1:3000 not responding, giving up
> > > > > > > >
> > > > > > > > What had happend???
> > > > > > > >
> > > > > > > > aichee
> > > > > > > > Student from Nanyang Polytechnic, Singapore
> > > > > > > >
> > > > > > > >
> > >_________________________________________________________________
> > > > > > > > Take a break! Find destinations on MSN Travel.
> > > > > > >http://www.msn.com.sg/travel/
> > > > > > > >
> > > > > >
> > > > > > 
>_________________________________________________________________
> > > > > > Get MSN Hotmail alerts on your mobile.
> > > > > > http://mobile.msn.com/ac.aspx?cid=uuhp_hotmail
> > > > > >
> > > >
> > > > _________________________________________________________________
> > > > Fast. Clear. Easy. The new face of MSN Search. 
>http://search.msn.com.sg/
> > > >
> >
> > _________________________________________________________________
> > Download MSN Messenger emoticons and display pictures.
> > http://ilovemessenger.msn.com/?mkt=en-sg
> >

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



More information about the PVFS-users mailing list