How to find the free size currently FileSystem has, on the disk mounted?
I know 'df' lists all the mounted disks, but I am interested to know details
for the filesystem, in which currently I am working. (7 Replies)
Hi everybody,
I got a problem on my SUN server in Solaris 9. I'll try to explain, if somebody could help me.
I have mounted some volumes in RAID 0+1, that is stripped slices and then mirror. To be clear the result of metastat d80 is as follow :
d80: Mirror
Submirror 0: d81
State:... (2 Replies)
How to get free disk space size in C/C++ program( Solaris system)?
Is there any standard function or system function? Just like "df" or
"getdfree" in Linux. (4 Replies)
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Hi guys,
I'm trying to get free space in GB of file system into parameter.
I have the following code:
> cat get_free_space_FS.ksh
#! /bin/ksh
FS=/dw/mar
FreeSpace=`df -h | grep $FS | awk '{print $4}'`
echo $FreeSpace
> ./get_free_space_FS.ksh
362G
My question is ,how can I cut in... (4 Replies)
hi guys, me again ;)
i recently opened a thread about physical to zone migration.
My zone is mounted over a "bigger" LUN (500GB) and step is now to move the old files, from the physical server, to my zone.
We are talking about 22mio of files.
i used rsync to do that and every time at... (8 Replies)
Hi,
I run Fedora 17.
I created a physical volume of 30GB on a disk with 60GB of space so there is 30GB of free space. On the physical volume, I created my volume group and logical volumes. I assigned all the space in the physical volume to my volume group. I need to add the 30GB of free space... (1 Reply)
Hi Friends,
I want to cut space from one file system and add in another file system.
For example I have 100 gb space in /oracle/TST/oraarch
I wnat to cut 50 gb from this file system and add 50 in /oracle/TST/sapdata1.
Please hel, How I can do it.
Regards,
Bhagawati Pandey (3 Replies)
A file system has reached 100%. I have tried adding space using chfs -a size=+100 command to that file system. However, the % used is not decreasing from 100%. Is there a way to add more space?
Also, can someone suggest a script to send a mail alert when a file system is reaching 90%.
G (4 Replies)
Discussion started by: ggayathri
4 Replies
LEARN ABOUT OPENDARWIN
ypserv
YPSERV(8) BSD System Manager's Manual YPSERV(8)NAME
ypserv -- YP server daemon
SYNOPSIS
ypserv [-1] [-a aclfile] [-d] [-x]
DESCRIPTION
Ypserv is a fundamental part of the network information system called YP. This server provides information from YP maps to the YP clients on
the network.
A YP map is stored on the server as a db(3) database. A number of YP maps is grouped together in a domain. Ypserv determines the domains it
serves by looking for a directory with the domain name in /var/yp.
YP hasn't been known for high security through the years. In recent years security has improved by restricting access to the server. In SunOS
4.1 has a new file occured named /var/yp/securenet. It contains networks the server can assume is secure. For information about file format
see securenet(5).
Before the author of this server had seen securenet(5) another format was implemented ypserv.acl(5). This file format makes it possible to
allow and deny hosts and networks access to the server. This file can have any name since it's given by the argument to -a (use full path).
The file used can be reread by sending a SIGHUP to ypserv. The process pid can be found in the file /var/run/ypserv.pid
If a host isn't secure all queries to the server will result in a YP_NODOM result.
If the file /var/yp/ypserv.log exists then messages will be written to the file.
If a directory named the same as the system domainname exists in /var/yp/ (ie. the domainname is foo and directory /var/yp/foo exists), then
ypserv will be automatically started at boot time.
The options are as follows:
-1 Allow ypserv to answer old YP version 1 requests.
-a aclfile
Don't use /var/yp/securenet. Use another file with another file format. For futher information see man page for ypserv.acl.
-d Use Internet Domain Name System. If a query to map hosts.byname or hosts.byaddr fails, make a DNS query and return the result if suc-
cessful. Alternately, if these maps were built on the YP master using makedbm -b then DNS queries will be done without needing to
specify -d.
-x Terminate the server after processing aclfile or /var/yp/securenet.
FILES
/var/yp/ypserv.log
/var/yp/securenet
/var/run/ypserv.pid
SEE ALSO yp(8), ypserv.acl(5), securenet(5), ypbind(1)AUTHOR
Mats O Jansson <moj@stacken.kth.se>
BSD June 27, 1994 BSD