11-09-2009
If your problem doesn't match answers supplied elsewhere, it helps to know what you know isn't true and why you know it.
So, we assume that you know your file system doesn't need to be fscked to rebuild the free space? We assume that there are no sparse files that could confuse the issue?
What else? What OS? What filesystem?
Could a deleted file be being held open somewhere?
Could you possibly have union mounts anywhere in here?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I host a few websites for friends and lately my server has been bogging down at times. I think that it is because of a dns conflict. Someone said that by doing a nslookup I should be able to see it and then do a pkill -9 in.named and then do in.named to get it going again.
Any feedback on this... (1 Reply)
Discussion started by: thomi39
1 Replies
2. Solaris
I am trying to determine the root cause of a java process that dies trying to startup during it's cron job.
I did go ahead and change the time that it starts up in the cron file and now it starts successfully.
However is there a way to determine what PID a process was attempting to get when... (5 Replies)
Discussion started by: vedder191
5 Replies
3. Shell Programming and Scripting
I have a Microdia web cam. Some times it won't work if and only if there is a "HV7131R image sensor detected" statement in the boot up.
In this case when I try to get a .png snapshot all I get is a frame full of what appears to be white noise only it is mostly green.
Here is the command I am... (0 Replies)
Discussion started by: slak0
0 Replies
4. Solaris
Hi Gurus
I am in a strange situation.
I have a SUN sparc server . The server was having an IP say X..... (this IP X is now being used by another server)..... I have just installed fresh solaris 9 OS on the same server and given new IP say Y.
I also configured probe based IPMP with ce0 and... (2 Replies)
Discussion started by: ningy
2 Replies
5. Solaris
Hi, I am currently working on 2 SPARC-ENTREPRISE T5220 (cluster servers), named SERVER 3A and SERVER 3B.
Both servers have their own Ip ADRESS and share 1 Virtual IP adress to share applications.......
Both servers are available , but can't communicate together right now. For example, from... (8 Replies)
Discussion started by: feg
8 Replies
6. Shell Programming and Scripting
I am using a script like this
source=$1
if ;
then
echo "got it"
else
echo "lost it"
fi
But the script is giving th error like
script.ksh: ==: unknown test operator
Can i know , is the syntax iam using is correct or suggest me a good way.
... (3 Replies)
Discussion started by: nani1984
3 Replies
7. Solaris
dear all,
kindly i want to check my server memory utilization i used alot of commands but i want to make sure that it is acurate let me explain
i have a server which has 32GB RAM
Total Memory = 33423360 kb
Free Memory = 4172568 kb
Utilized Memory = 29250792 kb
Memory Utilization... (2 Replies)
Discussion started by: maxim42
2 Replies
8. Ubuntu
Hi I am trying to configure NIS client on my Ubuntu 12.04.
But I could not put portmap without uninstalling rpcbind.
Do I need to have rpcbind there on the server, or how can I have both portmap and rpcbind at same time there on the server, because it's having conflict. (1 Reply)
Discussion started by: nixhead
1 Replies
9. Solaris
Hi forum,
I've run into a problem here and I can't seem to figure it out.
OS=Solaris 10 u11 SPARC.
This application (running on a local zone) was having a conflict with a port and I can't seem to find that port listed. (eg 41468)
I've tried
netstat -an|grep 41468
I am pretty sure this... (2 Replies)
Discussion started by: br1an
2 Replies
10. Solaris
I have a Sun T4-1 running Solaris 11.4 with a static IP 192.168.0.183. On this machine is a Solaris 10 LDOM with a static IP of 192.168.0.78. The other day I had to stop the LDOM to do a memory reconfigure. When I rebooted it I got an error that the IP 192.168.0.78 was already in use and so... (4 Replies)
Discussion started by: Michele31416
4 Replies
LEARN ABOUT REDHAT
unlink
UNLINK(2) Linux Programmer's Manual UNLINK(2)
NAME
unlink - delete a name and possibly the file it refers to
SYNOPSIS
#include <unistd.h>
int unlink(const char *pathname);
DESCRIPTION
unlink deletes a name from the filesystem. If that name was the last link to a file and no processes have the file open the file is deleted
and the space it was using is made available for reuse.
If the name was the last link to a file but any processes still have the file open the file will remain in existence until the last file
descriptor referring to it is closed.
If the name referred to a symbolic link the link is removed.
If the name referred to a socket, fifo or device the name for it is removed but processes which have the object open may continue to use
it.
RETURN VALUE
On success, zero is returned. On error, -1 is returned, and errno is set appropriately.
ERRORS
EACCES Write access to the directory containing pathname is not allowed for the process's effective uid, or one of the directories in path-
name did not allow search (execute) permission.
EPERM or EACCES
The directory containing pathname has the sticky-bit (S_ISVTX) set and the process's effective uid is neither the uid of the file to
be deleted nor that of the directory containing it.
EPERM (Linux only)
The filesystem does not allow unlinking of files.
EPERM The system does not allow unlinking of directories, or unlinking of directories requires privileges that the current process doesn't
have. (This is the POSIX prescribed error return.)
EISDIR pathname refers to a directory. (This is the non-POSIX value returned by Linux since 2.1.132.)
EBUSY (not on Linux)
The file pathname cannot be unlinked because it is being used by the system or another process and the implementation considers this
an error.
EFAULT pathname points outside your accessible address space.
ENAMETOOLONG
pathname was too long.
ENOENT A component in pathname does not exist or is a dangling symbolic link, or pathname is empty.
ENOTDIR
A component used as a directory in pathname is not, in fact, a directory.
ENOMEM Insufficient kernel memory was available.
EROFS pathname refers to a file on a read-only filesystem.
ELOOP Too many symbolic links were encountered in translating pathname.
EIO An I/O error occurred.
CONFORMING TO
SVr4, SVID, POSIX, X/OPEN, 4.3BSD. SVr4 documents additional error conditions EINTR, EMULTIHOP, ETXTBSY, ENOLINK.
BUGS
Infelicities in the protocol underlying NFS can cause the unexpected disappearance of files which are still being used.
SEE ALSO
link(2), rename(2), open(2), rmdir(2), mknod(2), mkfifo(3), remove(3), rm(1)
Linux 2.0.30 1997-08-21 UNLINK(2)