Sponsored Content
Top Forums Shell Programming and Scripting Filesystems using more than 75% capacity Post 302509534 by bartus11 on Thursday 31st of March 2011 03:08:41 AM
Old 03-31-2011
Quote:
Originally Posted by xtatic
@bartus...it showing the following error
tc95air1(root)# ./script2
df: unknown option: P
Usage: df [-F FSType] [-abeghklntVvZ] [-o FSType-specific_options] [directory | block_device | resource]
awk: syntax error near line 1
awk: illegal statement near line 1
Which Solaris version are you using?
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

how to find memory capacity.

Hi, In Sun solaris o/s how can i find the memory space available,Swap space. By giving df command i can get the disc space. I want RAM space & swap space. If anybody assist me.that is great. Thanks (2 Replies)
Discussion started by: Mar1006
2 Replies

2. UNIX for Dummies Questions & Answers

How to find filesystems crossed 90% capacity

Hi experts, How do i find which are the filesystems which has crossed 90% capacity in solaris box. thanks Shaan:) (4 Replies)
Discussion started by: shaan_dmp
4 Replies

3. AIX

How to increase capacity?

Hello everybody, is a very simple question how can I increase the capacity of a disk wich is on a DS4300?, I have done the procedure on the Storage Manager but the space is the same on the AIX (5.3) , what should I do to obtain the new ammount of disk space? (16 Replies)
Discussion started by: GermanSkull
16 Replies

4. AIX

capacity planning on aix

Hi All, What do you usually use for capacity planning on AIX? Any idea will do? Thanks in advance, itik (1 Reply)
Discussion started by: itik
1 Replies

5. Solaris

tools for capacity planning

Hi All, What do you usually use for capacity planning tool on solaris 8 or later? Thanks in advance. (2 Replies)
Discussion started by: itik
2 Replies

6. Shell Programming and Scripting

Monitor capacity of directory

Good morning. I have been attempting to find a way to monitor the capacity of a directory so that when it reaches 80% or higher I can send an event. I was able to find a script that does this for the whole drive by I can not seem to figure out how to do this for just a single directory. ... (1 Reply)
Discussion started by: LRoberts
1 Replies

7. AIX

how to find out disk capacity

Hi, I would like to know how to find out disk capacity if it is assigned from the storage as a lun. as per below command , I am unable to find out disk capacity. $ bash bash-3.00$ lspv hdisk1 0001579a7fa3c086 None $ lscfg -vl hdisk1 hdisk1 ... (8 Replies)
Discussion started by: manoj.solaris
8 Replies

8. AIX

TSM capacity

Dears, The TSM storage that we have is already configured to backup some Application,directories & logs or let's say backup different path from 15 servers, I want to add more Items to be backuped by this storage, how to be confirmed if that possible or not? I mean how do we know the capacity of... (7 Replies)
Discussion started by: arm
7 Replies

9. AIX

Directories getting 100% capacity

I am new to using AIX but ive ran into issues with 100% full and then rebooting and having a socket error repeating over and over. My question is, what can I do besides just monitoring to ensure I dont run into these issues? Scripts? anything? Thanks (3 Replies)
Discussion started by: terry.berger
3 Replies

10. AIX

FS capacity

can anyone tell me how to reduce Fs capacity by using echo zero. (3 Replies)
Discussion started by: nkchand
3 Replies
volcopy(1M)						  System Administration Commands					       volcopy(1M)

NAME
volcopy - make an image copy of file system SYNOPSIS
volcopy [-F FSType] [-V] [generic_options] [-o FSType-specific_options] operands DESCRIPTION
volcopy makes a literal copy of the file system. This command may not be supported for all FSTypes. OPTIONS
The following options are supported: -F FSType Specify the FSType on which to operate. The FSType should either be specified here or be determinable from /etc/vfstab by matching the operands with an entry in the table. Otherwise, the default file system type specified in /etc/default/fs will be used. -V Echo the complete command line, but do not execute the command. The command line is generated by using the options and arguments provided by the user and adding to them information derived from /etc/vfstab. This option should be used to verify and validate the command line. generic_options Options that are commonly supported by most FSType-specific command modules. The following options are available: -a Require the operator to respond "yes" or "no" instead of simply waiting ten seconds before the copy is made. -s (Default) Invoke the DEL if wrong verification sequence. -o FSType-specific_options Specify FSType-specific options in a comma separated (without spaces) list of suboptions and keyword- attribute pairs for interpretation by the FSType-specific module of the command. OPERANDS
The following operands are supported: operands generally include the device and volume names and are file system specific. A detailed description of the operands can be found on the FSType-specific man pages of volcopy. EXIT STATUS
The following exit values are returned: 0 Successful file system copy 1 An error has occurred. FILES
/etc/vfstab list of default parameters for each file system /etc/default/fs default local file system type. Default values can be set for the following flags in /etc/default/fs. For example: LOCAL=ufs. LOCAL: The default partition for a command if no FSType is specified. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
labelit(1M), vfstab(4), attributes(5) Manual pages for the FSType-specific modules of volcopy. SunOS 5.10 20 Mar 1995 volcopy(1M)
All times are GMT -4. The time now is 01:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy