Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to auto mount file system at boot

Status
Not open for further replies.

StickyBit

Technical User
Jan 4, 2002
264
CA
I have added the following entry to /etc/fstab:

/dev/sda4 /oracle ext3 defaults 1 2

When I reboot the /dev/sda4 is not mounted...What am I doing wrong? Do I have to assign a LABEL to the /dev/sda4 partition? How to do this?

Thanks,

Stickybit.

LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/var /var ext3 defaults 1 2
/dev/sda4 /oracle ext3 defaults 1 2
/dev/sda2 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

 

If the filesystem is ext3, then I see no other reason than the mountpoint /oracle doesn't exist. Is that it??

Cheers Henrik Morsing
IBM Certified AIX 4.3 Systems Administration
 
The mountpoint /oracle does exist...

[root@tac-tor1web1 /]# ls -al | grep oracle
drwxr-xr-x 7 root root 4096 Dec 9 17:05 oracle



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top