Ubuntu :: Mounting On A Network?
Mar 11, 2011How do i mount these they are in a separate computer
MythTV Drive #1: Directories: myth-box:/var/lib/mythtv/livetv, myth-box:/var/lib/mythtv/recordings
How do i mount these they are in a separate computer
MythTV Drive #1: Directories: myth-box:/var/lib/mythtv/livetv, myth-box:/var/lib/mythtv/recordings
Enviroment:
-server ubuntu 9.04 with samba
-client fresh ubuntu 10.04
ubuntu is not auto-mounting samba shares. Old 9.04 done it without a problem. I need to type sudo mount -a to have samba mounted.
fstab:
//192.168.1.101/www /mokonawww cifs auto,iocharset=utf8 0 0
ls -l
drwxrwxrwx 25 root root 0 2010-05-03 17:44 mokonawww
Tested with diffrent parameters. And another problem also with samba shares, when I edit file from editor (eclipse) after save i got 'file changed dialog'. seems like file is written with some delay ? and timestamp dont agree (its my blind quess). On 9.04 no problems. Tested with 2 instances of Eclipse. One copied from 9.04 and second fresh install. Other editors raport the same problem. Its anoying as hell.
If I can't get this sorted, I really can't use Ubuntu so pleeease help. I'm a complete newbie, as in, about 2 hours using ubuntu so far. Generally things are going well. I am trying to create a link to my windows xp workgroup where all my data is stored (I was surprised that linux could even see it!) I mounted a volume on the desktop apparently... that worked fine until I rebooted and it had disappeared. it was fairly annoying that I had to go back into the network and re-mount the volume. How can I get it to stay put, even after rebooting? I have limited to zero knowledge of linux/ubuntu so you may need to break it down for me.I tried using 'Storage Device Manager' as someone suggested but emmm I didn't understand a word of it. In fact there weren't many words. Only acronyms
[URL] I don't understand it at all...
I'm setting up a server, and someone asked me (after I was done installing and formatting) whether the external hard disk attached to this server (with the /var partition) could also be mounted as a network drive for easy file transfer (i.e. drag-drop file transfer without ssh/scp or sftp). If someone has any ideas on how a pre-formatted (ext4) partition can be simultaneously made available as a network drive readable by a Windows machine.
View 3 Replies View RelatedI am trying to configure MPD (music player daemon) to work on my headless ubuntu server. Everything works well, but MPD cannot see the music files stored on my windows XP main computer. These files are stored at smb://LASTNAME/share/music Is there a way to directly mount this drive, so it is accessible at something like /mnt/music, in order that they work with MPD?
View 8 Replies View RelatedI have 2 Ubuntu machines: a desktop in my bedroom, and a laptop.
I have my music shared on my desktop machine, and can access it through the network menu item in the nautilus manager, but I want the files from the share to be mounted on the disk so I can access it through the commandline.
If I right-click the shared folder in Nautilus, it says its location is smb://rob/music
If I do:
mount -t smbfs //rob/music /mnt/music, it tells me that it cant locate rob.
So I try "ping rob" and that doesn't work.
I can't make a hosts entry for rob which happens at this moment to be 192.168.0.8, because my router assigns different IP addresses to various machines at different times, and I cant seem to find a way to make static maps from MAC address to ip address.
So, how come nautilus can see my samba share on the machine "rob", but the mount commands cannot?
I have a network PC running Win7 that u use for storage of all my media; movies, music and pictures.I can connect and use the share just fine using the "connect to server" option under places menu.I think i need to modify the fstab file but I am not familiar enough with it to do this.Have searched other threads for help but I am doing something wrong.HP Laptop running Ubuntu 10.10 connecting to a win7 share through a router.
View 9 Replies View RelatedI was wondering if there is a way to mount a network CIFS share manually to allow it to prompt for password. I've been Googling around and found a couple options. One was to store your credentials in a file and then add the fstab entry to look at the file. I'm not particularly fond of the idea of storing my credentials in a plain text file though, even if I put file permissions on it.Is there a way to mount the share so that it prompts for credentials. The share isn't always online so I want to mount it manually.
View 6 Replies View RelatedI am running openSUSE 11.3 and I have a Buffalo LS-CH1.0TL NAS (it doesn't support NFS) that has all of my media and backup files stored on it. I can access the NAS just fine in Dolphin, but when I try to setup a music folder in any of the media programs (Amarok, Banshee, Rhythm Box) I am confined only to the drive on my computer. There are no options to browse a network share.
So, I guess I have to mount the drive. How do I do this? Is there a GUI I can use to do this, or is this something I need the command line to do? If so, what's the code I need to input to my fstab?
I have two computers both running slackware on the same network using ext3 filesystems.
What is the easiest and most secure way to mount one drive to the other computer?
I am trying to connect an NFS shared to my multimedia Box. I have no problem connecting it manually but when I tried to connect automatically upon booting up the multimedia I have to wait for the wireless to be connected before attempting to mount the NFS file system on the media box.Now I am sure that this can be easily implemented using a script however I do not have much experience with that. I am not sure about the syntax for the loop statement. I know what is required for the mount and other stuff. Is the use of the ping a good idea. It takes about 2 second for the ping to return when fails so after 40 to 60 sec it should stop.
View 2 Replies View RelatedUsing Xubuntu 10.04 to connect to some Windows XP shares by adding lines to fstab. The network shares are not mounted at boot, but can be mounted from the command line, after the OS has booted and everything is up. I am suspecting the network isn't up yet, when fstab is processed. I tried adding the option "_netdev" to the relevant network share lines in fstab, but the shares still don't mount automatically at boot up. I read that this option only works for NFS and I am using CIFS. Can someone confirm that _netdev only works for NFS ?
I've seen solutions involving running a mount script after the OS is fully loaded, or running a cron job to periodically check the status of the share and mount if needed. Good workaround but doesn't address the root cause. Is there any other way (besides the _netdev option) to delay mounting of network shares that appear in fstab until the network interface is up ?
I am having trouble mounting a nfs network partition. I think my problem is related to the firewall in my server.
1. - When the firewall is disable in the server, all the clients are able to mount the network partition without a problem. This is good, but I want the firewall active.
2.- When the firewall enabled, without any port opened, none of the clients are able to connect to the server (expected behavior). This is the message I got:
mount -t nfs 192.168.1.103:/home/username /mnt/myHomeCaraota/
mount: mount to NFS server '192.168.1.103' failed: System Error: No route to host.
3.- When I open port 2049 only (see lines below) Nothing changed. I got the same message. No connetion
-A INPUT -m state --state NEW -m tcp -p tcp --dport 2049 -j ACCEPT
-A INPUT -m state --state NEW -m udp -p udp --dport 2049 -j ACCEPT
4.- If I open ,additionally, ports tcp/udp 111 thre is an improvement because at least I get:
usename@laptop ~]$ sudo mount -t nfs 192.168.1.103:/home/username /mnt/myHomeCaraota/
mount: mount to NFS server '192.168.1.103' failed: timed out (retrying).
mount: mount to NFS server '192.168.1.103' failed: timed out (retrying).
mount: mount to NFS server '192.168.1.103' failed: timed out (retrying).
[Code]...
But in the last case I am opening everything to the clients (192.168.1.100-192.168.1.104) and I believe it is not a good use of the firewall. In summary, I think my nfs configuration is o.k, because I am able to mount the partitions when the firewall is down or when all the ports are open for a given number of clients. I also believe that I need to open ports 111 and 2049 because at leas the server is responding, but I know that I need something else, but I can not figure out what that is.
Using OpenSUSE 11.4 on a backup server. At boot, it needs to connect to the main server's NFS share. Watching the text scroll up the screen, it's obvious that the system waits for anything up to several minutes showing 'mounting NFS...'. Once it (eventually) passes that point, the rest of the boot procedure is as fast as expected.
If NFS is disabled at boot, normal boot times are restored. If the NFS client is restarted via 'rcnfs restart' once the system is up and running, it's instant. If NFS is disabled at boot and started manually afterwards, it start instantly. Once running, NFS behaves normally. The backup server has two ethernet ports, connected via a switch to the main server, which also has two ethernet ports. All ports are configured via DHCP from a router, with all addresses reserved on the router so that all important devices are kept at the same locations.
I have an external Samba network storage drive that I mount using 'mount -t cifs -o username=aaa,password=aaa //myserver /mnt/mountlocation', but I'm finding it to be a pain to enter that whole command every time I turn on that drive and connect it to my computer via the network. I could put that command in a script and run a simple script like 'mntdrive' that would run that command for me, but is there a way to have the drive 'pre-mounted' so that if it's available on the network it's mounted?
If I put the mount command in one of the startup scripts or in fstab, would it be available at the mount location when the drive is connected if it wasn't connected when the computer was first turned on? Or is mounting the drive manually, even if by running a script that does it for me, something I'll have to do every time I turn on that drive? Any creative ways around this? Would make things easier if it is possible.
i want to know what are all possible ways of mounting network drive during boot up.
I want to mount a remote drive which contains some config file of several process,the drive should be mounted at boot up so that all the configuration files are available during boot up.
I am posting this as I have tried several times to work this out. I have read article after article, post after post and tutorial after to tutorial to sort this issue. I have an Ubuntu 10.04 machine running as the LDAP and NFS server with two Opensuse 11.3 desktop machines. Both of the Opensuse machines can login using the LDAP server for authentication and this works fine. The server also exports the NFS Shares no problem but I am unable to mount the shares from the Opensuse machines. I have been using Yast, NFS Client to mount them.
Yast NFS Client can see the shares and lists them however when I apply the settings it states:
'Unable to mount entries in etc/fstab' I need to mount the shares according to the LDAP details as I want the users to be able to access their files no matter which machine they login at. Can anyone shed any light on the issue. Any help would be great and I would be enternally grateful as I am now beginning to pull my hear out slightly.
I recently built a small Intel Atom 330 based server for my home. I'm using the Vortexbox Fedora-based OS to run the server (primarily used as a media server). So far everything is working great. In addition to my media server, I've got a DLink DNS-321 NAS. I would like to setup a scheduled, incremental backup of my main server to the DLink NAS. I understand rsync is an excellent option, and am willing to undertake the task of setting it up on my server, but I am uncertain how to make it all happen with the DLink NAS. The NAS is very barebones, and I don't know if I can even install rsync on it. I don't even know if I can get to any kind of command line on the NAS box. 1. Can I mount the NAS drive on my main Linux server and then just run rsync on the server?
View 7 Replies View RelatedThis is the command I tried using:Code:mount -t cifs //NAS1/reports /home/user/public_html/reports -o rw,umask=0338,uid=587,gid=584,username=admin,password=passwordIt looks like the user can't access the files on the NAS drive. Is there any way to do this?
View 6 Replies View RelatedIs there are fundamental difference in using NFSv4 instead of NFS while mounting drives?What advantages NFSv4 has versus NFS mounting?
View 1 Replies View RelatedWe recently moved to a new home and I am trying to get my home file/print server set up again. Thanks to swerdna's excellent website, I got my server box (just upgraded from 11.0 to 11.2) running Samba and serving my shares over the network, and my "client" machines can access them without a problem.However, I'm not having much luck setting up CIFS mounts on my Linux desktop. I have my all-purpose user added to the Samba auth list (via smbpasswd), and configured my client as swerdna's howto's specify, and I can access the files just find. However, when I try to mount the shares with this command:
Code:
mount -t cifs -o username=klein,password=klein //192.168.1.70/sharedmedia /home/zak/SharedMedia/
I get the following error:
[code].....
I'm using Opensuse 11.4 updated from 11.3, update from 11.2 updated from. I'm mounting at boot time (in fstab) some shares from an opensuse 11.2 server. Mounting worked fine in 11.2, 11.3 and also in 11.4 but suddenly (maybe an automatic update?) It stopped working.... sometimes.
Sometimes they are mounted properly but sometimes they aren't. When mount fails I get a log error: "rpc.statd is not runninf but is required for remote locking. Either use '-o nolock' to keep locks local or start statd"
If I run manually (as root) mount -a the shares mount properly always, so I thought it was a problem of timing (the service starting late) so I tried to get a script to run after the network initialitation, the script does: "mount -a". But it doesn't work either.
I want to setup a SSL encrypted WebDAV share on my OpenSUSE 11.4 server that is accessible from the internet. Everything is working fine when using Windows XP or Linux clients, but a connection with Windows 7 is not possible ("the selected folder is not valid").
I already searched for a solution to this problem I tried several setups:
- with and without encryption
- with Basic authentication
- with Digest authentication
- without authentication
I did not have success so far. Is there any solution to this (except not using Windows 7)? Or can anyone confirm that this should be working (and maybe my configuration is messed up)?
I have a D-Link DNS-323 network drive which mounts at multiple points to my filesystem when booting. I had to make some fstab changes when I upgraded from 11.2->11.3 last year, and now the same thing seems to be happening since I've upgraded to 11.4. When I login to my profile the desktop hangs and no icons appear. I cannot open a Nautilus window, or access ALT-F2, however just about every other program works fine. Since I disabled the fstab lines (slightly modified when copied here to generalize):
Code:
#//192.168.123.xxx/SHARED-FOLDER1/User-folder /home/user/Documents cifs guest,_netdev,uid=user,gid=users
#//192.168.123.xxx/SHARED-FOLDER2 /home/user/SHARED-FOLDER2 cifs credentials=/home/user/.scripts/.creds,_netdev,uid=user,gid=users 0 0
the desktop icons load and Nautilus works. Can I adjust my fstab syntax to correct this and get my network drives back? I think last year the issue was in referencing the ".creds" file...
What must be done to mount an ext3 partition that's on another computer which is connected via utp crossover cable? I can't seem to figure this one out, though I've read somewhere that it can be done, and I'd like to know how.
View 2 Replies View RelatedI need to mount a windows share on my OpenSUSE 11.3. I get it using the mount.cifs command (by itself or using cifstab), but only root can rw file. I try the uid/gid parameters (also using forceuid) and the file_mode/dir_mode parameters, but I get the same behavior: all files and directory with rwxr-xr-x permissions and root/root (user/group). I read the whole section FILE AND DIRECTORY OWNERSHIP AND PERMISSIONS in man mount.cifs but nothing works.
View 9 Replies View RelatedI have managed to get my networkdrive to mount on boot to a windoze share. however how can i get it to permently show the mounted icon on the users desktop?Its so simple a thing that there must be an easy way to do it.
View 14 Replies View RelatedI have a number of diskless hosts which are to bootth PXE and mount their root filesystem on an NFS share. Most of the NFS share will be common to to all of the diskless hosts. No problem with that part.I also need part of the NFS shared filesystem to be unique to each individual host. The only difference between the hosts is the ethernet MAC. I use it in the DHCP server to key a specific unique IP to each host. I would like to be able to use either the MAC, or the IP, or any other unique identifier that can be derived very early in the boot process to access a filesystem or directory that is unique to each diskless host.
I need/want to do this because I need/want to isolate all of the system maintenance to one small part of the boot host. Modifying the hardware (these are VME CPUs) in any way is not an option; they must be field swappable, with all maintenance isolated to the boot host(s).I know I could run ifconfig and parse its output to derive an IP &/or MAC, but that seems a bit kludgey and fragile. The DHCP server is presently assigning IPs. I know I can arrange to pass a unique option value via the DHCP server, but don't know if or how this can be retrieved on the diskless nodes. I am presently passing the 'root=' kernel argument from the bootloader, but I don't think there is any way to pass other filesystem information using that mechanism.
I know I can pass some kernel arguments from the bootloader, but there doesn't seem to be any generic message that can be retrieved in userspace as part of the boot process. I've scanned around in the /proc filesystem, looking for the IP or anything else that seems to uniquely identify the host, but don't see anything there, either.The init process has not yet been cast in stone, but is very likely to be a BusyBox built-in
I know this has been covered in many threads before, but I'm stuck not finding my exact situation or an answer. I'm a newbie using a Debian Linux machine as the client and Windows XP machine as the server. I have successfully mounted the XP Network drive on the Linux machine using commands from the root terminal:
mount -t smbfs -o username="Windows Username",password=windowspassword //XPcomputername/folder /mountpoint/
However when I put the command in the ect/fstab file as suggested in several posts, I don't get any result on boot up. I.e. I can't get the network drive to mount on start up, I always have to manually mount it from the root terminal.
Am in the process of upgrading from an ancient OpenSuSE release (7.2) to 11.2. One thing I have been unable to do that worked fine under 7.2 is remotely mounting a compact flash drive from an XP machine. Worked fine for many moons on 7.2:
# mount -t cifs -o rw //xpbox/'cf (H)' /cf0
I get:
mount error(12): Cannot allocate memory
Other cifs mounts of hard disks work fine.
I found a posting that says this means the memory allocation error is from the XP side. It says to fiddle with the XP registry, specifically IRPStackSize. I was not confident this fix would work since there should not be anything significantly more consuming with 11.2 compared to 7.2, and indeed, I got the same error after changing the parameter to 18 and rebooting the XP machine. Any ideas? I have some suspicion that the space and parenthesis in the share name might be fouling up someone. XP forces the share name to this for some reason.