Filesystem nospace error - what remove


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Filesystem nospace error - what remove
# 1  
Old 10-04-2014
HP Filesystem nospace error - what remove

Hi I have a:
HP-UX hh004hp B.11.31 U ia64 2312016959 unlimited-user license

and a big problem:
Code:
vxfs: msgcnt 254716 mesg 001: V-2-1: vx_nospace - /dev/vg00/lv_app file system full (8 block extent)

------------------------------------

in the error i see this:
/dev/vg00/lv_app

Code:
and with a "df -k"  i see this:
/app                   (/dev/vg00/lv_app      ) : 20971520 total allocated Kb
                                                         0 free allocated Kb
                                                  20971520 used allocated Kb
                                                       100 % allocation used

It suppose that i have to remove some file from
/app

but not in :
/app/hh004hpprd/bck
/app/hh004hpprd/data

Because they are "different filesystems"?!

I'm Right?

Somebody can help Me with this error?



Code:
jkhphh hh004hp /dev/vg00:df -k
/dev/odm               (/dev/odm              ) :        0 total allocated Kb
                                                         0 free allocated Kb
                                                         0 used allocated Kb
                                                         0 % allocation used
/app/hh004hpprd/bck       (/dev/vx/dsk/hh004hpbck_dg/hh004hpbck_vol) : 3885263360 total allocated Kb
                                                  129888984 free allocated Kb
                                                  3755374376 used allocated Kb
                                                        97 % allocation used
/app/hh004hpprd/data      (/dev/vx/dsk/hh004hpdata_dg/hh004hpdata_vol) : 3135895328 total allocated Kb
                                                  1071026952 free allocated Kb
                                                  2064868376 used allocated Kb
                                                        66 % allocation used
/app                   (/dev/vg00/lv_app      ) : 20971520 total allocated Kb
                                                         0 free allocated Kb
                                                  20971520 used allocated Kb
                                                       100 % allocation used
/home                  (/dev/vg00/lvol4       ) :  1046872 total allocated Kb
                                                    226312 free allocated Kb
                                                    820560 used allocated Kb
                                                        79 % allocation used
/opt/SP/ctmagent       (/dev/vg00/lv_ctm      ) :  2005147 total allocated Kb
                                                   1380406 free allocated Kb
                                                    624741 used allocated Kb
                                                        32 % allocation used
/opt/SP                (/dev/vg00/lv_optsp    ) :  1967213 total allocated Kb
                                                   1949207 free allocated Kb
                                                     18006 used allocated Kb
                                                         1 % allocation used
/opt/ctsausr           (/dev/vg00/lv_ctsausr  ) :   986742 total allocated Kb
                                                    928389 free allocated Kb
                                                     58353 used allocated Kb
                                                         6 % allocation used
/opt/networker         (/dev/vg00/lv_networker) :  1991627 total allocated Kb
                                                   1584307 free allocated Kb
                                                    407320 used allocated Kb
                                                        21 % allocation used
/opt                   (/dev/vg00/lvol5       ) : 10461960 total allocated Kb
                                                   3034528 free allocated Kb
                                                   7427432 used allocated Kb
                                                        71 % allocation used
/tmp                   (/dev/vg00/lvol6       ) :  2095376 total allocated Kb
                                                    750976 free allocated Kb
                                                   1344400 used allocated Kb
                                                        65 % allocation used
/usr                   (/dev/vg00/lvol7       ) :  8352376 total allocated Kb
                                                   4609216 free allocated Kb
                                                   3743160 used allocated Kb
                                                        45 % allocation used
/var/SP                (/dev/vg00/lv_varsp    ) :  1967213 total allocated Kb
                                                   1949207 free allocated Kb
                                                     18006 used allocated Kb
                                                         1 % allocation used
/var/adm/crash         (/dev/vg00/lvol9       ) :  3965386 total allocated Kb
                                                   3495521 free allocated Kb
                                                    469865 used allocated Kb
                                                        12 % allocation used
/var                   (/dev/vg00/lvol8       ) :  8381192 total allocated Kb
                                                   1215088 free allocated Kb
                                                   7166104 used allocated Kb
                                                        86 % allocation used
/stand                 (/dev/vg00/lvol1       ) :  2083888 total allocated Kb
                                                   1692336 free allocated Kb
                                                    391552 used allocated Kb
                                                        19 % allocation used
/                      (/dev/vg00/lvol3       ) :  2086208 total allocated Kb
                                                   1406664 free allocated Kb
                                                    679544 used allocated Kb
                                                        33 % allocation used

