You are hereForums / Support / External Disk

Version 1.9.9 is out. We have added support for Youtube mobile videos, Facebook, AOL and MySpace videos as well. Fixed caching issues for some already supported websites. Options to control cache directory selection algorithm, bandwidth usage by videocache, etc. More robust videocache scheduler with a lot more options and features. Have a look at changelog for more details. If you have purchased Videocache in last one year, Contact Us to claim your free upgrade. Please mention the email address using which you purchased Videocache. New users proceed to Pricing Page right now, secure your copy and enjoy caching :-) Also, check our new and simplified upgrade policy :-)

External Disk


1 reply [Last post]
sirkike's picture
Offline
Joined: Feb 6 2009
External Disk
Printer-friendly versionSend to friend

I buy a external disk of 1T for videos cache :D hehe. But, i need some help, i mount the external disk with this

mount -t smbfs -o username=xxx,password=xxx,uid=99,gid=99 //192.168.66.76/cache /cache/remoto

The disk is mounted right, and change configuration in /etc/videocache.conf and in /etc/httpd/..

all works perfectly but, i need to be mounted automatically the disk, so i put

"mount -t smbfs -o username=xxx,password=xxx,uid=99,gid=99 //192.168.66.76/cache /cache/remoto"

(i use uid and gid, be cause 99 is nobody, and squid runs with nobody user)

in /etc/rc.d/rc.local

but my question is... the disk will be mounted after or before squid start? I don't wanna restart the system to try, be cause this is a production system...

if some one can give a better way to automount the external disk at boot... thanks!!

Sorry bad bad very bad english.

admin's picture
Offline
Joined: Nov 2 2008

Sirkike,

A better hack would be to mount the remote FS from /etc/fstab entries. I think it achievable that way. In current scenario, I think it'll be mounted after squid start because rc.local is executed at last.

Thank You!

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <code>
  • Lines and paragraphs break automatically.
  • HTML tags will be transformed to conform to HTML standards.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters (without spaces) shown in the image.

My Book on Squid

Purchase/Renew

One License - USD $399
One License - USD $349*
Validity - One Year
Need more? Contact Us
*Includes free upgrades and support for one year.



For details, check pricing.

Recent comments

Who's online

There are currently 1 user and 113 guests online.