General :: Network Shares - Options For Connecting One Host's Filesystem To The Other?

Aug 23, 2010

I have two Linux hosts (both running Ubuntu 10.04) and I want one of them to have access to part of the filesystem of the other. I.e. I want remote1 to be able to access the files of remote2:/home/username

This is simply to allow me to access my home directory on the other machine, read-write, and there's no need for other users to be able to access this too. The used IDs for 'username' are different on each host, for reasons I won't go into (Likewise, ADS, etc).

I tried Samba but I found it unreliable. For example, I have a program that monitors a directory and updates a list of around 12,000 files. I found that this list was constantly changing with files dropping out and some files being randomly unreadable. It was too unreliable.

I had something working quite well on remote1 with:

sshfs remote2:/home/username ~/remote2 -o idmap=user -o uid=$(id -u) -o gid=$(id -g)

This works perfectly for a while. Unfortunately remote1 is a laptop and is regularly disconnected from the LAN. This seems to completely break things when this sshfs filesystem is mounted, and typically requires a reboot to recover. I started to look into NFS but I ran into problems with this a few years ago with regards to user id mappings. At the time, I found there was a user-space NFS server that dealt with this but it had a bunch of its own problems. But that was NFSv3. Can NFSv4 'kernel server' handle different user ids and map between them properly? I really don't want to use NIS, and I can't actually change the user IDs anyway - they are set by external means.

Also, how does NFS handle an 'unreliable' network connection? Will it automatically reconnect or will the share be broken until it is remounted? What about something like CIFS? Can this cope with the network being regularly and unpredictably broken? This might have the same problems that Samba did, but it's worth a try if it will be suitable.

View 3 Replies


ADVERTISEMENT

General :: Connecting To Network - Other Host Cannot Ping - Eth0 Not Showing In Ifconfig Report - Ver1.qu1

Jan 13, 2010

i know this is crazy, but im using a [URL] and have loaded a copy of "red hat linux 7" on the computer. i have no idea what kind of hardware config/spec stuff i should have in my immediate vision, and if i did i'm not sure how i would make sense of it all. linux loaded fine. didnt save drivers. eth0 not showing in ifconfig report, but lo is connecting to network, other host cannot ping linux and vice versus

can mount a cdrom, but not a usb flash dont quite understand how the load methods work involving /mnt/cdrom/"usbutils-0.86tar.gz" eth0 problems and gnome rpm stupidity keeps me from upgrading sys from old version to a newer version, cant even find the cmd to show me that info, sorry. have usb files i want to mount, dont know how to loAD THE CDROM FOLES, SO EVEN THAT ISNT WORKING OUT HAVE DISCS WITH howtos just need to stay focused on steps to get desired end result, while trying to learn too much info for what im currently doing between all the f!@#@ing windows i have open.

View 2 Replies View Related

Networking :: Mounting Unique Filesystem Or Directory By Network Booted Host?

Apr 6, 2010

I 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

View 5 Replies View Related

General :: What Are Appropriate Filesystem Options For Backups

Mar 12, 2011

I have just purchased a 1 TB external hard disk to be used for backups. The backups will be performed with rsync and since I don't really care about accessing the data from other operating systems, I think I'll use ext3 on the partition. I'll just be backing up my home directory and probably /etc as well. In my home directory, I have a small number of files that are several GB, but most are tens of MB in size or less.

I'm just wondering if there are any special options I should pass when I create the filesystem with mkfs.ext3.

View 6 Replies View Related

General :: Cfdisk And NTFS Filesystem Options?

Apr 10, 2011

I would like to format a pen drive to NTFS, so that a windows machine can use it, but Im unsure of the filesystem option's in Cfdisk. These are the options:

07 HPFS/NTFS
86 NTFS volume set
87 NTFS volume set

I think 07 is probably the right option, but as always when I dont know something, I like to get some advice from LQ members.

View 4 Replies View Related

General :: Getting DHCP Options On A TinyCore Or Oracle Enterprise Host?