Thank you very Much!
# 2  
Old 10-04-2014
Try finding what is taking up the space :
Code:
du -kx /app | sort -rn |  head -10

The -x option makes du skip directories that are on different file systems

If you only get directories then repeat the command with that particular directory until you find the offender..

If there is one file for example that is really big then do NOT remove it if it is still in use by a process.

You can check if it is in use by using
Code:
fuser /app/dir/to/somefile

If it is still in use you need to stop the process first before you can remove the file

If that is not possible and if the file is not important then you could try truncating the file (if for example it is a unimportant log file)...

Last edited by Scrutinizer; 10-04-2014 at 04:35 PM..
This User Gave Thanks to Scrutinizer For This Post:
# 3  
Old 10-04-2014
WoWW. You solve my problem! how i can send you a Pack of Beer?
really very thanks!
Now i have to find how solve it, but thank you i find the BIG error!

pd: is an auto log generator!
# 4  
Old 10-04-2014
You're welcome. Thanks for the beer, I'll get one tonight Smilie
# 5  
Old 10-05-2014
Also find -xdev can be helpful.
Find all recent big files:
Code:
find /app -xdev -mtime -7 -size +1000

 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Cannot remove root Filesystem from the Multipath configuration

Hello all, I am running "Red Hat Enterprise Linux Server release 6.4 (Santiago)" The root Filesystem is currently part of the Multipath configuration and I need to remove it without rebooting the production Server. The wwid I want to remove from Multipathing is the last one i the list of... (3 Replies)
Discussion started by: logsbyrne
3 Replies

2. Ubuntu

error in displaying filesystem %

Hi, The below command is expected to display the filesystem along with the used % and available % in each of the filesystem in the linux box. df -k / | grep -v 'capacity' | gawk '{ print $5 }' But instead of displaying the actual used %, it is showing as 'Use%'. Could anyone please let... (2 Replies)
Discussion started by: lg123
2 Replies

3. AIX

Mount Filesystem in AIX Unable to read /etc/filesystem

Dear all, We are facing prolem when we are going to mount AIX filesystem, the system returned the following error 0506-307The AFopen call failed : A file or directory in the path name does not exist. But when we ls filesystems in the /etc/ directory it show -rw-r--r-- 0 root ... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies

4. AIX

Error encountered in creating a filesystem

Hi experts, Need help on the below error please. I am creating Filesystem and it fails with the below errors :( Command: failed stdout: yes stderr: no Before command completion, additional instructions may appear below. 0518-506 odmget: Cannot open object class PdAt ... (10 Replies)
Discussion started by: EngnrRG
10 Replies

5. UNIX for Dummies Questions & Answers

hwo to find shared filesystem and local filesystem in AIX

Hi, I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local. Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies

6. AIX

Remove filesystem but not lv ?

Hello, How do I remove filesystem without removing it's corresponding logical volume ? thnaks Vilius (10 Replies)
Discussion started by: vilius
10 Replies

7. Solaris

Filesystem - error when extend the filesystem

Hi all, currently , my root filesystem already reach 90 ++% I already add more cylinder in the root partition as below Part Tag Flag Cylinders Size Blocks 0 root wm 67 - 5086 38.46GB (5020/0/0) 80646300 1 swap wu 1 - ... (11 Replies)
Discussion started by: SmartAntz
11 Replies

8. AIX

shrinking filesystem error

Hi Guys, probably a standard issue, so what do I miss here? Error message: > chfs -a size=-128M /export/nim/aix/5300-10 chfs: 0506-964 There is not enough free space to shrink the file system. df shows 0.75GB free > df -g . Filesystem GB blocks Free %Used Iused %Iused... (7 Replies)
Discussion started by: raba
7 Replies

9. Solaris

[help] filesystem error on solaris 10

Hi All, please help me about filesystem error on sun fire 245 sparc solaris 10, i have installed solaris 10 os on sun fire 245 and done with mirroring disk. but after reboot the server i having this error below shown by system : checking ufs filesystems /dev/md/rdsk/d60: is logging.... (4 Replies)
Discussion started by: bucci
4 Replies

10. BSD

mounting filesystem error

I get error that I have to rund fsck manually on my filesystem, but when I go to run fsck on filesystem ad1s1e I get an error that says can't open device not configured so fsck won't rund on that filesystem. I am only booting up in single user mode. I noticed when I look in the fstab file the... (1 Reply)
Discussion started by: rbizzell
1 Replies
Login or Register to Ask a Question