VFS(9) BSD Kernel Developer's Manual VFS(9)NAME
VFS -- kernel interface to file systems
DESCRIPTION
Calls used to set or query file systems for settings or information.
File systems that do not implement a VFS operation should use the appropriate vfs_std function from src/sys/kern/vfs_default.c rather than
implementing empty functions or casting to eopnotsupp.
SEE ALSO VFS_CHECKEXP(9), VFS_FHTOVP(9), VFS_INIT(9), VFS_MOUNT(9), VFS_QUOTACTL(9), VFS_STATFS(9), VFS_SYNC(9), VFS_UNMOUNT(9), VFS_VGET(9),
VOP_VPTOFH(9), vnode(9)AUTHORS
This manual page was written by Doug Rabson.
BSD January 4, 2010 BSD
Check Out this Related Man Page
VFS_FHTOVP(9) BSD Kernel Developer's Manual VFS_FHTOVP(9)NAME
VFS_FHTOVP -- turn an NFS filehandle into a vnode
SYNOPSIS
#include <sys/param.h>
#include <sys/mount.h>
#include <sys/vnode.h>
int
VFS_FHTOVP(struct mount *mp, struct fid *fhp, struct vnode **vpp);
DESCRIPTION
The VFS_FHTOVP() macro is used by the NFS server to turn an NFS filehandle into a vnode.
The arguments it expects are:
mp The file system.
fhp The filehandle to convert.
vpp Return parameter for the new locked vnode.
The contents of the filehandle are defined by the file system and are not examined by any other part of the system. It should contain enough
information to uniquely identify a file within the file system as well as noticing when a file has been removed and the file system resources
have been reused for a new file. For instance, UFS file system stores the inode number and inode generation counter in its filehandle.
A call to VFS_FHTOVP() should generally be preceded by a call to VFS_CHECKEXP(9) to check if the file is accessible to the client.
RETURN VALUES
The locked vnode for the file will be returned in *vpp.
SEE ALSO VFS(9), VFS_CHECKEXP(9), VOP_VPTOFH(9), vnode(9)AUTHORS
This manual page was written by Doug Rabson.
BSD January 4, 2010 BSD
I just got a couple of Solaris boxes (real old, but free) and one of them is booting and says it is in read only mode. I ran fsck but with no change is there some option on fsck I need to use or what could this be? Thanks for any help (6 Replies)
I just finished installing Solaris 2.6 and several applications just to realize that I made a bonehead mistake during the install. When setting up the filesystems, I entered /tmp and no swap! Is it possible to permanantly declare the entire /tmp partition as swap? I am guessing an entry in the... (4 Replies)
I created an AdvFS fileset which consisted of 3 volumes. Well one of the disks has failed and I was wondering how I should handle this. I want to try to recover the data on the other two disks, but I'm not sure if this is even possible. Any suggestions? (4 Replies)
Hello.
When I use format command - It shows:
/dev/dsk/c0d0s4 is normally mounted on /u02 according to /etc/vfstab. Please remove this entry to use this device.
What does it mean? (4 Replies)
I created a file system earth in /earthpool (zpool). I mounted the file system on a directory /earth. But, when I reboot my machine it doesn't load the file systems and the zpool and zfs shows no pools available and no datasets respectively. I am using Solaris 10 running on X4500. Could you... (5 Replies)
Hi everyone,
I am having a problem when running devfsadm. We have many T2000, but on one of them, that is connected to our SAN, devfsadm reports no new disks. If a reconfiguration reboot is done, the system reports the new disk. But only with a reboot. We have Solaris10 installed and Veritas... (13 Replies)
Hi Experts
/etc/vfstab is corrupted as while editing it i forgot to comment some of the line.
how can i edit the file in single in user mod?
also, i have some problem in CD drive , so i cant boot it from CD and do the changes.
i tried mounding the root file system as rw, however no... (10 Replies)
I have Solaris 10 Express that I installed on a PC with two drives. It was on drive 1 (with the boot drive being drive 0). Linux was in a different parition and my boot options where managed by grub.
The Solaris parition's /etc/vfstab referenced the root, user, etc.. disks as c0d1sX. But... (6 Replies)
I am running a script remotely to do the following
1. Kill all processes by a user
2. Uninstall certain packages
3. FTP over a new file
4. Kill a ldap process that is not allowing my /devdsk/c0t0d0s7 slice to un-mount
5. Unmount /h
6. comment out the slice in vfstab
7. newfs the... (9 Replies)
Dear all I have formatted/labeled/partitioned my new disk but when trying to mount it is returning 'unknown fstype' .Can you please let me know how to solve this problem? Thank you (37 Replies)
what is the difference between /etc/mnttab and /etc/vfstab???? what are these files used for
one time i removed mnttab file from my solaris box. infact i renamed it and my solaris box was not booting properly. (12 Replies)
Does anyone know if it's possible to specify the mount order of local and remote file systems? I'd like to mount a local ZFS file system on top of an NFS mount automatically and have that repeated on every reboot.
I've checked man pages and Google, but can't find anything that addresses,... (6 Replies)
Our SunFire 480 - one of the boot disks failed. It is mirrored with VxVm. I followed the exact steps that is detailed in the veritas and sun guides (I can not post the URL since I don't have 5 posts yet.)
After removing the failed disk, I ran devfsadm -C -c disk and it still shows the device... (7 Replies)
hi all,
On reading the docs, on fsck pass in /etc/vfstab ->
q1) how do we specify the to run the fsck in preen mode ( -o p ) inside /etc/vfstab ?
q2) if this parameter is use to determine whether fsck on the mount point / raw device is needed during boot time, how does the system bootup... (5 Replies)