Feb 11, 2011

I have several hosts running either TinyCore or Oracle Enterprise Linux that are using DHCP to get their IP addresses and other network configuration.I'd like to use DHCP to pass in some other information, but I don't know how to get DHCP options, including custom options, in a CLI script.

View 2 Replies View Related

General :: Use Exceed As An X-windows Without Connecting To The Host

Aug 13, 2010

how to use the eXceed as an X-windows alone without connecting to any host or network?

View 1 Replies View Related

Fedora Networking :: Connecting To Windows Shares On Another PC

Jun 13, 2009

I'm just staring with fedora 11 and I want to know how to do the following:
1- Connect to windows shares on another PC.
2- Set these shares to be accessible in the Computer location at all times.

View 2 Replies View Related

Networking :: Connecting Box To Small Business Server Shares?

Jan 6, 2009

I want to connect my linux laptop (Mandriva 2008.1 x86_64) to my windows small business server. My issue is that I am not sure what I can and can't do in terms of any windows config changes. Can linux (I assume using Samba) connect normally?

View 2 Replies View Related

Software :: Ubuntu 10.4 VB Guest Cannot Write To Shares On 9.10 Host

Jun 11, 2010

I just upgraded to the newest VirtualBox, version3.2.4.r62467 and installed Ubuntu 10.4/64 guest on an Ubuntu 9.10/64 host. I installed the guest additions and set 3 shared drives. I can see them in the "machine folders" names, paths and access modes in the "shared folders" dialog. But, when I try to write to them, I always get Permission Denied!

I mounted it as root:
mount -t vboxsf tera /vb/tera
It shows up in mtab:
root@ubu-10:/vb# grep tera /etc/mtab
tera /vb/tera vboxsf rw 0

I can see the listing:
root@ubu-10:/vb# ls /vb/tera
bak Recycled <snip>

But, the permissions are wrong and can not be corrected. Chmod and chown are ignored?!
root@ubu-10:/vb# ll /vb | grep tera
drwxr-xr-x 1 root root 12288 2010-05-04 09:42 tera/
root@ubu-10:/vb# chown brianp /vb/tera
root@ubu-10:/vb# chmod 775 /vb/tera
root@ubu-10:/vb# ll /vb | grep tera
drwxr-xr-x 1 root root 12288 2010-05-04 09:42 tera/

I am running as root:
root@ubu-10:/vb# whoami
root
The VB shared folders dialog, machine folders shows /tera with access Full. /etc/mtab confirms that it is rw

I own it on the host:
brianp@trex:~$ ll / | grep tera
drwxr-xr-x. 16 brianp root 12K 2010-05-04 09:42 tera
Why can't I write to it?

View 3 Replies View Related

Server :: Slow Speed While Connecting To Samba File Shares From Vista

Mar 6, 2010

I have set up a file server (Ubuntu Server Edition) for our lab. People can connect to common Samba file shares from their personal laptops/desktops, which run either Windows Vista or Mac OSX. The guys with OSX have upload/download speeds of ~2 MB/s, while the Vista machines are slogging away at ~200kb/s for downloads and ~400kb/s for uploads. In both cases, the connection are through wired ethernet ports which should function identically. Since the Macs work fine on the same network, I assume this is a Vista issue.

I have tried troubleshooting one of the Vista machines by:
1. Turning off the Remove Differential Compression feature
2. Disabling autotuning following these instructions
3. Adding a registry key following the same link above.

But nothing has improved. Anybody have any advice on addition tweaks to the Vista machine? Is there a chance that this is actually a server-side/samba issue?

View 3 Replies View Related

General :: Unable To Access Windows Shares Or Printer Over Network

Dec 19, 2009

I've got my other networking problem (mostly) solved, but now I'm having other issues.I was previously able to access the shared folders on a Windows machine on the network essentially by default. Now whenever I try to navigate to the shared folders graphically (either through Places->Network->Windows Network->(workgroup name here), or through a custom shortcut on the deskop), I get a message: "Failed to retrieve share list from server". I have no idea what I might have done config-wise (or install-program-wise) to screw it over, but something's definitely not working...it's been like this for a good many weeks, and I've just dealt with it, seeing as how I don't normally use that shared folder much anyway.

What's really ticking me off now, though, is that long before this started happening, I had set up a printer share with the same computer (using the graphical tool that comes with Ubuntu), and that worked excellently to start out. Recently, however, when I tried to print from the same printer (after the "Failed to retrieve share list" message started showing up), it would sit there and show "Pending"; it wouldn't print at all. Then I tried deleting the existing entry and creating a new one, figuring a new, fresh configuration would be created. However, when I tried to add a printer via the graphical tool (same as I had done before), it's telling me that "No printer was fount at [that] address".

View 4 Replies View Related

Ubuntu :: Automatically Mount Two Shares From Windows Vista SP2 Host - Error - 112

Jan 30, 2011

I'm running Ubuntu 10.04 on a VM and I'm trying to automatically mount two shares from the Windows Vista SP2 host. Currently this is failing with the message "mount error(112): Host is down".

I recently upgraded VMWare Server. Before the upgrade I was able to mount shares without a problem. I can still mount shares on the host using the builtin "Connect to server" feature in Gnome. The problem I'm running into is mounting shares via the command line or via fstab. The relevant lines from my fstab are below.

Just a couple notes: the IP address of the host is static on the virtual network, so using the IP address as the server name should not be an issue. Also, I am able to ping the host fine (which obviously must be true for me to mount using the Gnome feature).

View 2 Replies View Related

CentOS 5 :: Connecting To Existing NFS Filesystem?

Mar 2, 2011

I have installed Centos 5.5 running in VMware on my windows PC. My PC is part of a network which connects to a Linux Fileshare system. I am wanting to connect to the existing Linux fileshare from centos. The know the fileshare is NFS and I know the IP address and directory name. I attempted to connect using the 'mount' command as#mount -t nfs <server IP address>:/<directory> <local directory>An attempt was made to mount, however it is username/password protected. I have gone through the docco for 'mount' and cannot find anyway of passing <username><password> with 'mount'. Does anyone know how? Or am I using the wrong command?

View 3 Replies View Related

General :: Administration - Managing SAMBA Shares And Giving User Specific Access For The Shares

Jul 28, 2010

I am working as a Linux administrator in a very small data centre with 5 servers with following routine tasks.

1. Managing SAMBA shares and giving user specific access for the shares.
2. Scheduling backup of some mount points with rsycn to store data in remote hard disk
3. User and group administration, with sudo access.
4. Creating and Managing Xen Virtual machines and giving access to other project teams.
5. Automating some tasks with Shell Scripting.
6. Managing FTP server for user uploads.

I have practiced a lot in my home laptop without RHEL training, Cleared RHCE and LPIC1. I want to do some advanced system admin tasks, but do not have option in my current data centre. With Above skills is it possible to get a job ?

View 9 Replies View Related

Ubuntu :: Network Shares Not Available \ When Use OpenOffice Writer To Open/save Files The Shares Disappear In The "Open/Places"?

Apr 23, 2010

I am giving 10.04RC a try instead of Windows 7, so far so good. I can connect to my network shares fine using "Connect to a Server" & bookmark with the file browser, however when I use OpenOffice writer Spreadsheet to open/save files the shares disappear in the"Open/Places". Is this a bug in Ubuntu or Open Office? Is there an update/fix?

View 1 Replies View Related

Networking :: Connecting VM And Host With NFS?

Mar 4, 2010

I am currently running ubuntu on a qemu-kvm virtual machine, and the host is fedora. I would like to mount a folder of the host machine on my VM, but never succeeded. The result of the command is :

root@armnlib-kvm:~# mount -v 192.168.1.10:/nfs /nfs
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Thu Jul 7 06:02:43 2011

