Sponsored Content
Full Discussion: How to read EMC disk space
Operating Systems Solaris How to read EMC disk space Post 302388770 by incredible on Thursday 21st of January 2010 11:08:16 AM
Old 01-21-2010
You can't, from the above. Probably you will need to use format to see the cylinder size from the partition table eg for c11t0d52 .
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Disk Space -

I know I have posted this question before, but I still just don't understand how to determine disk space. This server is an IBM RS6000 running on AIX version 4.2.1. I in essence need to know the following if anyone can assist me. 1) I need to know how many drives are configured in the... (2 Replies)
Discussion started by: Docboyeee
2 Replies

2. UNIX for Dummies Questions & Answers

available disk space on disk device???

Hello, Can someone please tell me which command to use to determine the available disk space on a given disk device? I have to write a shell script that compresses files and stores them in a specific location but I am not sure how "conservative" I should be? Thanks in advance! Al. (4 Replies)
Discussion started by: alan
4 Replies

3. Solaris

Disk space?

I'm a Unix newbie running Solaris 9. After installing a fresh copy on a 40GB drive I noticed the available disk space is 2% free or approximately 200MB available. Is that possible? Did I do something wrong? (4 Replies)
Discussion started by: jbarbuto
4 Replies

4. HP-UX

Disk Space

Hi Experts. I had 100% disk full , even though i have removed 2 GB space still dbf command shows 100%. How to rectify that. Appreciate your prompt help. Thanks (1 Reply)
Discussion started by: test10002
1 Replies

5. Shell Programming and Scripting

Disk Space

HI ... I am New to the Unix...I am trying to write a script to check the disk space. But i am not able to write it. I know the command to check the disk space df -k,but unable to write the script..Can any body help me... Thanks in advance... (3 Replies)
Discussion started by: Kingkon
3 Replies

6. Filesystems, Disks and Memory

disk space

Hello All- Am new member to this forum. Have some unix experience. But true believer in it compared to windows. Have a question regarding the disk space. I know a command to check the total disk space utilization using: df -k . but what is the command to check the same disk space by... (6 Replies)
Discussion started by: milkyway
6 Replies

7. Shell Programming and Scripting

Disk Space

Hi This is my script for disk space monitoring clear if then echo "You must be root user to execute the script" fi ALERT_LEVEL=10 CONSUMPTION_LEVEL= `df -k | awk {'print $5'} | cut -d '%' -f1 | sed "1 d"` for i in $CONSUMPTION_LEVEL do FILE_SYSTEM=`df -k | awk {'print $1'} |... (3 Replies)
Discussion started by: chrs0302
3 Replies

8. Shell Programming and Scripting

disk space

Hi, I am new to shell scripting, and want to monitor disk space using shell script continously on server, which will shoot mail after crossing threshold limit Please suggest. Regards Manoj (1 Reply)
Discussion started by: manoj.solaris
1 Replies

9. UNIX for Dummies Questions & Answers

How much disk space?

Hi, I have this : uname -a Linux servername 2.6.18-194.11.3.el5PAE #1 SMP Mon Aug 23 15:57:10 EDT 2010 i686 i686 i386 GNU/Linux df -k Sys. de fich. 1K-blocs Occupied Disponible Capacity Monted on /u01/applis 10321208 3190160 6606760 33% /applis Does it mean... (1 Reply)
Discussion started by: big123456
1 Replies

10. Solaris

Solaris 10 booting from EMC SAN DISK

Hi All, I have server : Sun-Fire-V490 configured with Solaris 10 zfs .. and I have configured three mirror the third one from EMC storage. root@server # zpool status -v pool: rpool state: ONLINE status: The pool is formatted using an older on-disk format. The pool can ... (8 Replies)
Discussion started by: top.level
8 Replies
prealloc(2)							System Calls Manual						       prealloc(2)

NAME
prealloc - preallocate fast disk storage SYNOPSIS
DESCRIPTION
is used to preallocate space on a disk for faster storage operations. fildes is a file descriptor obtained from a or system call for an ordinary file of zero length. It must be opened writable, because it will be written to by size is the size in bytes to be preallocated for the file specified by fildes. At least size bytes will be allo- cated. Space is allocated in an implementation-dependent fashion for fast sequential reads and writes. The EOF in an extended file is left at the end of the preallocated area. The current file pointer is left at zero. The file is zero-filled. Using on a file does not give the file an attribute that is inherited when copying or restoring the file using a program such as or (see cp(1) and tar(1)). It simply ensures that disk space has been preallocated for size bytes in a manner suited for sequential access. The file can be extended beyond these limits by operations past the original end of file. However, this space will not necessarily be allo- cated using any special strategy. RETURN VALUE
Upon successful completion, returns 0; otherwise, it returns -1 and sets to indicate the error. ERRORS
fails and no disk space is allocated if any of the following conditions are encountered: [EBADF] fildes is not a valid open file descriptor opened for writing. [EDQUOT] User's disk quota block limit has been reached for this file system. [EFBIG] size exceeds the maximum file size or the process's file size limit. See ulimit(2). [ENOSPC] Not enough space is left on the device to allocate the requested amount; no space was allocated. [ENOTEMPTY] fildes not associated with an ordinary file of zero length. EXAMPLES
Assuming a process has opened a file for writing, the following call to preallocates at least 50000 bytes on disk for the file represented by file descriptor outfd: WARNINGS
Allocation of the file space is highly dependent on current disk usage. A successful return does not tell you how fragmented the file actually might be if the disk is nearing its capacity. AUTHOR
was developed by HP. SEE ALSO
prealloc(1), creat(2), dup(2), fcntl(2), open(2), prealloc64(2), read(2), ulimit(2), write(2). prealloc(2)
All times are GMT -4. The time now is 10:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy