12-13-2009
am i correct to assume that you intend to know the size of the harddisks installed in your system? df -h command show the size of filesystems not the size of the harddisks. the file systems shown in post might will be on different storage devices thus it is not useful, imho, to add the figures shown.
10 More Discussions You Might Find Interesting
1. AIX
Hi,
I see from lsvg the total used PPs is 1050 (67200 megabytes), but when I check the disk space with df command I can only see 31G total space, can somebody tell how this come?
Thanks!
Victor
# lsvg
rootvg
# lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: ... (2 Replies)
Discussion started by: victorcheung
2 Replies
2. Solaris
Friends,
I have an 80 GB HDD, but I wish to know if there is a direct command in Solaris 10 to find out the size of my hard disk (similar to fdisk -l in Linux).
Thank you
saagar (3 Replies)
Discussion started by: saagar
3 Replies
3. Shell Programming and Scripting
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)
Discussion started by: bigben1220
4 Replies
4. Solaris
is there a command to get the total disk space (available + free) on the solaris server ?
thanks (3 Replies)
Discussion started by: sudhiroracle
3 Replies
5. UNIX for Dummies Questions & Answers
Hi,
OS = Solaris 5.10
I need some guidance on interpreting vmstat to confirm whether my server is swapping or not. Can anyone please advise whether the column to check on the vmstat output is the pi column, does higher pi values means the server is swapping or am having swapping issues?
... (1 Reply)
Discussion started by: newbie_01
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Using Redhat, how do I display total hard disk size? I know how to do that in Solaris, you can type, format. It will show how big the disks are.
This is what I did so for.
$ df -t ext3 -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
... (1 Reply)
Discussion started by: samnyc
1 Replies
7. HP-UX
Hi Experts,
Need your advise in determining the size of swap space in of the new HP-Ux server.
Server is having 32G of physical memory.
Ideally what amout of physical memory should be allocated as a swap space?
Following document from HP suggests to have minimum swap space... (2 Replies)
Discussion started by: sai_2507
2 Replies
8. Solaris
hi!:)
i got a problem....:wall::wall:
i got several disks in my diskarray. I attached new disk to allocate it to the swap space.
The problem is : how to recognise the newly attached disk?
I've one more requirement -:wall:- i want to run dns service on another port number.how can i do... (2 Replies)
Discussion started by: vamshigvk475
2 Replies
9. Solaris
Hi Everyone,
I try to calculate the total hard disk space of a solaris machine using iostat -En command. Iterating the output and summing up all the number present near the Size: will give the exact size of the harddisk. But it is not working for a machine.
This command works in many flavors... (2 Replies)
Discussion started by: prasankn
2 Replies
10. Solaris
Hi,
I am trying to fetch total HDD size through command line on solaris machine:
bash-3.2# iostat -E
sd0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: VMware Product: Virtual disk Revision: 1.0 Serial No:
Size: 42.95GB <42949672448 bytes>
Media Error: 0 Device... (1 Reply)
Discussion started by: omkar.jadhav
1 Replies
LEARN ABOUT HPUX
newfs_vxfs
newfs_vxfs(1M) newfs_vxfs(1M)
NAME
newfs_vxfs: newfs - create a new VxFS file system
SYNOPSIS
disk_type] swap]
[mkfs_vxfs_options] special
DESCRIPTION
builds a VxFS file system by invoking
special specifies a character (or raw) file (for example, or
Options
recognizes the following options:
Reserve space for boot programs past the end of the
file system. If the file is present on the system, sufficient space to accommodate that file is reserved; otherwise
691 kilobytes are reserved. This option decreases the size of the file system being created. This option cannot be
used if the file-system size is also specified using (see options below).
Specify the file-system type
Use disk parameters from the
disk_type named in This option is provided for backward compatibility with previous HP-UX releases. Any parameters
specified on the command line will the corresponding values in Any values not specified in the command line and not
shown in are defaulted.
Reserve swap megabytes of swap space past the end of the file system. This option decreases the size of the file system to
be created by the specified number of megabytes. cannot be used if the file-system size is also specified using (see
options below).
Specify verbose mode.
prints out its actions, including the parameters passed to
Echo the completed command line, but do not execute the command.
If not valid, prints an error message. The command line is generated by incorporating the user-specified options and
other information derived from This option allows the user to verify the command line.
NOTE: You can specify the and options in the same command line. In that case, both the requested swap space and the space needed for boot
programs are reserved. These options are used when the file system size is defaulted to the size of the entire disk.
mkfs_vxfs Options
The following additional command-line options can be used to override default parameters passed to
File system block size in bytes. The default value is
1024 bytes for systems smaller than two terabytes. For Version 5 disk layout file systems larger than two terabytes,
the maximum file system size is dependent on the block size. A four terabyte file system requires a 1K block size,
An eight terabyte file system requires a 2K block size, a 16 TB file system requires a 4K block size, and a 32 TB
file system requires an 8K block size.
Valid only for the Version 4 and 5 disk layouts.
This option controls the largefiles flag for the file system. If is specified, the bit is set and files two giga-
bytes or larger can be created. If is specified, the bit is cleared and files created on the files system are lim-
ited to less than two gigabytes. The default is See mkfs_vxfs(1M), mount_vxfs(1M), and fsadm_vxfs(1M).
File system size in
blocks (defined in The default value is the size of the entire disk or disk section, minus any swap or boot space
requested. The size specifies the number of sectors in the file system. By default, size is specified in units of
sectors. However, you can append a suffix to size to indicate another unit of measure. Append or to indicate that
the value is in kilobytes, or to indicate megabytes, or or to indicate gigabytes.
Operands
recognizes the following operand:
special A character (raw) file.
EXAMPLES
To create a VxFS file system on or and reserve 40 megabytes of swap space.
FILES
Disk description file.
Static information about the file systems.
SEE ALSO
fsadm_vxfs(1M), mkfs(1M), mkfs_vxfs(1M), mount_vxfs(1M), newfs(1M), disktab(4).
newfs_vxfs(1M)