Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 21 Oct 2014, 08:11
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How Do I Mount Remote Hard Disks?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
Author Message
ozboomer


Joined: 04 May 2005
Posts: 94
Location: Melbourne, Australia

PostPosted: Sun 07 Aug 2005, 02:52    Post subject:  How Do I Mount Remote Hard Disks?  

I have a couple of PCs running 1.0.1 and 1.0.4 versions of Puppy and I have the networking going over a crossover cable between the two. I can 'ping' and so on... but, in a nutshell, what do I have to do on each PC to make the other computer's hard disks visible/mountable on each PC?

As is often the case, for some unknown reason, the Wiki is inaccessible at the moment (well, it takes 2-3 mins. to render a page)... and I've looked there before and haven't had any joy finding any relevant info.

Thanks in anticipation...


John
Back to top
View user's profile Send private message 
Guest
Guest


PostPosted: Sun 07 Aug 2005, 02:59    Post subject:  

Depending which way you wanna do it..

The *nix way

grab nfs utils and portmap packages and you'll be wanting a proper version of mount as busybox's mount doesn't do nfs mounts from slackware-9.1 and higher and unatr them to suitable directories

trot over to the linux documantation project web site and follow the howto for nfs or google for NFS HOWTO.......Now I know that puppy has the nfs filesystem modules modules but I can't remember if the kernel is configured for nfs server.

or you could do the SAMBA but this is a huge install
Back to top
ozboomer


Joined: 04 May 2005
Posts: 94
Location: Melbourne, Australia

PostPosted: Sun 07 Aug 2005, 03:18    Post subject:  

bladehunter wrote:
grab nfs utils and portmap packages and you'll be wanting a proper version of mount as busybox's mount doesn't do nfs mounts from slackware-9.1 and higher and unatr them to suitable directories

trot over to the linux documantation project web site and follow the howto for nfs or google for NFS HOWTO.......Now I know that puppy has the nfs filesystem modules modules but I can't remember if the kernel is configured for nfs server.


Okie... The biggest requirement here is *simple* Smile

When I work it out, I'll probably write-up a lil' HOWTO on this, 'coz I can see it being a common thing to do when people want to migrate between PCs.

Fanx!
Back to top
View user's profile Send private message 
Guest
Guest


PostPosted: Sun 07 Aug 2005, 04:02    Post subject:  

That's how I learnt to do NFS about 12 months ago..it's a very clear and concise howto and has some good problem solving suggestions
Back to top
ozboomer


Joined: 04 May 2005
Posts: 94
Location: Melbourne, Australia

PostPosted: Sun 07 Aug 2005, 04:59    Post subject:  

bladehunter wrote:
grab nfs utils and portmap packages and you'll be wanting a proper version of mount as busybox's mount doesn't do nfs mounts from slackware-9.1 and higher and unatr them to suitable directories

I've found a couple of RPMs for nfs-utils, portmap and mount for RedHat 8.0 i386... Will they be suitable for use in Puppy? I can't find anything referring to Slackware in rpmfind.net ... and there's no mention of any of these in pupget or DotPups...

...and I've not done any 'make-do' installations for a long time now... so can I simply unpack the .rpm contents into the 'correct' directories on startup and unionfs will take care of everything? (I understand I would need to 'unleash' things and/or remaster Puppy to make the installations of nfs-utils, etc permanent).
Back to top
View user's profile Send private message 
Guest
Guest


PostPosted: Sun 07 Aug 2005, 06:22    Post subject:  

Ok feeling kinda groovy

Got the required stuff from slackware...included the nfsd kernel module too...have a look in tthe archive to see whats here and you can decide where to put things

I think you may have

insmod sunrpc
insmod lockd
insmod nfsd

That should do ther server

for the client
modprobe nfs

I've included the startup scripts from slackware for portmap and the nfs server cos I think if I remember correctly you are a bit of a shell scripter
nfs.tar.gz
Description  Hopefully what you need
gz

 Download 
Filename  nfs.tar.gz 
Filesize  197.63 KB 
Downloaded  611 Time(s) 

Last edited by Guest on Sun 07 Aug 2005, 07:14; edited 1 time in total
Back to top
ozboomer


Joined: 04 May 2005
Posts: 94
Location: Melbourne, Australia

PostPosted: Sun 07 Aug 2005, 07:11    Post subject:  

Thanks... Have collected the slackware items... but the mount item in this discussion is missing -- when I try to download the mount file, the forum says the file doesn't exist anymore.. ???
Back to top
View user's profile Send private message 
Guest
Guest


PostPosted: Sun 07 Aug 2005, 07:16    Post subject:  

oooops ummmmm I kinda edited the post....hope you didnt waste too much time downloading Embarassed
Back to top
ozboomer


Joined: 04 May 2005
Posts: 94
Location: Melbourne, Australia

PostPosted: Sun 07 Aug 2005, 07:18    Post subject:  

ooop! We running our msgs at the same time, methinks Smile

Okie... I'll grab the nfs thingy you've put up... I've yet to examine/unpack any of these just yet but if these things need something in /usr/lib or /var/lib, I'm not sure what I'll haveta do with it.

Anyway, Fanx! for the help... and ya, I'm more-or-less familiar with shell scripts [ altho, perl is my forte Smile ]
Back to top
View user's profile Send private message 
ozboomer


Joined: 04 May 2005
Posts: 94
Location: Melbourne, Australia

PostPosted: Sun 07 Aug 2005, 08:22    Post subject:  

I appreciate the efforts in building the .tgz etc but the startup scripts in the one bladehunter posted, as well as in the slackware 'nfs-utils' package all refer to something that doesn't seem to exist in puppy - /usr/sbin/rcpinfo ...

It's mainly used to see if the networking things are actually running but is it something that is required for nfs to work? I guess it isn't but I don't want to compromise something with my Puppy installations.

Also, it would seem I *need* to do the 'unpacking' of the .tgz or .rpms at every boot (unless I remaster Puppy) as the scripts in various locations (/usr/sbin, /etc/rc.d/init.d, etc) all fully-reference the various 'elements', eg /usr/sbin/rpc.lockd)...

...unless I make my Puppy 'customized' and non-standard and change all the scripts that are used to point to my own, custom locations. I guess that's what you were talking about, bladehunter?

Hmm... Having such customizations will make for a problematic upgrade path when new versions of Puppy are released. Will have to think about that more...
Back to top
View user's profile Send private message 
Guest
Guest


PostPosted: Sun 07 Aug 2005, 08:39    Post subject:  

Just unpack the binaries and kernel modules into /root/my-applications/nfs

rename mount to mount-FULL and put that into /root/my-applications/bin

Add the nfs server commands into rc.local remembering the locations where you put the binaries

Or create a rc.nfs-server & rc.portmap script for puppy and call them from rc.local

By putting things into /root/my-applications things should survive the upgrade path without too much worry

I could do a roughie dotpup but would need your help in cleaning up the start-stop-restart scripts...interested...I know not a wide audience but it would be there.....or maybe barry could be persuaded to add the needed stuff to main stream Puppy as I dont think it would add a great deal of stuff and would be great for Puppy accessing remote unix shares
Back to top
Guest
Guest


PostPosted: Sun 07 Aug 2005, 09:16    Post subject:  

I'm going to test a kernel (2.4.29) with nfs client and server stuff compiled in...I don't know if it will suit you application but it's given me the idea anyways Smile
Back to top
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Sun 07 Aug 2005, 09:23    Post subject:  

This thread is great, I think it will help many people that need to map drives.

Still, I'm going to start one step back. What is your need?

A) Do you need to mount the folders
or
B) Do you want to be able to copy files between computers?

