Ubuntu :: Mount FTP Directories To Local Fs - Curlftpfs?

Aug 28, 2010

I'm looking for a way to mount remote ftp directories to local filesystem in order to interact with them as if were local resources. I found several tutorials that recommend curlftpfs, but this project seems no longer maintained (last update on sourceforge goes back to Apr 2007).

So, is curlftpfs still the best choice or is there something newer which I could rely on?

View 5 Replies


ADVERTISEMENT

Ubuntu Servers :: Mount A USB Drive In Rc.local With /sbin/mount And UUID Instead Of Fstab?

Feb 6, 2010

I run a headless Ubuntu 8.04 server, which acts as a web, email and file server. I am sticking with 8.04 as it is a LTS release and will upgrade to the next LTS when it is released.

I have two external USB drives, that I need to mount at boot. I have been using /etc/fstab up until now, with the following entries:

Code:

However, as I gather from doing searches is quite common, occasionally I get an error during boot (causing the system to drop to a recovery shell) because the USB drives take time to wake up and the system hasn't found them by the time it reads /etc/fstab.

From doing searches, it seems there is nothing you can do to fstab to fix this, so you need to mount them using an rc.local script instead, using:

Code:

The problem is, as I have two USB drives, their /dev/sdxx location changes between boots. I thus want to use UUID codes as I do in fstab, however I haven't found anything about this.

Does anyone know how I can use the mount command and UUID to mount a drive in rc.local and what options I have to use the mount the drive with the same options that I am using in my fstab entry? Obvisouly, I can't refer back to fstab using the mount command, because then I will still get the boot error issue if they are listed in fstab. And there is no space internally for the USB drives as there is already two internal drives.

View 3 Replies View Related

Fedora :: Shortcuts To Local Kernel Directories

Jun 7, 2009

When the kernel is updated, directories matching the new version name are created for documentation and source, for example /usr/share/doc/kernel-doc-2.6.27.24/Documentation and /usr/src/kernels/2.6.27.24-170.2.68.fc10.i686. Shortcuts to accessing these directories could be handy but the directory names keep changing. A simple way to capture the new names is to assign the most recent to environment variables. This can be done in /etc/bashrc to make them available to all users and subshells. Additionally, the shell option cdable_vars is set to make the kerneldoc and kernelsrc variables useful as arguments to cd. At the command line, cd kerneldoc or kernelsrc changes the directory to the proper directory for the current kernel version.

shopt -s cdable_vars # cd searches env, e.g. cd kerneldoc, kernelsrc
export kerneldoc=$(ls -dtp /usr/share/doc/kernel-doc* | grep -m1 ".*")Documentation
export kernelsrc=$(ls -dtp /usr/src/kernels/* | grep -m1 ".*")

ls is applied to the parent directory of the kernel version directories. -d tells ls to output directory names instead of their content. -t tells ls to sort by time, most recent first. -p tells ls to use a slash for directory delimiter (this is the default and rarely changed but the argument is included to be sure). The ls output is piped to grep. -m1 tells grep to stop after the first match to ".*", which is the first directory in the ls output.

Symbolic links can provide convenient GUI access to the directories but these need to be updated along with the kernel. I use a directory called /shared for my files that are accessible to all users. I have placed in it a bash script called kernelref, which takes advantage of the kerneldoc and kernelsrc variables to update the links. This script should be run whenever the kernel is updated.

/bin/rm /shared/kerneldoc
/bin/rm /shared/kernelsrc
ln -s $kerneldoc /shared/kerneldoc
ln -s $kernelsrc /shared/kernelsrc

View 2 Replies View Related

General :: Sync Local And Remote Directories Using Rsync?

Jul 14, 2010

I have two linux box that i would like to keep in sync. I see option -avz syncs the remote with local but new local files are not pushed.

View 2 Replies View Related

Ubuntu :: Curlftpfs Automatically Reconnect To Server?

Jun 15, 2010

how this might be done?? I did not find an -o reconnect in the options.

View 1 Replies View Related

Ubuntu :: Installing Curlftpfs Get Glib Error?

Dec 2, 2010

Im trying to install cUrlFtpFs. I get an error when run the configure file though, it says:************************************************** *checking for GLIB... configure: error: Package requirements (glib-2.0) were not met:No package 'glib-2.0' foundConsider adjusting the PKG_CONFIG_PATH environment variable if youinstalled software in a non-standard prefix.Alternatively, you may set the environment variables GLIB_CFLAGSand GLIB_LIBS to avoid the need to call pkg-config.See the pkg-config man page for more details.***********************************************echo $PKG_CONFIG_PATHecho $GLIB_LIBSecho $GLIB_CFLAGS

View 1 Replies View Related

General :: Need To Synchronize Local And Remote Directories In Real Time

May 18, 2010

I'd like to have a copy of a web site on my local drive. Then when I make changes to that copy, have those changes automatically updated on the site's server. Ideally I'd like to tell it to only do this for certain file types. Does anybody know of a way to do this with Linux?

View 2 Replies View Related

Ubuntu Networking :: AUFS Mount Containing NFS Directories

Jan 2, 2010

If I try to mount the AUFS filesystem from a nfs and local directory in Ubuntu 9.10 like this:Code: sudo mount -t aufs br=/mnt/nfs=rw:/home/data/local=ro none /mnt/union.I get segmentation fault and my system crashes: Code: comm: file 2 is not in sorted order mount: block device none is write-protected, mounting read-only
Segmentation fault.Am I doing something wrong or is it a bug?

View 2 Replies View Related

Ubuntu Installation :: Directories Requires To Mount Drives?

Feb 23, 2010

Since I never got an answer to my last question:I'll ask something simpler. When Ubuntu is booting up, what directories are used for the boot process up until it mounts other drives (such as an SD card).hink that question makes sense,don't hesitate to ask forclarification, though.

View 6 Replies View Related

Ubuntu :: Bash-completion + Mount = Failure To Complete Directories?

May 27, 2011

I've spent some time searching for answers to this and I haven't found much at all.Please feel free to post pointers to other threads that discuss this particular problem, if you find any.The problem is that in bash I want to mount an iso file to inspect the contents with the command:Code:sudo mount myCD.iso CDMount -o loopThe command works fine, but pressing tab to complete either the iso filename or the CDMount directory does not work. The completion suggestions I get are existing mountpoints which The completion suggestions should include the files and directories in the current directory. This worked with Ubuntu 10.04 and not with 11.04.

View 1 Replies View Related

Networking :: Autofs Doesn't Mount Directories?

Jan 28, 2011

Hi Linux Forum People! This is my first post. Somehow I'm not able to mount directories from other machine using autofs. Autofs maps successfully loaded into NIS client, but autofs does not recognize them. Please see belowI'm running RHEL4

[root@linux2 etc]# ypcat -k auto.master
/hs /etc/auto.hs
/home /etc/auto.home

[code]...

View 19 Replies View Related

Networking :: How To Mount Samba Home Directories As Read / Write?

Jun 14, 2011

I'm trying to configure a per user samba login for full access to the user's home directory.Mounting the shared directory works flawless when mounting from Windows. I can read, write, create without problems. However, when mounting from Linux the shared space is readonly.

View 8 Replies View Related

OpenSUSE Install :: Mount Multiple Directories From Two Archive Drives In One Folder?

Jan 21, 2011

I have two non-system drives with archive files. Each drive is formatted with one primary partition only, occupying all the drive space. In each drive there will be a number of directories with files in them, like this:

Drive 1:
/directory1/directoryXXX/files
/directory2/directoryXXX/files
/directory3/directoryXXX/files
Drive 2:
/directory4/directoryXXX/files

[Code]...

View 2 Replies View Related

OpenSUSE Network :: Mount Shared Directories - Accessing Window 2008 Shares From SUSE?

Dec 31, 2010

Using a SUSE server, what's the best method/tool available to mount existing shared directories? I have defined shares on a Window 2008 server and am attempting to configure the SUSE server.

View 8 Replies View Related

Fedora :: Mount Local Disk Before NFS?

Mar 31, 2011

I installed a new disk and need to share it on NFS, but the share keep failing. I think the reason is the disk was not mounted when NFS started. How do I guarantee local disk mounted before NFS?

View 2 Replies View Related

General :: Mount 'public On Xxx' To Local Fs?

Feb 6, 2011

I am using Fedora and I can see the public folders from other computers on my network as 'public on xxx'. Is there any way to mount that to the local fs? The way it is now I can only access it in the file manager.

View 2 Replies View Related

Fedora :: Can't Mount Host On Local Network Via Nsf?

Sep 21, 2009

I have two machines on my local netowrk, one running Fedora 9 and the other Fedora 11,(64 bit version).I made one, machine A, into an NSF server and arranged to export a directory to the other machine B.I made sure the firewalls were allowing nsf traffic, and I restarted all the relevant daemons.But the mounting still doesn't work.I looked at the setup on my Linksys router, but I don't see anything obvious there that might be getting in the way.ping and ssh recognize my names for the two machines and work properly, bu t I've also tried using the numeric local ip addresses.I tried with the program showmount on B to see if there was any connectivity and I getB% showmount -e Aand I get the responseclint_create:RPC: Port mapper failure - RPC: unable to receive.I used to manage a departmental network and set up nfs mounts all the time, but things were simpler then. I am at a lost what to look at next

View 14 Replies View Related

Fedora :: Network Mount Using Local Space?

Oct 12, 2010

I am mounting a Window's network shared folder every time Fedora boots. It is mounted into the /mnt directory. Recently I noticed I am almost out of disk space, and I found out that my mount folder is what is eating all the space. I was under the assumption that the mounted folder wasn't on my Fedora machine at all, and resided on the Windows machine. Apparently my assumption was incorrect, or possibly I mounted something in an unusual way.

View 2 Replies View Related

Server :: Failed When Trying To Mount A Local Directory Via NFS

Jun 21, 2011

I tried to set up an NFS server on my Ubuntu on VirtualBox. But I failed when trying to mount a local directory via NFS. I used Ubuntu 11.04 First I ran the following two commands

[Code]....

View 5 Replies View Related

Ubuntu :: Mount Command No Longer Runs At Boot From /etc/init.d/rc.local

Jul 6, 2010

I run XBMC media center software which is built on a minimal Ubuntu install. I was running a version built on Karmic and I had the following line in my /etc/init.d/rc.local and it always ran without a hitch:

Code:

mount -t cifs -o file_mode=0777,dir_mode=0777 //192.168.1.20/disk7/xbmc_thumbs/Thumbnails /home/kevin/.xbmc/userdata/Thumbnails

Recently, I upgraded to a version built on Lucid and now that fails to create the mount on boot up. Here is the entire contents of the file:

Code:

#! /bin/sh
### BEGIN INIT INFO
# Provides: rc.local
# Required-Start: $remote_fs $syslog $all

[code]....

View 1 Replies View Related

General :: Can't Get Mount To Work In /etc/init.d/rc.local Or Fstab

Jul 10, 2010

I'm running XBMC media center which is built on Ubuntu and I'm trying to mount a network share, but I can't seem to automate it. If I manually run:

Code:

mount -t cifs -o file_mode=0777,dir_mode=0777 //192.168.1.20/disk7/xbmc_thumbs/Thumbnails /home/kevin/.xbmc/userdata/Thumbnails

The mount is created and everything works fine. But obviously the mount eill be lost on the next boot. A few months back, when I was running a previous version of XBMC and first instructed on how to do this, I was told to put that command in /etc/init.d/rc.local so the mount would automatically be created at boot. I did and it worked. The other day I upgraded to a new XBMC build (which is built on the newer Lucid Ubuntu) and while the same command creates the mount, putting it in /etc/init.d/rc.local does not create it on boot. Someone suggested the fstab was the better place to create the mount. So I inserted the following in /etc/fstab:

Code:

//192.168.1.20/disk7/XBMC_thumbs/Thumbnails /home/kevin/.xbmc/userdata/Thumbnails cifs file_mode=0777,dir_mode=0777 0 0

That doesn't work either. What am I doing wrong and how can I get this mount auto-created on boot?

View 4 Replies View Related

Ubuntu Networking :: How To Share/Mount Hard Drives Over A Local Area Network

Mar 19, 2011

I have a computer, the one I am on now, with Ubuntu 10.10, it should be completely updated... and I can network with other computers, I can access Windows XP and 7 shared locations on other computers, and I can also get Ubuntu on other computers to access this computer's shared files.What I can't do, however, is share my hardrives that are on this computer, I have tried sharing them in /media/ and etc, but it is not working, apparently you have to mount them in some mystical way.

Another problem is getting Windows machines to access Ubuntu computers on the network - which I believe is a Windows problem, so I can figure that out some other time, but importantly, I want to be able to share my hardrives over the network.

If someone can give me some instructions to mounting and sharing hardrives(internal), and even my DVD-Drives, and portable USB devices, would also be fantastic - since, in Windows you can just right click, "share", and it's done.. It is a very useful thing to have, and I don't want to use Windows on this computer anymore, but I have no choice, really, if I can't share my storage to the other computers.

View 4 Replies View Related

Debian :: Setting Up Search And Mount Local Samba Shares?

Aug 1, 2010

I do know how to set up the traditional Window shares by modifying fstab and mkdir /mnt/share. What I was wondering in this day of laptops, if there was a script that could find and mount Window shares that were hooked into your local network, but only on a temporary bases. Something like what you would do mount a usb connection, such as a camera that you had the drivers for. I do know that networks are more complex, was just interested if something like that was developed yet. Just to let you know that my scripting skills are zero, and my ability to do so less.

View 1 Replies View Related

Hardware :: Local Hard Drive As Cache For Nfs Mount Writes?

Jun 18, 2011

I had the idea to cache writes to my nfs filesystem on my local hard drive.

It seems CacheFS exists to cache reads, but not writes to nfs.

I would imagine that if I could cache writes to my nfs on a local drive I could have a fast system, but keep all my files where I want them on my network.

I'm thinking about this because I am planning on buying a SSD, and I would imagine if I could set things up this way the system could be lightening fast while keeping things on the network. Currently if I copy a large file (hundreds of MB) it is quite slow, with an SSD and caching, I would imagine the copy could be very fast.

View 1 Replies View Related

Networking :: Script - To Mount Smb - Doesn't Run From Rc.local And Only Works On Some Machines

Nov 29, 2008

I have a script which runs a few other scripts (in subfolders of the first script) in order to mount some unix/linux shares) Anyway, when I run the file from rc.local and try to pipe the output into a file the file is empty and the shares are not mounted. however when I run the file it mounts everything.... Also, the script doesn't work on my wireless clients...

View 1 Replies View Related

OpenSUSE :: Mount A Remote Windows Partition Onto Local Host Through Rdesktop?

Mar 26, 2011

basically i am able to connect to my other windows machine using rdesktop I want to be able to mount the window machine's partition (particularly my media folder cusermyaccountVideo) i know rdesktop ipaddr -r disk: blah blah blah mounts the partition onto the local machine however, i cant figure out what the specific commands are i tried followings but with no luck

Code:
rdesktop ipaddr -u username -p password -r :c=mntmntpoint
rdesktop ipaddr -u username -p password -r :c=mntmntpoint
rdesktop ipaddr -u username -p password -r :cmyaccountVideo=mntmntpoint

all these commands didnt work do anyone know how to do this? i thikn there must be a way

PS: no luck with smbfs as my machines arent on the same lan network (not sure if samba can connect remotely)

View 7 Replies View Related

General :: Mount A Specific Directory On Server To A Local Windows Machine?

Jan 20, 2011

I have a directory on my server at /home/dave/www/images/site (ext3) which I want to mount directly to my Windows computer so that I can transfer data easily via command line tool. Is that something possible?

View 4 Replies View Related

Fedora :: Mounting Local Filesystems: Mount: Unknown Filesystem Type 'LVM2_member'

Mar 28, 2011

I just updated Fedora 14 with the updates it downloaded and I am now stuck with the error.

View 10 Replies View Related

General :: How To Mount Remote Samba Share From Local Host With Multiple Groups

May 6, 2010

I am using mount.cifs to mount a remote samba share (both client and server are Ubuntu server 8.04) like this:mount.cifs //sambaserver/samba /mountpath -o credentials=/path/.credentials,uid=someuser,gid=1000.I mounted a user from local system with username and password with mount.cifs but the problem is that the user is part of multiple groups on the remote system and with mount.cifs I can only specify one gid. Is there a way to specify all the gids that the remote user has?

Mount the remote samba with multiple groups on the local system?Browse the mount from 1) with the terminal since I want to pass some files from samba as arguments to local programs.which runs through gvfs; but the newer gnome does not write to disk the ~/.gvfs anymore so I can't browse it in terminal. And the last solution would be NFS but that means that I have to synchronize the uids and gids on the local system with the ones from the server.

View 1 Replies View Related

General :: Create A Backup Directory And 3 Directories Within That And Some Files Within The 3 Directories And Then Back Them Up Ot Restore Them?

Dec 19, 2009

i am in need of linux help. iam at college and i need this back/restore script to pass this final part of an assessment. i require a backup script that will not only backup but also restore files to the relevent directories. e.g. users are instructed to store all wordprocessor files in a directory named wp. so i am needing to create a backup directory and 3 directories within that and some files within the 3 directories and then back them up ot restore them. l know i should/have to do this myself by been trying to get/understand info for the last few days and came up with zero.

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved