I have the following piece of code, running on a solaris 10 O.S., that is not working for NFS file systems:
I think the problem is to print $3, because on the /etc/vfstab file column 3 does not coincide with the name of the file system.
Can you give me a hint how to solve it
We have 6 hard disks attached to the hardware. Of this 2 hard disks are of 9 GB each.
Now I want combine both the same in such a way that i see a combined entry in the output of df -k .
The steps I follow are
1. Create partition on hard disks (Using format partition)
2. Run newfs -v for... (6 Replies)
How can I check which partition /usr are mounted on ? Usually this is mounted on root (/). If I want to move /usr to another partition, how do I do this ?
BR Ludwig (1 Reply)
hi,
I posted a thread before on that subject, but with a wrong focus...
here's my problem: I want to check if a file exists in a windows shared folder mounted using:
sudo mount -t cifs -o username=xxx,password=xxx,uid=xxx,gid=xxx //192.168.0.92/public /media/92_shared
I tried
if
... (2 Replies)
I'd like to make a wrapper bash script that will make sure that an nfs mount is mounted before launching a program that depends on the mount being active. Basically:
1) Check to see if the mount is active
2) If it's not active, try to mount it
3) If it won't mount because the nfs server is... (3 Replies)
Hi All,
In Solaris 10, how can I check back who is login to the systems by telnet, ssh and ftp in success or failed.
I already check on /var/adm/messages but no details for all this.
Hope your can help.
Thanks. (1 Reply)
Hi there,
I am able to check which parition from Storage > Disk Management
How is it possible to check if the folder is mounted on which partition. (1 Reply)
Hi
I need to have a piece of code that check if all file systems are mounted or not.
I have to pieces of information like the output of the bdfcommand, and the file /etc/fstab.
The first is:
bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 2097152 266656... (3 Replies)
Discussion started by: fretagi
3 Replies
LEARN ABOUT FREEBSD
rpc.umntall
RPC.UMNTALL(8) BSD System Manager's Manual RPC.UMNTALL(8)NAME
rpc.umntall -- notify NFS servers about unmounted NFS file systems
SYNOPSIS
rpc.umntall [-e expire] [-h host] [-k] [-p remotepath] [-v]
DESCRIPTION
The rpc.umntall utility is proposed in the NFS RPC specification; see NFS Version 3 Protocol Specification, RFC 1813, Appendix I. It uses
remote procedure calls to remove mount entries from /var/db/mountdtab on the remote NFS server. It is called automatically without any
parameters during startup and shutdown of the system. This ensures that showmount(8) does not display old and expired entries. The
rpc.umntall utility is only needed on client side, where mount_nfs(8) adds a mount entry with the current date to /var/db/mounttab, and
umount(8) removes the entry again. The rpc.umntall utility cares about all remaining entries in this table which result from crashes or
unproper shutdowns.
The options are as follows:
-e expire All entries which are not actually mounted or older than expire (seconds) are removed from /var/db/mounttab. This may be the case
for DNS changes or long out of service periods. Default expire time is 86400 seconds (one day).
-h host Only remove the specific hostname. Send a UMNTALL RPC to the NFS server.
-k Keep entries for existing NFS file systems. Compare the NFS file systems from the mounttab against the kernel mountlist and do
not send the RPC to existing mount entries. Useful during startup of the system. It may be possible that there are already
mounted NFS file systems, so calling RPC UMOUNT is not a good idea. This is the case if the user has rebooted to 'single user
mode' and starts up the system again.
-p path Only remove the specific mount-path. Send a UMOUNT RPC to the NFS server. This option implies the -host option.
-v Verbose, additional information is printed for each processed mounttab entry.
FILES
/var/db/mounttab mounted nfs-file systems
SEE ALSO mount_nfs(8), mountd(8), umount(8)HISTORY
The rpc.umntall utility first appeared in FreeBSD 4.0.
AUTHORS
Martin Blapp <mb@imp.ch>
BSD November 17, 1999 BSD