If it's A, this is the right thread.

If it's B, you could just use FTP . Puppy comes with a simple FTP server "Start | Network | BetaFTPD FTP Server". You can have it running in 5 minutes without downloading anything else.
Back to top
View user's profile Send private message Visit poster's website 
ozboomer


Joined: 04 May 2005
Posts: 94
Location: Melbourne, Australia

PostPosted: Sun 07 Aug 2005, 09:28    Post subject:  

Ok... I've been thinking about all this, too.

If we put everything in /root/my-applications/nfs... we use the 'complete' (full-featured) mount image... and we write a couple of scripts (in rc.d) to start nfs for a server and a client... and call those from rc.local, *theoretically* it should all work, I agree. It's just that I'm not too flash on Linux dependencies, etc and if things are missing from 'vanilla Puppy'...

bladehunter wrote:
By putting things into /root/my-applications things should survive the upgrade path without too much worry

Yup... although, we still have to watch when upgrades come through that nearly everything in /root/... is 'touched' or something -- I think sysinit still has this silly 'copy everything from the CD even if it's older' command in there, so etc/hosts, etc/hosts.deny, /etc/exports, etc might all be trashed with an upgrade.

bladehunter wrote:
I could do a roughie dotpup but would need your help in cleaning up the start-stop-restart scripts...interested...

Surely... and we can get lots of info from the existing scripts to see what issues are addressed in the startup/shutdown/restart, etc.

bladehunter wrote:
I know not a wide audience but it would be there.....or maybe barry could be persuaded to add the needed stuff to main stream Puppy as I dont think it would add a great deal of stuff and would be great for Puppy accessing remote unix shares


For me, it's a philosophy question. Barry's 'Mission Statement' talks about Puppy being 'extremely friendly for Linux newbies' and will 'have all the applications needed for daily use'. Particularly where we have people moving from M$ into a Linux environment, one of the things that's critical is that people can access their old data... easily.

To have the Ethernet/network wizard is a great start (I've managed to get my 2 PCs talking at least with minimal effort... but we still need to explain a bit more about IPs and netmasks... but to get the computers connected isn't too bad)... but we need to make things simple for new people to get to their old data. Plug in a cable... run a wizard or two... and they can get to their old data quickly... that's what I think we need to do (and why I'm an advocate for automounters... we can always use something like MTU to disable startup mounts.. ultimately)... but I get sidetracked AGAIN.

I'll have a go at your last post re: file locations, etc... and see what happens. That ref. you gave to the LDP was/is very useful and I'm still ploughing through it Smile
Back to top
View user's profile Send private message 
ozboomer


Joined: 04 May 2005
Posts: 94
Location: Melbourne, Australia

PostPosted: Sun 07 Aug 2005, 09:35    Post subject:  

rarsa wrote:
What is your need?

A) Do you need to mount the folders
or
B) Do you want to be able to copy files between computers?

If it's A, this is the right thread.

If it's B, you could just use FTP . Puppy comes with a simple FTP server "Start | Network | BetaFTPD FTP Server". You can have it running in 5 minutes without downloading anything else.


FTP is probably sufficient... but for me, I have a couple of requirements...

I want to find out more about Linux anyway... and Puppy is fairly kind Smile

...and I'm talking about transferring complete directory structures. It's far easier to just drag'n'drop with Rox, etc than to try and work out an ftp script and/or do things interactively... especially if we're going to give this sort of facility to the non-technical user. They don't 'need to know (minister!)'... that nfs is running, disks are being mounted remotely, blah, blah, blah... *until* they really NEED to know about such things. The Puppy philosophy again - it just works.

Anyway, enough of this for now... I've been Puppying for... (looks at the boot time for Puppy running on his M$ PC) ...5.5 hours and my brain needs a rest Razz

Many thanks for everyone's interest...
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0887s ][ Queries: 13 (0.0053s) ][ GZIP on ]