07-18-2019
This is proving difficult.
Can you please post:
1. The output of ls -li on the zombie so we can see the file size, access rights and inode number.
2. What operating system is this?
3. What type of filesystem is this? eg, ZFS, UFS or what?
There are other nuclear options but you would need to do a full filesystem backup first, then keep users off until the job is done.
We are talking filesystem internals now.
5 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
when i try to ls -lrt the directory, the "undeletable" file is listed.
but when i try to ls -lrt *exe, the "undeletable" file is not listed.
this "undeletable" is the file that i want to delete from the directory.
but when i try to delete/rename/copy.... it, it show that "No such file or... (10 Replies)
Discussion started by: chxxangie
10 Replies
2. UNIX for Dummies Questions & Answers
I've some files created by a script.
For some reason last time the script run was interrupted for an error and the files produced by the script are undeletable.
i've tryed as root with command 'rm' and even if i got no error in command execution the files are still there.
These are the... (9 Replies)
Discussion started by: mirrorx
9 Replies
3. Shell Programming and Scripting
Hi Friends,
I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving...
File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
Discussion started by: asnandhakumar
6 Replies
4. Shell Programming and Scripting
Hi,
I need to compare 2 text files with around 60000 rows and 1 column. I need to compare these and write the mismatch data to 3rd file.
File1 - file2 = file3
wc -l file1.txt
58112
wc -l file2.txt
55260
head -5 file1.txt
101214200123
101214700300
101250030067
101214100500... (10 Replies)
Discussion started by: Divya Nochiyil
10 Replies
5. Shell Programming and Scripting
Shell script logic
Hi
I have 2 input files like with file 1 content as (file1)
"BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt
File 2 contents as fle(2)
"BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt
I want to get... (22 Replies)
Discussion started by: pottic
22 Replies
LEARN ABOUT NETBSD
resize_lfs
RESIZE_LFS(8) BSD System Manager's Manual RESIZE_LFS(8)
NAME
resize_lfs -- resize a mounted log-structured filesystem
SYNOPSIS
resize_lfs [-v] [-s new-size] mounted-file-system
DESCRIPTION
resize_lfs grows or shrinks a mounted log-structured filesystem to the specified size. mounted-file-system is the name of the filesystem to
be resized, and new-size is the desired new filesystem size, in sectors. If new-size is not specified, resize_lfs will default to the cur-
rent size of the partition containing the filesystem in question.
When growing, the partition must be large enough to contain a filesystem of the specified size; when shrinking, resize_lfs must first
``clean'' the segments that will be invalid when the filesystem is shrunk. If this cleaning process results in these segments becoming
redirtied, this indicates that the given new size is not large enough to contain the existing filesystem data, and resize_lfs will return an
error.
EXAMPLES
To resize the file system mounted at /home to 32576 sectors:
resize_lfs -s 32576 /home
SEE ALSO
fsck_lfs(8), lfs_cleanerd(8), newfs_lfs(8)
HISTORY
The resize_lfs command first appeared in NetBSD 3.0.
AUTHORS
Konrad Schroder <perseant@NetBSD.org>
BUGS
resize_lfs should be able to resize an unmounted filesystem as well.
BSD
September 4, 2006 BSD