Sponsored Content
Operating Systems Linux Red Hat Listing files/space used on root partition Post 303006535 by rbatte1 on Friday 3rd of November 2017 07:24:16 AM
Old 11-03-2017
The du command supports the -x flag to prevent you decenting into sub-mounted filesystems.

I usually do:-
Code:
cd /mount/point
du -kx . | sort -n

This will list the directories in ascending content volume. The value is cumulative, so you might have to change into the various sub-directories and work your way down.



I hope that this helps,
Robin
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Recursive directory listing without listing files

Does any one know how to get a recursive directory listing in long format (showing owner, group, permission etc) without listing the files contained in the directories. The following command also shows the files but I only want to see the directories. ls -lrtR * (4 Replies)
Discussion started by: psingh
4 Replies

2. Filesystems, Disks and Memory

Ran out of space on /dev/root partition

hi, I have a SCO unix server which has a 36gb hard drive, but the IT company who supplied it assigned 1gb to /dev/root, 15mb to /dev/boot and 33gb to /dev/u. The /dev/root partition is now full, is there a way I can use the 33gb assigned to /dev/u without loosing any data, preferably... (2 Replies)
Discussion started by: Martyn
2 Replies

3. Solaris

Reinstall root partition

I had Solaris 8 installed on a Ultra 10 machine but during a shutdown the root partition got corrupted. I have 3 other partitions on the drive (var, swap, home). Is there a way to reinstall the root partition without effecting the other partitions? Also, when I run format from single user mode I... (4 Replies)
Discussion started by: jbestor
4 Replies

4. Shell Programming and Scripting

Disk space for root partition

Hello, I am trying to monitor disk space for each node on the machine. I am able to get all individual nodes but for the '/' node. For example: df -k: bash-2.05b# df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/xxx 4127108 2415340 1502120 62% / /dev/yyy ... (3 Replies)
Discussion started by: chiru_h
3 Replies

5. Linux

shrinking root partition and using free space to create a block device

We are intending to protect a set of user specified files using LVM mirroring where the protected space on which the user files are stored is mirrored on an LV on a different disk. Our problem is that for a user with a custom layout has installed linux with 2 partitons for swap and / and there is... (0 Replies)
Discussion started by: kickdgrass
0 Replies

6. Red Hat

increase root partition

i am using redhat 5.4 and my root size shows 98 %, how can i increase root size # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 77G 16G 75G 98% / /dev/sda1 2.4G 82M 2.2G 4% /boot tmpfs 3.8G 0 3.8G 0%... (8 Replies)
Discussion started by: reply.ravi
8 Replies

7. Solaris

Need to partition root

Hello guys, I am using Solaris 10 x86 OS. While installing OS i have allocated entire 10 GB space to the root. Now i am not able to create new partition it says me "out of range" or "<cylinder number> not expected". Can someone please help me to allocated a default recommended space i.e 8GB or... (2 Replies)
Discussion started by: bhargav90
2 Replies

8. Red Hat

ROOT fs is full but no files consumed more space

one our linux machine root fs usage shows 90% but inode use % i sarched more then 10 MB files and found few with less mb,s any once help to solve this $ df -h / Filesystem Size Used Avail Use% Mounted on /dev/cciss/c0d0p3 3.9G 3.3G 409M 90% / $ df -i /... (9 Replies)
Discussion started by: venikathir
9 Replies

9. Linux

How to increase root space from another partition?

Hi OS Experts I would like to increase root partition from another partition so that I can save more documents in Home and Desktop. whether it is possible without formating root partition if so please explain here is o/p of df -h Filesystem Size Used Avail Use% Mounted on /dev/sda9... (8 Replies)
Discussion started by: Akshay Hegde
8 Replies

10. UNIX for Dummies Questions & Answers

How to find directory listing from root to all files in tree format with details of perm/own/grp?

Hi, My apologies if my query is already available on this forum but I am new and could not find. I need a script to list all directories/sub directories and files with permissions/groups/owners. The script would run from home directory and should capture every directory. How do I do this? ... (4 Replies)
Discussion started by: 8709711
4 Replies
remote-filesystems(7)					 Miscellaneous Information Manual				     remote-filesystems(7)

NAME
remote-filesystems - event signalling that remote filesystems have been mounted SYNOPSIS
local-filesystems [ENV]... DESCRIPTION
The remote-filesystems event is generated by the mountall(8) daemon after it has mounted all remote filesystems listed in fstab(5). moun- tall(8) emits this event as an informational signal, services and tasks started or stopped by this event will do so in parallel with other activity. This event is typically used by services that must be started to manage remote filesystems. When it occurs, local filesystems such as /usr may not be mounted. For most normal services the filesystem(7) event is sufficient. This event will never occur before the virtual-filesystems(7) event. EXAMPLE
A service that wishes to be running once remote filesystems are mounted might use: start on remote-filesystems SEE ALSO
mounting(7) mounted(7) virtual-filesystems(7) local-filesystems(7) all-swaps(7) filesystem(7) mountall 2009-12-21 remote-filesystems(7)
All times are GMT -4. The time now is 07:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy