Size of Mount Point


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Operating Systems Solaris Size of Mount Point
# 1  
Size of Mount Point

Hi,
On Solaris 5.10, I have a following mount point:

/dev/dsk/emcpower0a 492G 369G 118G 76% /u02

In /u02, from the du -h command, I can see that only 110G is used by couple of directories. I am wondering where the rest of 259G has gone? Any ideas please?

How can I check that are there any hidden files and what's there size?
How can we get top 5 biggest directories size wise?

regards
# 2  
The usual reason is deleted but still open files.
# 3  
Please let me know how I can check that, and how to delete those files?

regards
# 4  
You cannot deleted them as they are already deleted. To recover the size they use, you need to stop (or restart) all the applications that have them open.
Code:
fuser /u02

might help identifying these applications.
# 5  
fuser /u02 is just showing me two processes, and one is oracle listener and the other is passwd.

Any other ideas please?

regards
# 6  
I don't think that "du -h" shows you the size or any information about hidden file or directory.So, may be there is some large hidden file or directory containing large files.
# 7  
Quote:
Originally Posted by fahdmirza
fuser /u02 is just showing me two processes, and one is oracle listener and the other is passwd.
You can have a look at these processes open files with:
Code:
pfiles <pid> ...

For each file descriptor used by the process, look for S_IFREG entries where the filename isn't shown like the next one. That is characteristic of a deleted still open file.

Code:
   0: S_IFREG mode:0644 dev:559,2 ino:1026863754 uid:10000 gid:10000 size:1048576
      O_RDONLY|O_LARGEFILE

Non deleted files will show the file path and offset:
Code:
   0: S_IFREG mode:0644 dev:559,2 ino:1026863754 uid:10000 gid:10000 size:1048576
      O_RDONLY|O_LARGEFILE
      /tmp/a/1meg
      offset:0



---------- Post updated at 07:06 ---------- Previous update was at 07:04 ----------

Quote:
Originally Posted by Reboot
I don't think that "du -h" shows you the size or any information about hidden file or directory.So, may be there is some large hidden file or directory containing large files.
What makes you think that ? Hidden files and directories, i.e. those which have a name starting with a dot are definitely taken into account by "du".

---------- Post updated at 07:08 ---------- Previous update was at 07:06 ----------

Quote:
Originally Posted by fahdmirza
Any other ideas please?
Sure. There might be an overlay mount on a subdirectory of /u02 that wasn't empty.
What says:
Code:
df -k | grep /u02

Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #422
Difficulty: Medium
C# has support for strongly-typed function pointers via the keyword delegate.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to create a new mount point with 600GB and add 350 GBexisting mount point? IN AIX

How to create a new mount point with 600GB and add 350 GBexisting mount point Best if there step that i can follow or execute before i mount or add diskspace IN AIX Thanks (2 Replies)
Discussion started by: Thilagarajan
2 Replies

2. AIX

How to change the mount point of LV?

I have situation where my disk upon reboot, has its mount point as # LOGICAL VOLUME: disk4vol VOLUME GROUP: disk4vg LV IDENTIFIER: 00f609aa00004c0000000152414b786c.1 PERMISSION: read/write VG STATE: active/complete LV STATE: closed/syncd TYPE: jfs2 WRITE VERIFY: off MAX LPs: 512 PP SIZE: 512... (1 Reply)
Discussion started by: mrmurdock
1 Replies

3. UNIX for Beginners Questions & Answers

Can we have 2 mount point under the same name but at different directory?

guys i would like to know can we have 2 mount point which is same name but on different directory? (3 Replies)
Discussion started by: leecopper
3 Replies

4. Red Hat

NFS mount point

Hi, Can you tell me something about NFS mount point ? Regards, Maddy (3 Replies)
Discussion started by: Maddy123
3 Replies

5. Red Hat

Increase mount point size after linux installation !

Dear Friends , I have to install Redhat Ent Linux 5.0 (RHEL 5) in my machine . My HDD space is total 40 GB . During installation , I give three partitions , '/' = 30GB, 'swap'=2GB, 'home' =1GB. Now my HDD remaining space is 7 GB . After installation , I need to increase the home... (4 Replies)
Discussion started by: shipon_97
4 Replies

6. Solaris

Mount Point Sorting?

Dear Gurus, Could it be possible to have the output of df -k sorted? The df -k output messed up after recent power trip. Also, is there any folders that I should look into to reduce the root size (other than /var/adm and /var/crash) after server crash? Many thanks in advance. ... (2 Replies)
Discussion started by: honmin
2 Replies

7. UNIX for Advanced & Expert Users

Mount point options

Hello all, I'm sharing 1 volume from a Sun Storage array (6130), out to 2 servers. Created a slice on one server and mounted a filesystem. On the other server the disk already sees the created slice from the other server (shared throught the storage array, so mounted this filesystem as well. ... (1 Reply)
Discussion started by: Sunguy222
1 Replies

8. UNIX for Dummies Questions & Answers

concept of mount point

Hi All I Know it is a really basic and stupid question perhaps...But I am going bonkers.. I have following valid paths in my unix system: 1. /opt/cdedev/informatica/InfSrv/app/bin 2. /vikas/cdedev/app Both refer to the same physical location. So if I created one file 'test' in first... (3 Replies)
Discussion started by: Vikas Sood
3 Replies

9. UNIX for Dummies Questions & Answers

mount point

hi people, I'm trying to create a mount point, but am having no sucess at all, with the following: mount -F ufs /dev/dsk/diskname /newdirectory but i keep getting - mount-point /newdirectory doesn't exist. What am i doing wrong/missing? Thanks Rc (1 Reply)
Discussion started by: colesy
1 Replies

10. UNIX for Dummies Questions & Answers

Recover mount point

A disk was sliced into 6 slices with m01 being the mount point for one of the slices. This mount point was deleted with rmdir (ie. rmdir m01). What is the easiest way to recover this mount point? (1 Reply)
Discussion started by: here2learn
1 Replies

Featured Tech Videos