LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-31-2017, 06:34 AM   #1
tusharsharma43
LQ Newbie
 
Registered: Jan 2010
Location: Vadodara, Gujarat
Distribution: Fedora, OpenSuse, Ubuntu, Mint and Debian
Posts: 22

Rep: Reputation: 0
Unhappy List all files mounted on specific mount point


Hi,

I am trying to free-up some space on one of the mount-point (say /opt/sw/data/) which again has lot of symbolic links pointing to other mount points.

I am tyring to list all the files (greater than 500mb) mounted on that specific mount point.

du -a gives me list of all the files which are mounted on other mounts points (symbolic link).

Any help or pointers would be greatly helpful.

Thanks
Tushar
 
Old 01-31-2017, 07:07 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7 / 8
Posts: 3,529

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
Code:
find /opt/sw/data -size +499M
or
Code:
find /opt/sw/data -size +499M -exec ls -lh {} \;
You may also wish to investigate find's -P flag to force no-follow of symlinks.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to check the conditions for mount point if already mounted or unmounted?help!! noahshines Programming 7 10-19-2015 09:04 PM
Looking for a way to check mount point is mounted and is writeable matthes138 Programming 2 01-03-2012 01:56 AM
[SOLVED] How to ensure mount point is mounted correctly ? hk_centos Linux - Newbie 4 06-24-2011 07:14 AM
Mount problem - device already mounted or mount point busy zahoo Linux - General 7 08-28-2009 06:02 PM
Mount Problem: evice already mounted or mount point busy paldebojyoti Linux - Distributions 5 08-27-2009 03:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration