- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vx_nospace - /dev/root file system full (1 blo...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 02:16 AM
04-30-2008 02:16 AM
i have a problem in my file system, i am recieving the following message as part of the dmesg command
msgcnt 1 vxfs: mesg 001: vx_nospace - /dev/root file system full (1 block extent) msgcnt 3 vxfs: mesg 001: vx_nospace - /dev/root file system full (1 block extent)
I tried to delete any not needed files from the / directory, but it is still full, here is the bdf output
/ >bdf /
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 360448 360144 304 100% /
i am not sure what happened, but all the files i could delete still does not free enough space
i checked my log files, and daily maintenance mails, i found the following
in March 30, here is the bdf output
/dev/vg00/lvol3 360448 172096 186920 48% /
in March 31, here is the bdf output
/dev/vg00/lvol3 360448 360448 0 100% /
and since that time the system is saying
msgcnt 1 vxfs: mesg 001: vx_nospace - /dev/root file system full (1 block extent)
this is the parts of the syslog regarding the problem, with some event before the error and some events after it
Mar 30 07:56:41 prodx su: + ta root-aslam
Mar 30 08:04:16 prodx vmunix: msgcnt 1 vxfs: mesg 001: vx_nospace - /dev/root file system full (1 block extent)
Mar 30 08:19:04 prodx ftpd[24585]: FTP LOGIN FROM 10.100.1.8 [10.100.1.8], oracle
Mar 30 08:19:09 prodx ftpd[24587]: FTP LOGIN FROM 10.100.1.8 [10.100.1.8], oracle
Mar 30 08:19:10 prodx ftpd[24587]: FTP session closed
Mar 30 08:19:21 prodx ftpd[24585]: FTP session closed
seems there is something happened during the March 30,, but i could not find anything in my server poiting to this.
any help please
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 02:46 AM
04-30-2008 02:46 AM
Re: vx_nospace - /dev/root file system full (1 block extent)
ll -tr
This will show you the most recently updated files. Look for:
1. files that have grown very large, and
2. files that would be better in a dedicated lvol/filesystem.
Check your /dev directory for ordinary files. This problem is often caused by someone mistyping a tape drive name and creating a large text file in /dev. There should not be any ordinary files in /dev.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 02:47 AM
04-30-2008 02:47 AM
Re: vx_nospace - /dev/root file system full (1 block extent)
Assume the problem happened after March 30 0700 am
Create a file with a date stamp of March 30 7am
cd /tmp
touch -mt 200803300700 aslam
then find the files created after that, sorted by size
find / -xdev -type f -newer /tmp/aslam -exec ls -l {} +|sort -rnk5|head
and remove the files or move the ones to another file system where you have enough space.
Regards,
Rasheed Tamton.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 02:51 AM
04-30-2008 02:51 AM
Re: vx_nospace - /dev/root file system full (1 block extent)
du -kx / | sort -rn | more
The du option -x will restrict the command to display the root filesystem only. The sort command will list the numerically biggest entries first.
Examine the 10 or so largest directories: as the increase is so huge (>50%), this will probably allow you to find it.
If you have the "lsof" command installed, use "lsof +L1" to find any files that are deleted from directory listings but still being used by some process. If you find files like that, stopping the process that is hanging onto the files will cause the OS to automatically free the disk space.
Someone or something su'd to user "aslam" on Mar 30 07:56:41. If this was a human, he/she might know something about the cause. If this was a script (cron job or something?), you might wish to find out what the script was supposed to do and whether or not it creates a log about whatever it is doing.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 03:13 AM
04-30-2008 03:13 AM
Re: vx_nospace - /dev/root file system full (1 block extent)
find / -xdev -type f -newer /tmp/aslam -exec ls -l {} +|sort -rnk5|head
this is the output
/ >find / -xdev -type f -newer /tmp/aslam -exec ls -l {} +|sort -rnk5|head
-rw------- 1 root root 192864256 Mar 30 08:04 /devahmed0m
-rw-r--r-- 1 root root 11480 Apr 30 13:45 /etc/utmpx
-rw-r--r-- 1 root root 1680 Apr 30 13:45 /etc/utmp
-r--r--r-- 1 root root 972 Apr 29 10:31 /etc/passwd
-rw-r--r-- 1 root root 0 Apr 30 08:25 /etc/dhcpdb
-rw------- 1 root sys 0 Apr 30 10:32 /.sh_history
seems the first file in the list is the problem, but i could not delete it
/ >rm /devahmed0m
rm: /devahmed0m non-existent
how can we remove it please,,,
thx for all your responses, but this was the best solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 03:59 AM
04-30-2008 03:59 AM
Re: vx_nospace - /dev/root file system full (1 block extent)
this may be helpgul for you,,
i executed this command
/ >find / -xdev -type f -newer /tmp/aslam
/etc/passwd
/etc/utmp
/etc/utmpx
/etc/dhcpdb
/devahmed0m
/.sh_history
the main file is not listed here,, strange ??!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 04:04 AM
04-30-2008 04:04 AM
Re: vx_nospace - /dev/root file system full (1 block extent)
-rw------- 1 root root 192864256 Mar 30 08:04 /devahmed0m
It is very huge and this should not be there in the root.
You can use file command on that
file /devahmed0m
Either you can delete it or move that file temporarily to another file system where you have enough space for later checking.
But you have to immediately rm or mv that.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 04:07 AM
04-30-2008 04:07 AM
Re: vx_nospace - /dev/root file system full (1 block extent)
/devahmed0m: cannot open
/ >rm /devahmed0m
rm: /devahmed0m non-existent
what do u think !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 04:13 AM
04-30-2008 04:13 AM
Re: vx_nospace - /dev/root file system full (1 block extent)
what is now bdf / says.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 04:19 AM
04-30-2008 04:19 AM
Re: vx_nospace - /dev/root file system full (1 block extent)
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 360448 360144 304 100% /
/ >swlist | grep lsof
/ >
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 04:25 AM
04-30-2008 04:25 AM
Re: vx_nospace - /dev/root file system full (1 block extent)
fuser /devahmed0m
if you can get process id kill it
or
do
fuser -ku /devahmed0m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 04:26 AM
04-30-2008 04:26 AM
Re: vx_nospace - /dev/root file system full (1 block extent)
rm -i /dev*
This will list all files that start with dev one at a time and ask you to confirm that you want to delete them. Select yes only for the file that is causing the problem. Make sure you include the -i, otherwise you may delete something you want.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 04:27 AM
04-30-2008 04:27 AM
Re: vx_nospace - /dev/root file system full (1 block extent)
/ >fuser /devahmed0m
/devahmed0m: stat: No such file or directory
fuser: could not find or access file /devahmed0m.
/ >fuser -ku /devahmed0m
/devahmed0m: stat: No such file or directory
fuser: could not find or access file /devahmed0m.
any other ideas people.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 04:31 AM
04-30-2008 04:31 AM
Re: vx_nospace - /dev/root file system full (1 block extent)
rm: /dev directory
/ >
sorry,, seems this did not work too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 04:31 AM
04-30-2008 04:31 AM
Re: vx_nospace - /dev/root file system full (1 block extent)
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.78/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 04:35 AM
04-30-2008 04:35 AM
Re: vx_nospace - /dev/root file system full (1 block extent)
did you try
ps -ef|grep /devahmed
otherwise, go with lsof
the last option is a reboot, if lsof does not work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 04:47 AM
04-30-2008 04:47 AM
Re: vx_nospace - /dev/root file system full (1 block extent)
attached is the error from swinstall command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 05:04 AM
04-30-2008 05:04 AM
Re: vx_nospace - /dev/root file system full (1 block extent)
root 19916 13030 1 15:59:57 pts/ta 0:00 grep /devahmed
/ >
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 05:07 AM
04-30-2008 05:07 AM
Re: vx_nospace - /dev/root file system full (1 block extent)
rm -i *med
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 05:09 AM
04-30-2008 05:09 AM
Re: vx_nospace - /dev/root file system full (1 block extent)
rm: *med non-existent
/ >
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 05:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 05:53 AM
04-30-2008 05:53 AM
Re: vx_nospace - /dev/root file system full (1 block extent)
i added the -b to the original command
/ >find / -xdev -type f -newer /tmp/aslam -exec ls -l -b {} +|sort -rnk5|head
-rw------- 1 root root 192864256 Mar 30 08:04 /dev/rmt/0m\010\010\010\010\010\010\010ahmed
-rw-r--r-- 1 root root 11480 Apr 30 13:45 /etc/utmpx
-rw-r--r-- 1 root root 1680 Apr 30 13:45 /etc/utmp
-r--r--r-- 1 root root 972 Apr 29 10:31 /etc/passwd
-rw-r--r-- 1 root root 0 Apr 30 08:25 /etc/dhcpdb
-rw------- 1 root sys 0 Apr 30 10:32 /.sh_history
so i went to /dev/rmt then removed the file using the *ahm* combination
akayyali@prodx/dev/rmt >rm *ahm*
akayyali@prodx/dev/rmt >bdf /
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 360448 171792 187232 48% /
and as u can see now the file system has morer than enpugh space,
thxnks alot for all you help people.
marks assigned
regards