Advertisement

04.28.2008 at 01:47AM PDT, ID: 23358078
[x]
Attachment Details

how to mount remote FTP folder locally

Asked by p_bhvn in Red Hat Linux

Tags: Redhat, Enterprise Linux, 5.0, FTP

Hi,

As we need to mount remote FTP folder on RHEL 5 (2.6.18-8.el5), tried 3 options but failed:

1. LUFS:

Downloaded from http://downloads.sourceforge.net/lufs/lufs-0.9.7.tar.gz?modtime=1067472000&big_mirror=0

Getting below errors during "make" (./configure was through)


make[5]: Entering directory `/usr/src/kernels/2.6.18-8.el5-i686'
  CC [M]  /lufs/lufs-0.9.7/kernel/Linux/2.6/inode.o
/lufs/lufs-0.9.7/kernel/Linux/2.6/inode.c:62: warning: initialization from incompatible pointer type
/lufs/lufs-0.9.7/kernel/Linux/2.6/inode.c: In function 'set_inode_attr':
/lufs/lufs-0.9.7/kernel/Linux/2.6/inode.c:181: error: 'struct inode' has no member named 'i_blksize'
/lufs/lufs-0.9.7/kernel/Linux/2.6/inode.c: In function 'lu_get_sb':
/lufs/lufs-0.9.7/kernel/Linux/2.6/inode.c:511: error: too few arguments to function 'get_sb_nodev'
/lufs/lufs-0.9.7/kernel/Linux/2.6/inode.c: At top level:
/lufs/lufs-0.9.7/kernel/Linux/2.6/inode.c:517: warning: initialization from incompatible pointer type
make[6]: *** [/lufs/lufs-0.9.7/kernel/Linux/2.6/inode.o] Error 1
make[5]: *** [_module_/lufs/lufs-0.9.7/kernel/Linux/2.6] Error 2
make[5]: Leaving directory `/usr/src/kernels/2.6.18-8.el5-i686'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/lufs/lufs-0.9.7/kernel/Linux/2.6'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/lufs/lufs-0.9.7/kernel/Linux'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/lufs/lufs-0.9.7/kernel'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/lufs/lufs-0.9.7'
make: *** [all] Error 2


2. FUSE:

Installed fuse-2.7.3-1.el5.rf and set CONFIG_FUSE_FS=y in kernel config file (rebooted the box). Not sure if i need to compile and rebuild the kernel.

but when running ./configure of curlftpfs-0.9.1, i get the below error:


checking for FUSE... configure: error: Package requirements (fuse >= 2.2) were not met:

No package 'fuse' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables FUSE_CFLAGS
and FUSE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


3. ftpfs:

downloaded it from http://ftpfs.sourceforge.net/ and tried compiling.

ftpmount was built OK but ftpfs wasn't (got errors while "make").
I think it could be due to this package upto kernel 2.4.x only


Please advise me which is the simplest way to proceed and how to achive.

Thanks
BhvnStart Free Trial
[+][-]04.29.2008 at 01:11AM PDT, ID: 21460366

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 03:04AM PDT, ID: 21460826

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.30.2008 at 01:40AM PDT, ID: 21468967

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Red Hat Linux
Tags: Redhat, Enterprise Linux, 5.0, FTP
Sign Up Now!
Solution Provided By: arulkumarabi
Participating Experts: 1
Solution Grade: A
 
 
[+][-]04.30.2008 at 02:04AM PDT, ID: 21469050

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628