Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to find a file whick is consuming larger disk space in file system Post 302303936 by amitranjansahu on Saturday 4th of April 2009 01:11:24 AM
Old 04-04-2009
du -sk * | sort -nr | head -5
 

9 More Discussions You Might Find Interesting

1. Linux

Unable to remove file using rm: Disk space is full

Hi all, My disk space is 100% full. df -k <dir> -> 100% One of my debug files consume huge amount of space and i want to remove the same to start off fresh debugs. However i'm unable to remove the file giving out the following error message: rm -f debug.out22621 rm: cannot remove... (8 Replies)
Discussion started by: Pankajakshan
8 Replies

2. Shell Programming and Scripting

How much space I am consuming?

Hi i want to know if many users are logging in system then how would i know that how much space in system i am consuming.. Thanks Vijay sahu (4 Replies)
Discussion started by: vijays3
4 Replies

3. Solaris

Directory size larger than file system size?

Hi, We currently have an Oracle database running and it is creating lots of processes in the /proc directory that are 1000M in size. The size of the /proc directory is now reading 26T. How can this be if the root file system is only 13GB? I have seen this before we an Oracle temp file... (6 Replies)
Discussion started by: sparcman
6 Replies

4. Shell Programming and Scripting

How to suppress the file name when we check for disk space

How to supress the file name when we check for disk space ? I used this command : du -ks /home/dir1/dir2/file.csv it returns 13 /home/dir1/dir2/file.csv Please explain the options too (7 Replies)
Discussion started by: arukuku
7 Replies

5. Shell Programming and Scripting

Perl Script to find the disk usage and to delete the files which is consuming more space

Hi All, I have written a script to check the file system usage and to delete the files which is consuming more space.Please check whether the script is corrcet #Script Starts here #!/usr/local/bin/perl #Program to find the disk space and to delete the older files #Checks the type of OS... (8 Replies)
Discussion started by: arunkarthick
8 Replies

6. AIX

Clone or mirror your AIX OS larger disk to smaller disk ?

hello folks, I have a 300GB ROOTVG volume groups with one filesystem /backup having 200GB allocated space Now, I cannot alt disk clone or mirrorvg this hdisk with another smaller disk. The disk size has to be 300GB; I tried alt disk clone and mirrorvg , it doesn't work. you cannot copy LVs as... (9 Replies)
Discussion started by: filosophizer
9 Replies

7. AIX

No space in the file system

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

8. HP-UX

Files consuming more space in HP-UX

Hi, Could you please provide OS command to find large files in size MB and GB... under specific directory in HP-UX? Regards, Maddy (4 Replies)
Discussion started by: Maddy123
4 Replies

9. Solaris

Use 'dd' to copy boot disk to larger target disk

Hi, I'm looking to copy a boot disk on an old Solaris 8 system using dd. I'll bring the system down to single user mode and begin from there. I'm copying my source disk to a larger target disk. Do I need to do anything other than the 'dd' command below because the target disk is bigger? ... (2 Replies)
Discussion started by: sparcman
2 Replies
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)
All times are GMT -4. The time now is 11:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy