-
linux to linux shares
hello all.
most (if not all) of the posts in this forum are showing how to share from linux to windows or from windows to linux, however i am trying to replace all my systems with knoppix.
so i am at the stage where i need to replace my windows file server (not a server actually just a machine with a lot of disks and these disks are shared).
now i have scoured the net and this forum and as normal for a bloke, decided to ask for directions last!
so could someone let me know the easy way of sharing, read only and full control shares amongst my linux desktops on my lan.
all knoppix 3.7 and all hd installs.
thanks so much.
steve.
-
You could export your filesystems via NFS:
* create a map of directories you want to export (in /etc/exports; for the format of that file
see man exports; it's simple and the man page has some examples)
* make sure the portmapper (/sbin/portmap) is running (at least needed on the clients)
* start the NFS daemon - /etc/init.d/nfs-kernel-server start; this will start the daemons
rpc.nfsd and rpc.mountd
* on the client side you can now mount the exported directories: mount host:/exported/dir /mount/point
* if all works well you might want to add the mounts to your /etc/fstab file.
Happy experimenting ![Smile](images/smilies/icon_smile.gif)
Thomas
-
thanks thomas.
i tried this, i followed all the nfs advice and guidelines i could find on the internet and was (finally!) able to get an exported folder on the client.
however the main snag i hit was that the folder was read only, even though i used all the rw options and tricks i could find.
i think it was down to the exports file entries and having to remove old ones using exportfs -u however i looked down another route in the end.
in the end i hit on a way to do this, i simply accessed my samba shares (these shares are from a liunx box and designed to be accessed by windows clients) by doing smb://host_name from konqueror and then seeing the folders i needed access to, then entering a line in my /etc/fstab file like this...
//host_name/share_name /mount/point smbfs user,auto 0 0
and now i can add a device to the desktop and access the shares like i wanted to.
i know there are going to be nfs experts and purists out there going "oh my god, he did what?" and i have read how samba is only for windows etc, however i only need it for my lan, security isn't an issue, its a very simple network model and it works and nfs isn't without its issues either from what i can gather on the net.
also time is a premium to me.
the main reason i never used this solution before and tried getting my head around nfs in the first place is because if you only do the first part (smb://host_name from konqueror) then when you access a file in the share it downloads it first to a tmp folder before playing, in the case of a video that can take some time, however once i added the line in fstab and made the device then i could access the share like a normal windows share and the file is played from the share rather than a tmp folder.
i guess this is down to it being mounted.
anyway, thanks for the help, onwards and upwards.
steve.
Similar Threads
-
By skitzojase in forum Customising & Remastering
Replies: 1
Last Post: 03-06-2006, 07:56 AM
-
By Jakykong in forum The Lounge
Replies: 2
Last Post: 12-14-2005, 08:36 AM
-
By istoleapig in forum Hardware & Booting
Replies: 2
Last Post: 02-19-2005, 09:28 AM
-
By mpeden in forum MS Windows & New to Linux
Replies: 2
Last Post: 12-11-2004, 12:09 AM
-
By Lame_Duck in forum Customising & Remastering
Replies: 0
Last Post: 02-08-2004, 05:19 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config picture](/store/img/CdkAAOSwY0BmYMoF/s-l225//Dell-Poweredge-R730xd-LFF-14-Bay-2U-Server-Choose-.jpg)
Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config
$454.99
![Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD picture](/store/img/CaAAAOSwEjBmj~ML/s-l225//Dell-PowerEdge-R630-Server-2x-E5-2680-V4-28-Cores-.jpg)
Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD
$256.99
![Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays picture](/store/img/GAcAAOSw9Q1mGSZW/s-l225//Dell-Poweredge-R630-Server-2x-E5-2620-V4-16-Cores-.jpg)
Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays
$171.99
![Dell Poweredge R730xd 2x E5-2660 v3 2.6ghz / 64gb / H730 / 24x Trays / 2x 750w picture](/store/img/mH0AAOSwCvxmK9Zr/s-l225//Dell-Poweredge-R730xd-2x-E5-2660-v3-2-6ghz-64gb-H7.jpg)
Dell Poweredge R730xd 2x E5-2660 v3 2.6ghz / 64gb / H730 / 24x Trays / 2x 750w
$344.99
![Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture](/store/img/ZD0AAOSwm41mOZYw/s-l225//Dell-PowerEdge-R630-Server-2x-E5-2640v3-2-60Ghz-16.jpg)
Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330
$182.65
![HP ProLiant MicroServer Gen8 Server Xeon E3-1220L 16GB RAM No HDD's picture](/store/img/s2gAAOSwEAdmn~uO/s-l225//HP-ProLiant-MicroServer-Gen8-Server-Xeon-E3-1220L-.jpg)
HP ProLiant MicroServer Gen8 Server Xeon E3-1220L 16GB RAM No HDD's
$224.99
![HP ProLiant MicroServer Gen8 Server Xeon E3-1220L 8GB RAM No HDD's picture](/store/img/ZLsAAOSwQp1mPk18/s-l225//HP-ProLiant-MicroServer-Gen8-Server-Xeon-E3-1220L-.jpg)
HP ProLiant MicroServer Gen8 Server Xeon E3-1220L 8GB RAM No HDD's
$229.99
![HP ProLiant DL360 G9 Server 2x E5-2690v3 2.60Ghz 24-Core 256GB P440ar picture](/store/img/HBEAAOSwasRkPVvF/s-l225//HP-ProLiant-DL360-G9-Server-2x-E5-2690v3-2-60Ghz-2.jpg)
HP ProLiant DL360 G9 Server 2x E5-2690v3 2.60Ghz 24-Core 256GB P440ar
$302.90
![DELL PowerEdge R630 8SFF Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45 picture](/store/img/qfQAAOSw9XRklkNR/s-l225//DELL-PowerEdge-R630-8SFF-Server-2x-E5-2680v3-2-5GH.jpg)
DELL PowerEdge R630 8SFF Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45
$229.00
![Cisco UCS C240 M4 2U Server w/ 2x E5-2680v4, NO RAM picture](/store/img/Je8AAOSwIcdmTgJF/s-l225//Cisco-UCS-C240-M4-2U-Server-w-2x-E5-2680v4-NO-RAM.jpg)
Cisco UCS C240 M4 2U Server w/ 2x E5-2680v4, NO RAM
$39.99