01-08-2009
swlist VRTSvxfs will tell you what version you're using.
I think I know what's going on here. If you run the mount -p command to display the mounted filesystems in fstab format, you will probably see a dev= option for every device. I suspect another admin has simply copied and pasted those mount options into fstab at some point; but I imagine the dev= option is meaningless in there as it would be dynamically set to the device number of the device that is mounted.
In other words, don't put it in /etc/fstab.
10 More Discussions You Might Find Interesting
1. Linux
I've created a new drive and i've added it to my fstab file but on startup it will not mount. here is how i put it into my fstab file, is that right?
/dev/hdb2 /disk2a ext3 defaults 1 2 (6 Replies)
Discussion started by: byblyk
6 Replies
2. UNIX for Dummies Questions & Answers
Folks;
Please be patient with this issue when you read it. I know it's a little tricky.
I have a new share created on my SUSE 10 box. I'm trying to edit the /etc/fstab file or find a way to make this share needs no authentication.
The reason for that is we're using an outside application to... (3 Replies)
Discussion started by: Katkota
3 Replies
3. Red Hat
We have a load of servers which require cloning in VMWare, each of which have their own area on netapp for storage. I was trying to be a bit clever and use a variable within /etc/fstab so I dont need to edit it every time like so;
netapp:/vol/vol_nfs_server/servers/`hostname | sed 's/\./ /g' |... (1 Reply)
Discussion started by: JayC89
1 Replies
4. UNIX for Dummies Questions & Answers
hi ,
i'm creating a shell script using fstab for my project of last year, i wonder you can help me to know what is the command allow me to get the list of unmounted partitions.
thanks (4 Replies)
Discussion started by: Linux001
4 Replies
5. Ubuntu
I have created a thumbdrive with a bootable version of Ubuntu 10.04 LTS, it uses Grub legacy.
One of the issues I have is that everytime I boot a new system from the thumbdrive, it writes entries for the partitions in the fstab. Consequently, when I boot another system, the OS reads the fstab... (2 Replies)
Discussion started by: stumpyuk
2 Replies
6. Red Hat
Can you please help me mount below filesystem in fstab ( I have rhel 5 )
as the line is long - it is not taking as single line
How can break this in 2 line and act as one ....please help
... (4 Replies)
Discussion started by: saurabh84g
4 Replies
7. Red Hat
Hello,
In linux /etc/rc.d/rc.sysinit mounts root File System as RW during the booting phase.
So why we have entry of it in /etc/fstab?
Thanks,
Nitin (1 Reply)
Discussion started by: Nitin Pradhan
1 Replies
8. How to Post in the The UNIX and Linux Forums
Hi All,
Please help me and guide me to write a bash/shell script on Linux box to delete parent entry with all their child entries.
example:
Parent is :
----------
dn: email=yogesh.kumar@wipro.com, o=wipro, o=in
child is:
----------
dn: cn: yogesh kumar, email=yogesh.kumar@wipro.com,... (1 Reply)
Discussion started by: Chand
1 Replies
9. Linux
Hi,
Can anyone explain why we use defaults 0 0 in fstab and what does 0 inidicate
10.250.104.50:/home/u /home/u nfs defaults 0 0
Thanks in advance
Muzaffar (3 Replies)
Discussion started by: muzaffar.k
3 Replies
10. Shell Programming and Scripting
I have the input file like this.
Input file: 12.txt
1) There are one or more than one <tr> tags in same line.
2) Some tr tags may have one <td> or more tna one <td> tags within it.
3) Few <td> tags having "<td> </td>". Few having more than one " " entry in it.
<tr> some td... (4 Replies)
Discussion started by: thomasraj87
4 Replies
FSTAB(5) File Formats Manual FSTAB(5)
NAME
fstab, mtab - list of file systems to mount, mounted file system table.
SYNOPSIS
/etc/fstab
/etc/mtab
DESCRIPTION
/etc/fstab is a table of file system to mount at boot time, /etc/mtab is a table of currently mounted file systems as maintained by mount
and umount.
/etc/fstab is not read by mount as it should be. It is instead a simple shell script listing the three devices that Minix needs to oper-
ate: The device names of the root file system, the temporary (scratch) file system, and the file system for /usr. Of these only the /usr
file system is mounted in /etc/rc, the scratch file system is there for the system administrator to test new kernels, or as a temporary
file system.
/etc/mtab contains lines of four fields. The layout is:
device directory type options
These fields may be explained as follows:
device
A block special device.
directory
Mount point.
type
Either 1, or 2, indicating a V1 or V2 file system.
options
Either ro, or rw, indicating a read-only or read-write mounted file system.
FILES
/etc/fstab Shell script naming three important file systems.
/etc/mtab List of mounted file systems.
SEE ALSO
printroot(8), mount(1), fsck(1), mkfs(1).
BUGS
/etc/fstab is a joke.
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
FSTAB(5)