Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-19-2006, 01:24 PM
|
#1
|
LQ Newbie
Registered: Sep 2004
Distribution: ubuntu 6.10, fedora core 6
Posts: 10
Rep:
|
CD Server
I am trying to setup a linux box that with be able to distribute multiple cd or dvd images. The only thing I have been able to find is this CDServer-HOWTO.
Is this what I am looking for or is there something else out there?
Thanks for the help.
|
|
|
12-19-2006, 01:35 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
sorry if i'm missing something, but a CD server is just a file server with cd images on it... what special functinality are you looking for over samba / nfs?
|
|
|
12-19-2006, 01:44 PM
|
#3
|
Member
Registered: Dec 2003
Location: Phoenix, Az.
Distribution: Xubuntu Edgy
Posts: 330
Rep:
|
You are looking for a file server.
|
|
|
12-19-2006, 02:12 PM
|
#4
|
LQ Newbie
Registered: Sep 2004
Distribution: ubuntu 6.10, fedora core 6
Posts: 10
Original Poster
Rep:
|
It will be going into a school. I'd like to have all the cd/dvd the school will use on this server. Hopefully this will reduce lost cd/dvd and such.
|
|
|
12-19-2006, 02:16 PM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
yeah, so that's just samba and nfs. i guess you could be looking at some sort of web interface to mount different images on the fly, but i would think that just permanently mounting them would be more suitable, or maybe a proxy through autofs could add a little bit of dynamism to remove and configuration after the initial build.
|
|
|
12-19-2006, 02:51 PM
|
#6
|
Member
Registered: Feb 2004
Posts: 489
Rep: 
|
You could also try http://www.freenas.org/
It's a great and easy to use file server with web administration based on FreeBSD.
|
|
|
12-19-2006, 03:51 PM
|
#7
|
Member
Registered: Dec 2003
Location: Phoenix, Az.
Distribution: Xubuntu Edgy
Posts: 330
Rep:
|
I've used Debian and SME successfully for file servers too.
|
|
|
12-20-2006, 06:40 AM
|
#8
|
LQ Newbie
Registered: Sep 2004
Distribution: ubuntu 6.10, fedora core 6
Posts: 10
Original Poster
Rep:
|
so I can make each cd/dvd it's own nfs/samba share. then have each machine access the cd/dvd they need as needed. Is there any way to automated the machine accessing the shares? This needs to be pretty simple because it is for younger kids.
|
|
|
12-20-2006, 06:56 AM
|
#9
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
well you can, but i'd wonder where the benefit of a seperate share really would be though, why not just have a single share with a directory for each? the usability for the end user is really very straight forward.
If you are interested in making it more sophisticated on the management side you might want to look at this http://gentoo-wiki.com/HOWTO_Auto_mo...)#Config_files which does give a small example of the scenario i mentioned above. normally you'd use an /etc/fstab entry for each iso, which kinda sucks really. instead you can use autofs to map directories automatically.
for example you have a directory /var/iso/ which contains your iso images. you then have a blank directory /var/cds on which autofs lives. now it *should* be fairly simple to configure autofs to say that should someone wish to access an "example" cd, they go to the path of /var/cds/example (via nfs / samba etc...) and autofs takes that directory request and attempts to mount /var/iso/example.iso at that location. this sort of scenario means that you have to do absolutely nothing to integrate a new iso into the system that to drop it into the iso directory, and the rest is implicit. you do have the missing link of getting them to access the right path (as it wouldn't normally exist to click on) but in general, it'd be a very hands off mechanism.
|
|
|
12-21-2006, 05:43 AM
|
#10
|
LQ Newbie
Registered: Sep 2004
Distribution: ubuntu 6.10, fedora core 6
Posts: 10
Original Poster
Rep:
|
acid_kewpie, thanks for the link.
I finally got autofs working after many frustrating hours. For some reason I though autofs should run on the server instead of the client box. Once I put autofs on the client box and configured the files it worked like a charm. There is only last question/problem I have.
I was unable to use autofs to mount files from a remote nfs box. It will mount them from a nfs mount to the local machine. What am I missing here?
|
|
|
12-21-2006, 05:50 AM
|
#11
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
well i did mean to run autofs on the server, but i guess with the correct config you could mount an nfs located iso image locally rather than from the server... so mnay ways to achieve a single task.
not sure what problems you're having on the nfs side in your second part though...
|
|
|
12-21-2006, 05:57 AM
|
#12
|
LQ Newbie
Registered: Sep 2004
Distribution: ubuntu 6.10, fedora core 6
Posts: 10
Original Poster
Rep:
|
Well I got thinking about. What sense does it make to have both the iso image and the iso image mounted through autofs on the same box. Basically each cd/dvd will use twice it's size on the hosting box. Or am I thinking about this wrong?
Here is the setup. hosting box has iso files shared via nfs as readonly. client box mounts the "iso share" then uses autofs to mount files from "iso share" on client box.
|
|
|
12-21-2006, 05:59 AM
|
#13
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
mounting an image doesn't affect disk space at all, no need to worry about that.
|
|
|
All times are GMT -5. The time now is 05:45 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|