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 HPUX
umountall
mountall(1M)mountall(1M)NAME
mountall, umountall - mount and unmount multiple file systems
SYNOPSIS
FStype] [file_system_table |
FStype]
DESCRIPTION
is used to mount file systems according to file_system_table. By default, is the file_system_table. If a dash is specified, reads
file_system_table from the standard input; the standard input must be in the same format as the
Before each file system is mounted, a check is done using (see fsck(1M)) to ensure that the file system is mountable. If the file system
is not mountable, it is repaired by before the mount is attempted.
causes all mounted file systems except the non-removable file systems such as to be unmounted.
Options
and recognize the following options:
Specify the file system type
(FStype) to be mounted or unmounted.
Specify action on local file systems only.
Specify action on remote file systems only.
Send a signal to processes that have files opened.
Attempt to mount all the unmounted file systems. This option will not perform the file system consistency check and repair.
Perform the file system consistency check and repair on all unmounted file system. This option will not mount the file systems.
DIAGNOSTICS
Error and warning messages may originate from or See fsck(1M), mount(1M), or fuser(1M) to interpret the error and warning messages.
EXAMPLES
Mount all unmounted file systems listed in
Mount all local file systems listed in
Mount all remote file systems listed in
Mount all local hfs file systems:
Unmount all NFS file systems and kill any processes that have files opened in the file system:
WARNINGS
especially with the option, should be used with extreme caution, because it can cause severe damage.
The option may not be available in future releases.
may not be effective with some cases of LOFS file systems.
FILES
Static information about the file systems
Mounted file system table
SEE ALSO fsck(1M), mount(1M), fuser(1M), mnttab(4), fstab(4), signal(2)mountall(1M)