Unable to get full FS space after mounting


 
Thread Tools Search this Thread
Operating Systems HP-UX Unable to get full FS space after mounting
# 1  
Old 12-26-2013
Unable to get full FS space after mounting

Hi,
I am unable to get the full FS space, as /home is 100% utilized and after deleting unwanted files, its still 100%. After checking the du -sk * | sort -n output and converting it to MBs, the total sizes comes out to be 351 MBs only however the lvol is of 3GB. I don't know where is all the space gone. Please find the lvdisplay output of lvol8.

Code:
--- Logical volumes ---
LV Name                     /dev/vg00/lvol8
VG Name                     /dev/vg00
LV Permission               read/write
LV Status                   available/syncd
Mirror copies               1
Consistency Recovery        MWC
Schedule                    parallel
LV Size (Mbytes)            3072
Current LE                  96
Allocated PE                192
Stripes                     0
Stripe Size (Kbytes)        0
Bad block                   on
Allocation                  strict
IO Timeout (Seconds)        default

Code:
# bdf -i /home
Filesystem          kbytes    used   avail %used  iused  ifree %iuse Mounted on
/dev/vg00/lvol8    3145728 3145728       0  100%   4555    341   93% /home

Please suggest how should I reclaim all the unused space.
# 2  
Old 12-27-2013
Welcome

This is a common problem where the space is used by files that have been marked as deleted, but are still open by a process.

I'm guessing that you are using HP-UX, although it would be nice to know for sure.

The output from uname -a would be useful to know.

Basically, you may need to terminate the process holding all the space and then magically, your filesystem will free up the space held open by the process. Of course, finding the process may be difficult. The HPUX version that I have of fuser doesn't have the option for deleted files like AIX has, and I'm struggling with finding the same function in lsof

You could at least use:
Code:
/usr/sbin/fuser -c /home

and then work through the processes, terminating those that are not necessary and checking the space used after each one. This might give you a clue what has gobbled it all up too.

We had a server a while back that wrote a log file in /tmp that would grow slowly, however someone in their wisdom set up a daily cron job to empty /tmp and therefore we couldn't see the file growing - and of course, all the useful logging was unreadable too.


At worst, a reboot is likely to sort you out short-term, but the problem may well come back. It depends if you have a window to do so too.



I hope that this helps,
Robin
Liverpool/Blackburn
UK
# 3  
Old 12-27-2013
So you may have remove a file that was still opened… Try to unmount the FS…
if you can't , use fuser -cku
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Emergency UNIX and Linux Support

Swap space (almost) full

Hello, This is RHEL 5.7. swap is almost full, but I am not sure, what to release and how to release space. This is production server so I would like to try all possible options before reboot. # top top - 00:18:26 up 327 days, 7:01, 3 users, load average: 0.16, 0.21, 0.18 Tasks: 782 total, ... (7 Replies)
Discussion started by: solaris_1977
7 Replies

2. Shell Programming and Scripting

Unable to catch the redirection error when the disk is full

Hi Experts, Problem summary : I am facing the below problem on huge files when the disk is getting full on the half way through the execution. If the disk was already full , the commands fail & everything is fine. Sample Code : head_rec_data_file=`head -1 sample_file.txt` cat... (9 Replies)
Discussion started by: Pruthviraj_shiv
9 Replies

3. Solaris

Read Only Permission after the space is full.

Hi, Is there any chance that a file system that mounted on the server becomes read only when the space in that file system becomes full? Regards, Sreejith (9 Replies)
Discussion started by: Sreejith K
9 Replies

4. AIX

Paging space is 100% full

Paging space is 100% full? what step can i take (3 Replies)
Discussion started by: ramraj731
3 Replies

5. 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

6. UNIX for Advanced & Expert Users

Disk Space full

I was tryin to copy a large file under /tmp location. I guess the disk space got full and i got fork error. Then I tried removing some files but the shell did not let me do anything bash> rm apache22.tar bash: fork: Not enough space bash> pwd /tmp bash> vmstat 1 bash: fork: Not... (3 Replies)
Discussion started by: mohtashims
3 Replies

7. UNIX for Dummies Questions & Answers

how to install new packages when disk space is full

during installation i created four partitions mainly / 5GB /home 1GB /boot 100MB swap 2GB now since i didnt make the /usr partition all of the packages were being installed in the / partition ..now all the space in the / partition is filled ...i ran du -h... (3 Replies)
Discussion started by: tarunicon
3 Replies

8. Solaris

solaris 8 / disk space almost full

Hi All, My Solaris 8 firewall server is getting full on the / filesystem. I don't know which one should I delete. I think there's no more to delete on the file like logs or temp file. Does someone knows about deleting a safe file (or folder) on FS like /usr, /opt, /platform, /kernel, /sbin?... (7 Replies)
Discussion started by: itik
7 Replies

9. 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

10. Filesystems, Disks and Memory

file system is full : But df -k shows space available

Dear Experts, We are using Digital Unix 4.0d on Alpha DS-20 E. /var/adm/messages showed the following error Jul 24 19:58:37 cbehotbill2 vmunix: /BSCSprod: write failed, file system is full Jul 24 19:58:38 cbehotbill2 last message repeated 2 times But df -k showed BSCS_dmn#BSCSprod ... (4 Replies)
Discussion started by: geraldwilson
4 Replies
Login or Register to Ask a Question