You are hereForums / Support / External Disk

Finally, the wait is over!!! Videocache 2.0.0 is here :-) Check changelog for changes and new features in this version. Contact Us for your free upgrade!!

External Disk


1 reply [Last post]
sirkike's picture
Offline
Joined: Feb 6 2009
External Disk

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 associated with the e-mail address you provide, it will be 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.
  • Search Engines will index and follow ONLY links to allowed domains.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters shown in the image.

My Book on Squid

Purchase/Renew

Go to Pricing page to purchase a new license or renew your existing license.

Recent comments

Who's online

There are currently 0 users and 204 guests online.