14 April 2011

mount remote ftp directory host locally into linux filesystem

Mount remote ftp directory host locally into linux filesystem
Install below two rpms package

fuse-curlftpfs-0.9.1-1.el5.rf.x86_64.rpm
fuse-libs-2.7.4-8.el5.x86_64.rpm

# mkdir /mnt/Ariba

Examble
    * username: ftp-user
    * password: ftp-pass
    * host/IP: my-ftp-location.local

# curlftpfs ftp-user:ftp-pass@my-ftp-location.local /mnt/Ariba/

Examble :-

curlftpfs username:password@10.2.0.144 /mnt/Ariba/

#df -h
/dev/mapper/VolGroup00-LogVol00_root
                      146G  103G   36G  75% /
/dev/mapper/VolGroup00-LogVol00_rman_bkup
                      133G  188M  126G   1% /rman_bkup
/dev/mapper/VolGroup00-LogVol00_backup
                       97G  189M   92G   1% /backup
/dev/sda1              99M   13M   81M  14% /boot
tmpfs                  24G  8.9M   24G   1% /dev/shm
/dev/mapper/VG_Storage-r01
                       50G   31G   17G  65% /r01
/dev/mapper/VG_Storage-r02
                       50G   19G   28G  41% /r02
/dev/mapper/VG_Storage-r03
                       50G   35G   12G  75% /r03
/dev/mapper/VG_Storage-r04
                       50G   21G   27G  45% /r04
/dev/mapper/VG_Storage-oracle
                       20G   15G  4.4G  77% /oracle
/dev/mapper/VG_Storage-Archive
                       74G  3.3G   67G   5% /Archive
fuse                  7.5T     0  7.5T   0% /mnt/Ariba

Finaly my ftp server is mounted .

No comments: