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?
Uniqs:
881
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  

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..

Re: Make a file system mount stick after reboot?

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

Re: Make a file system mount stick after reboot?

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

Re: Make a file system mount stick after reboot?

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

Re: Make a file system mount stick after reboot?

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

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  


Tuesday, 01-Dec 01:56:32 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [56] Baltimore To Ban Lazy Cable Installs
· [47] Broadband Killed The Game Console
· [33] Rural Carriers Quickly Embracing Fiber
· [28] AT&T Top Lobbyist Cicconi Has His Feelings Hurt
· [24] Charter Exits Chapter 11
· [21] Midcontinent Socked With Easement Lawsuit
· [3] Monday Morning Links
· [2] Monday Evening Links
Most people now reading
· Is Microsoft Technet ok to use for my family PC's? [Microsoft Help]
· Windows 7 boot manager editing questions [Microsoft Help]
· Heating - my dad gave me this advice... [Home Repair & Improvement]
· Connecting to Google Voice Via SIP [VOIP Tech Chat]
· Considering Leaving Vonage, who should I Consider? [VOIP Tech Chat]
· persistent connection to qw-in-f113.1e100.net on boot [Security]
· [Rant] called out sick! [Rants, Raves, and Praise]
· [Future9] Guaging interest. [VOIP Tech Chat]
· ToC 4th boss - Preliminary Strategy for Twin Valkyr [World of Warcraft]
· Fun screwing with PuG raids. [World of Warcraft]