LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 05: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, 06:07 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
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



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 08:04 PM
Looking for a way to check mount point is mounted and is writeable matthes138 Programming 2 01-03-2012 12:56 AM
[SOLVED] How to ensure mount point is mounted correctly ? hk_centos Linux - Newbie 4 06-24-2011 06:14 AM
Mount problem - device already mounted or mount point busy zahoo Linux - General 7 08-28-2009 05:02 PM
Mount Problem: evice already mounted or mount point busy paldebojyoti Linux - Distributions 5 08-27-2009 02:46 AM

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

All times are GMT -5. The time now is 12:23 AM.

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