Sponsored Content
Full Discussion: Disk Space Allocation
Operating Systems Linux Red Hat Disk Space Allocation Post 302838585 by Duffs22 on Tuesday 30th of July 2013 04:46:19 AM
Old 07-30-2013
Disk Space Allocation

Hi,

I have installed RHEL6 on a HP Dl360 with 2 x 300G disk drives.

The logical volume (SMART ARRY) uses RAID 0+1.

All file systems occupy a max of 50G in disk space leaving 250G free disk space. A possible 100G will get used for the application later.

My question is, will creating a large vg of 300G (minus 512M for /boot) have a performance impact or any other disadvantage given that the majority of the vg will be made up of free extents?

R,
D.
 

9 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Disk space

Can someone tell me how to determine how much disk space has been allocated to me and how much of it I am using? Thanks in advance. (1 Reply)
Discussion started by: jxh461
1 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. Programming

dynamic allocation vs static allocation in c

i wrote a tiny version of tail command using a large buffer statically allocated but, in a second time, i found another version in which i use a bidimensional array dynamically allocated. here is the first version /*my tiny tail, it prints the last 5 line of a file */ #include<stdio.h>... (4 Replies)
Discussion started by: lucasclaus
4 Replies

4. 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

5. Red Hat

disk space

when i check /export directory of my machine gets filled up (85%) i removed some old logs. but after cleaning df -k command still shows that /export is still 85% full. Is there a way to force df to reflect actual free space without rebooting? My machine is a production one and can't... (8 Replies)
Discussion started by: aboorkuma
8 Replies

6. Shell Programming and Scripting

Disk Space

Hi Guys i have a nice little piece of code then i need to modify so that is does not look at /Voulmes/* thanks sub disk_full { my $i = 0; open( DF, "df -l|" ); while (<DF>) { #chomp(); next if (/^\/proc\b/); $i++; next if ( $i == 1 ); ... (3 Replies)
Discussion started by: ab52
3 Replies

7. 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

8. Solaris

Block-based allocation and Extent-based allocation in Solaris

Hi guys! Could you tell me what's this figure about? (See the attached figure below.) This is a representation of block allocation filesystem and extent allocation filesystem in Solaris. Does this mean that in a block-based allocation, data are placed in individual blocks while in... (0 Replies)
Discussion started by: arah
0 Replies

9. Solaris

Need help to understand zfs rpool space allocation

Hi, I am unable to understand that, in one of my servers while df -kh Filesystem Size Used Available Capacity Mounted on rpool/ROOT/solaris-2 98G 11G 29G 29% / Even the Root FS filled on 40gb and system becomes unstable. it is showing... (4 Replies)
Discussion started by: anuragr
4 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 09:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy