Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » All Things Unix » Make a file system mount stick after reboot?
Search Topic:
Uniqs:
850
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
"Volume is corrupt, run chkdsk" What's the command?! »
« Ubuntu 7.04 - Enabling SLI  
AuthorAll Replies


NETSH
Go Gators
Premium
join:2002-11-06
Port Saint Lucie, FL
clubs:
·Vonage
·Comcast Digital Vo..
·Comcast

 Make a file system mount stick after reboot?

I have two Linux RH servers running different applications. I need to share a folder on one of the servers so that the other server can mount it. On the one server called "Track" I created the following directory:

\\track\u\CDList (I then made it a samba share so that PC users can drop files into it)

On the other server called "Classpag" I want to mount this folder that is on the track server...I can do it by the following:

#mkdir /z
#mount //track/u/CDList /z

This will mount the remote folder to the /z file system

Now once I reboot this mount will disappear.

What would I need to place into the /etc/fstab file so this will mount every time the server is rebooted?

Being on a different server I think the options in the fstab file need username and password as well.
--
=="I am the embodiment of IT"==

pablo2525

join:2003-06-23
·TekSavvy Solutions..

I'm going to assume you tried reading the man page and got stuck?

If not: man mount

If so:

:)

--
pablo
openSUSE 10.2/KDE
ISP: TekSavvy DSL; backhauled via a 6KM wireless link


NETSH
Go Gators
Premium
join:2002-11-06
Port Saint Lucie, FL
clubs:
·Vonage
·Comcast Digital Vo..
·Comcast

Here is what I have in the fstab file and it still isnt working. What could I be missing? See entry in bold. The other entries are pre existing.

# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=/u /u ext3 defaults 1 2
LABEL=SW-cciss/c0d0p3 swap swap defaults 0 0
LABEL=//track/CDList /z smbfs username=****,password=****,sockopt=IPTOS_LOWDELAY,TCP_NODELAY,ro
--
=="I am the embodiment of IT"==


powerhog
Stinkin' up the joint
Premium
join:2000-12-14
Owasso, OK
I'd drop the LABEL= part of that line and see what happens.


NETSH
Go Gators
Premium
join:2002-11-06
Port Saint Lucie, FL
clubs:

1 edit
nope...still not working. I cant believe how hard this is. Maybe a startup script is the answer instead.
--
=="I am the embodiment of IT"==

salahx

join:2001-12-03
Saint Louis, MO

reply to NETSH
said by NETSH See Profile :

Here is what I have in the fstab file and it still isnt working. What could I be missing? See entry in bold. The other entries are pre existing.
LABEL=//track/CDList /z smbfs username=****,password=****,sockopt=IPTOS_LOWDELAY,TCP_NODELAY,ro
This should be "cifs" not "smbfs", unless you are connecting to a 9x/ME machine.
Forums » Tech and Talk » OS and Software » All Things Unix"Volume is corrupt, run chkdsk" What's the command?! »
« Ubuntu 7.04 - Enabling SLI  


Sunday, 08-Nov 16:50:22 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [156] Cable Uncapper Faces Criminal Charges
· [140] AT&T Sues Verizon Over 3G Ads
· [112] Why Run Fiber When You Can Run Ads That Pretend You Do?
· [108] Comcast Is Simply Getting Huge
· [92] Apple Cooking Up New $30 A Month TV Service?
· [82] Bits Of ACTA Agreement Leaking Out
· [80] Will 'Three Strikes' Come To The United States?
· [78] Verizon To Double Smartphone ETFs?
· [76] Verizon: Droid Tethering Will Cost $30 Extra
· [73] Comcast, NBC Deal Almost Complete
Most people now reading
· Hit and run [General Questions]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· NO ONE knows what's wrong with my line! [TekSavvy]
· [NFL] Week 9 Games Thread [Sports Chat]
· Connecting to Google Voice Via SIP [VOIP Tech Chat]
· Security Software Updates - 08 Nov 2009 [Security]
· Please Help, I think my computer is being monitored [Security]