[code]....

And the showmount -e on the host gives :

Export list for cudak:
/nfs 10.0.2.15

View 9 Replies View Related

Networking :: Connecting VM And Host With NFS ?

Jul 7, 2011

I am currently running ubuntu on a qemu-kvm virtual machine, and the host is fedora.

I would like to mount a folder of the host machine on my VM, but never succeeded.

The result of the command is:

And the showmount -e on the host gives:

View 1 Replies View Related

Networking :: Very Low Network Performance In Host-to-host Connections

Jan 27, 2009

The internal network is behind nat done by the PC Router.The TP Link is recieving wireless signal from outdoors and it has switching and basic routing capabilities. I'm using the PC router for better routing options.PC Router (or R for short) is a triple-booting machine - Linux, FreeBSD and Windows. It has two lan cards - external (ext_if) - 100Mbps Realtek 8139 and internal (int_if) - 1Gbps integrated Realtek 8169.The problem is that all traffic from R to the network is slow - about 5-20K, while the traffic in the oppoiste direction is all right - about 10MB that is fine for 100Mbps cables, NICs and switches. The problem persist no matter the OS the pc R is running.I've tried some debugging on the situation as follows:

- put another PC at the place of R - everything is fine. That exclude the possibility of damaged cables, RJ-45s, switches and etc.
- connected both of the NICs to the Internet while the internal network is being disconnected and they both work fine (no delays)
- traffic shaping is not running
- there is nothing in firewalls except NATing the internal network (and it is working fine). Actually these firewall rules have been operational for more than months and everything was fine untill a week or two ago.
- changed the internal NIC with another
- connected the internal network directly to the TP and all of the PCs are getting good network performance. Then connected the R machine to the TP as well and there was good performance between the internal network PCs and R.
- R has good performance to the TP. In fact everything has good performance directly to the TP (when not connecting trough R).
- the problem persist only between R and machines from the internal network.

View 2 Replies View Related

General :: Connecting To XP Mshome Network?

Jun 22, 2010

I have the latest ubuntu and it seems to be all fine except I am trying to connect to my mshome XP network without any luck. I have installed Samba and in Network places it shows Workgroup and MSHome. Click on MSHome and I see my XP boxes.

Click on an XP box and I get.. You can stop this op etc' then I get the 'Unable to mount - Failed to retrieve share list from server' error. I have been on this for 3 days now and just about over it I'm sorry to say. The forums are thick with threads like mine without any definitive answers. I had a distro called MEPIS on before Ubuntu and with these same machines I was able to connect to the network without any problems so I am baffled why I can't now.

View 3 Replies View Related

Networking :: VirtualBox - Connecting Host And Client

Oct 15, 2010

I am trying to config linux box as router.

I have CentOS 5.5 client and host in VBox. I can't connect them (I am using bridge adapter mode) as I don't have router in between.

I just created DHCPD on host, and followed

[URL]

But that don't seem to work also. Host is 192.168.1.10 and client is 192.168.1.100 but when I ping host from client, it says Destination host unreachable.

View 2 Replies View Related

General :: Connecting Ubuntu PCs Via Network Cable?

May 1, 2010

How can I connect two PCs having Ubuntu OS with network cable?Similarly how can I connect two PCs one having Ubuntu and another having WINDOWS OS?

View 3 Replies View Related

General :: Access Network While Connecting Through Squid

Jun 28, 2011

I am facing problem to access my network PC's and even ping. My network scenario is as follows. I am using squid 2.6 stable 21 on RHEL5. all other PC's on network (OS is Windows XP Professional SP2) are connected to internet through squid, authentication is ON on squid. All PC's on network (Win XP Systems)are assigned IP statically and Default Gateway is set which is Squid's IP. I want to access these PC's (Win XP Systems) mean share data between them. The problem is that i am unable to access and even ping these PC's.

View 2 Replies View Related

Ubuntu Networking :: Connecting A Virtual Machine To A Host Via NFS

