which is not ful:
and doesn;t have a huge number of inodes used either:
the problem is that on some directories on this FS i cannot do anything (ls, cat or vi) on any file because it gets stuck. For what is worht those directories are the home dirs of some application users.
I assume it may be that the respective directories have a huge number of files, however they cannot be more than 2834.
I tried
(to avoid coloration and default ls sorting) and still it gets stuck. How can I acess/cleanup these directories on this FS?
Last edited by rbatte1; 07-28-2015 at 09:41 AM..
Reason: Corrected CODE tags
Hello,
Using the instruction mget (within ftp) and with "Interactive mode off", I want to get all files from directory (DirAA), but not the files in sub-directories.
The files names don't follow any defined rule, so they can be just letters without (.) period
Directory structure example: ... (0 Replies)
I have searched about 30 threads, a load of Google pages and cannot find what I am looking for. I have some of the parts but not the whole. I cannot seem to get the puzzle fit together.
I have three folders, two of which contain different versions of multiple files, dist/file1.php dist/file2.php... (4 Replies)
Hi,
Please help me, how to get all the direcotries, its sub directories and its sub directories recursively, need to exclude all the files in the process.
I wanted to disply using a unix command all the directories recursively excluding files.
I tried 'ls -FR' but that display files as... (3 Replies)
Hi legends,
I am writing a script, in that my requirement is, if all the fill types stored in one directory from that we need to separate different different directories based on the file types.
for example in a directory(anish). 5 different types files
1- directory
2- .txt files
2- .sh... (1 Reply)
Hi,
I want to access files from different directories (for example: /home/dir1/file1 , /home/dir2/file2 ...) Like this i have to access these files(file1, file2...). (3 Replies)
Can anyone come up with a unix command that lists
all the files, directories and sub-directories in the current directory
except a folder called log.?
Thank you in advance. (7 Replies)
Hi all,
I have more than 12000 files in 46 different directories and each directory has 2 sub-directories named “dat” or “gridded”. Dat sub-directories have files with extension “jpg.dat” and gridded sub-directories have files with extension “.jpg”.
I need to... (1 Reply)
Find all files in the current directory only excluding hidden directories and files.
For the below command, though it's not deleting hidden files.. it is traversing through the hidden directories and listing normal which should be avoided.
`find . \( ! -name ".*" -prune \) -mtime +${n_days}... (7 Replies)
how can i move "dataName".sql.gz into a folder called 'database' and then move "$fileName".tar.gz * .htaccess into a folder called 'www' with the entire gzipped file being "$fileName".tar.gz? Is this doable or overly complex.
so
mydemo--2015-03-23-1500.tar.gz
> database
-... (5 Replies)
Discussion started by: wyclef
5 Replies
LEARN ABOUT CENTOS
cache_restore
CACHE_RESTORE(8) System Manager's Manual CACHE_RESTORE(8)NAME
cache_restore - restore cache metadata file to device or file
SYNOPSIS
cache_restore [options] -i {device|file} -o {device|file}
DESCRIPTION
cache_restore restores cache metadata created by the respective device-mapper target dumped into an XML formatted (see cache_dump(8)) file
, which optionally can be preprocessed before the restore to another device or file. If restored to a metadata device , the metadata can
be processed by the device-mapper target.
-i, --input {device|file}
Input file or device with metadata.
-o, --output {device|file}
Output file or device.
{--debug-override-metadata-version} <integer>
ONLY FOR DEBUGGING PURPOSES:
override the version stored in the metadata.
-h, --help
Print help and exit.
-V, --version
Output version information and exit.
EXAMPLE
Restores the XML formatted cache metadata on file metadata to logical volume /dev/vg/metadata for further processing by the respective
device-mapper target:
cache_restore -i metadata -o /dev/vg/metadata
DIAGNOSTICS
cache_restore returns an exit code of 0 for success or 1 for error.
SEE ALSO cache_dump(8)cache_check(8)cache_repair(8)AUTHOR
Joe Thornber <ejt@redhat.com>
Heinz Mauelshagen <HeinzM@RedHat.com>
Red Hat, Inc. Thin Provisioning Tools CACHE_RESTORE(8)