Finding open files in Linux is quite similar to finding them in FreeBSD
and Solaris. Here, we'll specifically identify open files on a particular
filesystem (FS) within a Linux environment. Our host details this
time are:
Showing posts with label fuser. Show all posts
Showing posts with label fuser. Show all posts
27 March 2011
23 March 2011
Finding Open Files in Solaris
During a recent discussion, another sysadmin asked that I write him a
tool to identify any open files on a particular file system (FS) in a
Solaris environment. Rather than reinvent the wheel, I provided him
with the steps outlined here. Our host details are:
tool to identify any open files on a particular file system (FS) in a
Solaris environment. Rather than reinvent the wheel, I provided him
with the steps outlined here. Our host details are:
21 November 2010
Overlaid Mount Problem
In UNIX environments, it's not uncommon to see various file systems (FS)
mounted, be it local storage, fiber attached from a SAN, network based
like NFS, etc. These mounts may be exist for any number of reasons,
such as application data, user home directories, additional log space,
mounted, be it local storage, fiber attached from a SAN, network based
like NFS, etc. These mounts may be exist for any number of reasons,
such as application data, user home directories, additional log space,
09 November 2010
Removing / Recovering an Open File (Linux)
Following up on "Removing / Recovering an Open File (Solaris)," the aim
here is to do the same with Linux. The setup is the same, wherein a
'tail' is run in another terminal to hold open a file descriptor to a
file, while said file is accidentally removed. Though the following
here is to do the same with Linux. The setup is the same, wherein a
'tail' is run in another terminal to hold open a file descriptor to a
file, while said file is accidentally removed. Though the following
Labels:
file recovery,
files,
fs,
fuser,
linux
21 October 2010
Removing / Recovering an Open File (Solaris)
While working with filesystems, one will inevitably have to deal with a
file that is quickly growing and becoming unmanageable. Unfortunately,
this situation normally becomes evident because the space of a volume
has been nearly exhausted. If retention is necessary, you could set up
file that is quickly growing and becoming unmanageable. Unfortunately,
this situation normally becomes evident because the space of a volume
has been nearly exhausted. If retention is necessary, you could set up
Labels:
file recovery,
files,
fs,
fuser,
solaris
Subscribe to:
Posts (Atom)