Jul 7, 2011

I am currently running ubuntu on a qemu-kvm virtual machine, and the host is fedora. I would like to mount a folder of the host machine on my VM, but never succeeded. The result of the command is :

root@armnlib-kvm:~# mount -v 192.168.1.10:/nfs /nfs
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Thu Jul 7 06:02:43 2011
mount.nfs: text-based options: 'addr=192.168.1.10'

[Code]....

View 2 Replies View Related

CentOS 5 :: Determine What Host Name An IP Is Connecting To From Command Line?

Jun 8, 2011

Is there any command which could help me to determine which host name (domain name) an IP is connecting to from the command line?

View 5 Replies View Related

General :: Automatically Connecting To A Network When The Cable Is Plugged In?

Apr 2, 2011

Is there a way to have linux connect to the network when the ethernet cable is plugged in? I'm using Gentoo Linux, and I haven't found the right setup for the conf/net that'll allow me to do that.

View 1 Replies View Related

General :: Connecting To A Wireless Network From Command-line?

Nov 4, 2009

I run Ubuntu, and it has a nice GUI widget thing that connects me to my home wireless network when I boot. I don't have a problem with that. But suppose I don't start X, and boot to a recovery console for some reason, like I did recently when my graphics were broken after installing Karmic. In that case, my computer won't be connected to the wireless network until I log into X normally. So I can't apt-get anything or anything. It's very annoying. And I don't know how to connect to my wireless network.

I know my wireless network SSID, and I know my WEP key or WPA passphrase. How can I log onto the network with commandline tools? Is there some basic program that I can just run "networkmanager <myssid> <mywepkey>"? I looked at the iwconfig man page and I honestly couldn't figure out how to simply connect to my network. Once I figure out how to connect to the network with command-line tools, where can I put an "autoconnect" script so that it will connect during startup, like it should anyway?

What I don't understand is, why the Ubuntu network manager nm-applet, doesn't just work as a front-end for more basic networking stuff. I don't see any reason why it should require you to start X before working; it could be a daemon that runs at startup, and there could be a config-file somewhere, but it doesn't even start running until I log onto gnome.

View 16 Replies View Related

General :: Kubuntu 10.4 Is Not Connecting To Wireless Network On Thinkpad T43

Dec 5, 2010

I'm using three different UNIX OS's.I have used gnome on my laptop for most of the time I have had it and I decided it was time for a change in GUI,I am wanting to use KDE but I can't get it to work with my laptop I have tried mandriva 2010.1 spring and that one was slow and it kept dropping my wireless connection.So I got rid of that in tried Kubuntu and now it will not use the wireless.Ubuntu and Ubuntu SE and the live version of super gamer can all connect it's just Kubuntu and mandriva

View 2 Replies View Related

General :: Detect Filesystem Type (can't Mount Filesystem Image .img)

Mar 11, 2011

I am trying to mount a file image, like this

mount -o loop /tmp/apps.img /media/apps

But I get the following:

mount: you must specify the filesystem type

I try ext3:

mount -o loop /tmp/apps.img /media/apps -t ext3

dmesg says:

error: can't find ext3 filesystem on dev loop6.

I've also tried ext2, vfat etc. How can I detect the filesystem type of apps.img?

View 2 Replies View Related

General :: External Drive Read Only - WARNING! Running E2fsck On A Mounted Filesystem May Cause SEVERE Filesystem Damage

Mar 24, 2010

I've had a look at some similar threads but as I'm very new to linux they're already a bit technical for me. Sorry, this calls for someone with patience. I gather from other threads that disconnecting an external drive without unmounting is a no-no, and this seems to be the likely cause. Now the disk is read only and I'm unable to change any settings through the usual control panel on ubuntu. I'm just not familiar with the terminal instructions. I tried to cut and past a few command lines from other threads but I got some warnings that proceding could damage data. Like this one: WARNING! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage.

View 5 Replies View Related







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