my syetem is FreeBSD 8.2.
i build a memory disk : mdmfs -s 10G -i 512 -o rw md1 /home/test1
After a period of time,some file in the memory disk lose their inode:
#ls
90020595.o
#ls -l 90020595.o
ls: 90020595.o: No such file or directory
it seem the inode of this file was lost.
how to solve
Hi again,
coming back to my problem with the inode of my home directory
having disappeared, I found out that the tool ffs2recov from
the ports is able to establish an inode entry for a directory
where you can explicitely name the inode and the directory.
I know which inode number my former home
On Thu, Oct 30, 2008 at 03:35:04AM +0100, Polytropon wrote:
Hi again,
snip
This is really a question for -fs or -hackers. -questions is
for generic stuff -- what you're doing is fairly low-level.
Try re-posting your question to -fs, wait a week, then try -hackers.
--
| Jeremy Chadwick
On Wed, 29 Oct 2008 19:47:47 -0700, Jeremy Chadwick [EMAIL PROTECTED] wrote:
This is really a question for -fs or -hackers. -questions is
for generic stuff -- what you're doing is fairly low-level.
Try re-posting your question to -fs, wait a week, then try -hackers.
I'll do that, thanks! I
On Wed, 29 Oct 2008 19:47:47 -0700, Jeremy Chadwick [EMAIL PROTECTED] wrote:
Try re-posting your question to -fs, wait a week, then try -hackers.
Thank you for this advice, I'll do that - after rewriting the
message I prepared. I'm stupid: writing a message and experimenting
with ffs2recov is a
On Sun, 19 Oct 2008 19:18:00 -0700, [EMAIL PROTECTED] wrote:
You may be able to reuse some code from dump(8).
Hey, that's a good idea! After having had a short look at the
source of dump, I developed another idea: dump applies some
criteria weather to access (and dump) an inode or not. Maybe
Because I didn't find sufficient informations and try and error
would be incomplete (and insecure regarding the result), I'd like
to ask the following question:
Let's assume we have a directory D with an inode number i(D).
It contains a file F with its inode number i(F).
May I state that i(D
(foo/baz) == 20, and
i(foo/bar) == 25, satisfying your criterion. If I do
mv foo/baz foo/bar
(so baz is now foo/bar/baz), I will have i(foo/bar) == 25 and
i(foo/bar/baz) == 20.
Thank you for this example. So I cannot assume inode
numbers to be in a specific order. It will force me to
do
inodes and
adds them to the list. (When doing a level 0 dump, it does the same
thing but by definition every inode is selected.) Having done all
that, it dumps all the selected directories followed by the rest of
the selected inodes.
Dump's purpose is to ensure that the dump will be complete
Hi!
Because I didn't find sufficient informations and try and error
would be incomplete (and insecure regarding the result), I'd like
to ask the following question:
Let's assume we have a directory D with an inode number i(D).
It contains a file F with its inode number i(F).
May I state that i
Polytropon [EMAIL PROTECTED] wrote:
Let's assume we have a directory D with an inode number i(D).
It contains a file F with its inode number i(F).
May I state that i(D) i(F)?
In general, no. It might work in the special case where nothing
on the filesystem is ever moved or removed
I wasn't sure if I should have edited this.
--
Message: 29
Date: Thu, 16 Oct 2008 18:48:31 -0700
From: Kayven Riese [EMAIL PROTECTED]
Subject: kgdb of kernel issues FB7.
To: freebsd-questions@freebsd.org, [EMAIL PROTECTED],
[EMAIL PROTECTED]
Message-ID:
should be 736)
CORRECT? yes
fsck_4.2bsd: bad inode number 306176 to nextinode
The result: The home directories of all other users where present,
but mine (!) - /home/adec - was missing. I may explain this a bit
more precise: When looking at the files using the Midnight Commander
:
INCORRECT BLOCK COUNT I=290557 (3104 should be 736)
CORRECT? yes
fsck_4.2bsd: bad inode number 306176 to nextinode
The result: The home directories of all other users where present,
but mine (!) - /home/adec - was missing. I may explain this a bit
more precise: When
What should I do?
In theory,
clri {special-file} 306176
should wipe the inode containing the bad pointer and allow fsck to
continue, perhaps recovering the files pointed to by that directory
into lost+found.
Definitely try this on a copy first if at all possible
Is there a program (or a standard function) that, provided the
inode #, returns the associated filename?
Robert Huff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo
On Friday 12 January 2007 16:55, Robert Huff wrote:
Is there a program (or a standard function) that, provided the
inode #, returns the associated filename?
find / -inum number
- Pieter
___
freebsd-questions@freebsd.org mailing list
http
Hello!
Does anybody know how to locate file by inode? For example, using
fstat(1) I see:
USER CMD PID FD MOUNT INUM MODE SZ|DV R/W
...
user some_program 84130 0 /dev 68 crw--w ttyp0 rw
user some_program 84130 1 /usr 595890 -rw-r--r-- 0 w
user some_program
In the last episode (Mar 23), Eugene M. Minkovskii said:
Does anybody know how to locate file by inode? For example, using
fstat(1) I see:
USER CMD PID FD MOUNT INUM MODE SZ|DV R/W
...
user some_program 84130 0 /dev 68 crw--w ttyp0 rw
user some_program
Hello
I use Freebsd6.0 release. qmail server runs on the server.
Today the server was locked and the server has given the screen an error as
below;
free inode /var/14579103 had 104 blocks
the above error that the server gave a several times.
I had to push the reset button to reboot
Ok
I have an md(4) file system that I changed the block size and inode
density on. The file was about 1.3GB in size originally and when
using newfs with standard parameters shows about 1.3GB in size. My
new parameters to newfs ( -f 512 -b 4096 -i 1024 -U -O 2) are meant
to allow a lot
What is a inode ? I installed freebsd 5.3 on a 2gb harddisk and it
tells me there are not enough inodes ? Aldo there is diskspace
availeble ?
Does it mean there are to many directories ? Can you fix this ?
___
freebsd-questions@freebsd.org mailing list
Gert Cuykens wrote:
What is a inode ? I installed freebsd 5.3 on a 2gb harddisk and it
tells me there are not enough inodes ? Aldo there is diskspace
availeble ?
Does it mean there are to many directories ? Can you fix this ?
I suppose there is no disk space available on some partition. When
On 2005-03-16 13:05, Gert Cuykens [EMAIL PROTECTED] wrote:
What is a inode ? I installed freebsd 5.3 on a 2gb harddisk and it
tells me there are not enough inodes ? Aldo there is diskspace
availeble ?
Does it mean there are to many directories ? Can you fix this ?
i-nodes are the areas where
On Wed, 16 Mar 2005 14:13:09 +0200, Giorgos Keramidas
[EMAIL PROTECTED] wrote:
On 2005-03-16 13:05, Gert Cuykens [EMAIL PROTECTED] wrote:
What is a inode ? I installed freebsd 5.3 on a 2gb harddisk and it
tells me there are not enough inodes ? Aldo there is diskspace
availeble ?
Does
On 2005-03-16 13:22, Gert Cuykens [EMAIL PROTECTED] wrote:
On Wed, 16 Mar 2005 14:13:09 +0200, Giorgos Keramidas
[EMAIL PROTECTED] wrote:
On 2005-03-16 13:05, Gert Cuykens [EMAIL PROTECTED] wrote:
What is a inode ? I installed freebsd 5.3 on a 2gb harddisk and it
tells me there are not enough
is a inode ? I installed freebsd 5.3 on a 2gb harddisk and it
tells me there are not enough inodes ? Aldo there is diskspace
availeble ?
Does it mean there are to many directories ? Can you fix this ?
i-nodes are the areas where the file system saves information such as
the owner, the size
On 2005-03-16 13:49, Gert Cuykens [EMAIL PROTECTED] wrote:
On Wed, 16 Mar 2005 14:27:21 +0200, Giorgos Keramidas
[EMAIL PROTECTED] wrote:
Show us the output of:
# df -ik
$ df -ik
Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on
/dev/ad0s1a253678
Here you are. Your /usr partition has no free i-nodes. Probably
because you used too large block/fragment sizes when it was newfs'd.
I pict default partitioning ? How big does the /usr need to be for
base, ports mysql php apache ?
Is there a make command that tells you how much space it
On 2005-03-16 14:21, Gert Cuykens [EMAIL PROTECTED] wrote:
Here you are. Your /usr partition has no free i-nodes. Probably
because you used too large block/fragment sizes when it was newfs'd.
I pict default partitioning ? How big does the /usr need to be for
base, ports mysql php apache ?
* Giorgos Keramidas [2005-03-16 15:06 +0200]
Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on
/dev/ad0s1a253678 35430 19795415% 981 320413% /
devfs 1 1 0 100% 0 0 100% /dev
/dev/ad0s1e253678
On 03/16/05 08:06:03, Giorgos Keramidas wrote:
On 2005-03-16 13:49, Gert Cuykens [EMAIL PROTECTED] wrote:
On Wed, 16 Mar 2005 14:27:21 +0200, Giorgos Keramidas
[EMAIL PROTECTED] wrote:
Show us the output of:
# df -ik
$ df -ik
Filesystem 1K-blocks Used Avail Capacity iused ifree
Suddenly when I started my system the disk check flagged ALL (I mean
all, including directory) files of a user as errenous and started to
unlink them.
I init 1 and unounted the volume and ran fsck direct on it. Then it
created a lost+found directory and after a few millions 'y' 'enter'
key
, while
running fsck on /dev/rccd0c (mounted normally as /usr/home):
fsck: cannot find inode 71683
I searched around a bit for the error, and didn't find a whole lot, and
nothing that solved the problem. I remembered the fsdb utility, and ran
it, like so:
fsdb /dev/rccd0c
which put me
8 19:50:47 PDT 2004.
I don't know if this upgrade made any difference, but I
think I fixed my partially alloc'd and otherwise bad inode
by hand. find / -inum [inode] -print showed me what was
whhere and I dealt with each one. Bottom line is that
fsck now
For the past few days I'm seeing serious inode problems
on my 40G drive. Has anybody seen unusual troubles with
inodes on FreeBSD-4.9-RELEASE? If not, maybe I'd better
get a second drive and dd over? I was running 4.9-STABLE
prev, and didn't see any
On Thu, 8 Apr 2004 10:13:04 -0700
Gary Kline [EMAIL PROTECTED] wrote:
For the past few days I'm seeing serious inode problems
on my 40G drive. Has anybody seen unusual troubles with
inodes on FreeBSD-4.9-RELEASE? If not, maybe I'd better
get a second drive and dd
On Thu, Apr 08, 2004 at 11:17:40PM +0300, Ion-Mihai Tetcu wrote:
On Thu, 8 Apr 2004 10:13:04 -0700
Gary Kline [EMAIL PROTECTED] wrote:
For the past few days I'm seeing serious inode problems
on my 40G drive. Has anybody seen unusual troubles with
inodes on FreeBSD-4.9
On Thu, 8 Apr 2004 15:10:42 -0700
Gary Kline [EMAIL PROTECTED] wrote:
On Thu, Apr 08, 2004 at 11:17:40PM +0300, Ion-Mihai Tetcu wrote:
On Thu, 8 Apr 2004 10:13:04 -0700
Gary Kline [EMAIL PROTECTED] wrote:
For the past few days I'm seeing serious inode problems
on my 40G
:
For the past few days I'm seeing serious inode problems
on my 40G drive. Has anybody seen unusual troubles with
inodes on FreeBSD-4.9-RELEASE? If not, maybe I'd better
get a second drive and dd over? I was running 4.9-STABLE
prev, and didn't
on the
system; I have another OS on the other hard drive which shall remain nameless).
The install goes fine until it begins to extract the files to the /usr directory, at
which it then spits out this error multiple times:
/mnt/usr: create symlink failed, no inode free
and continues to do so
hard drive which shall remain nameless).
The install goes fine until it begins to extract the files to the /usr directory, at
which it then spits out this error multiple times:
/mnt/usr: create symlink failed, no inode free
and continues to do so whenever something is added to the hard drive
, my apps state as displayed by top(1) gets into inode state,
PRI is set to -14 and cpu usage rapidly drops. The program and ALL of its threads are
stalled at that time. Those inode states take around 2 oe 3 seconds and happen every
30 seconds or so.
In those 3 seconds we lose around 1500 hits
useless for anything else.
When those flushes occure, my apps state as displayed by top(1) gets
into inode state, PRI is set to -14 and cpu usage rapidly drops. The
program and ALL of its threads are stalled at that time. Those inode
states take around 2 oe 3 seconds and happen every 30 seconds
-
From: Robert Watson [EMAIL PROTECTED]
To: Fabian Thylmann [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, December 09, 2003 7:38 PM
Subject: Re: inode state
On Tue, 9 Dec 2003, Fabian Thylmann wrote:
I have a heavily used threaded server program running on one of my Dell
Poweredge
- Original Message -
From: Robert Watson [EMAIL PROTECTED]
To: Fabian Thylmann [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, December 09, 2003 7:38 PM
Subject: Re: inode state
On Tue, 9 Dec 2003, Fabian Thylmann wrote:
I have a heavily used threaded server program running
Hmm. Kqueue should be thread-safe in that it's a system call, but I can't
speak to the safety of various arguments/parameters. I don't know if
linuxthreads tries to provide locking around file descriptors and might
have reference problems if kqueue were held over a call to close(), but it
On Sat, 12 Jul 2003, Gerard Samuel wrote:
A few weeks ago, I had a problem on one of my partitions where it was
running out of inodes.
The guy who helped me out, at the time suggested to either rebuild the
disk or the partition.
I don't remember which one at the moment.
So what should I be
Thanks. I guess I may as well get a bigger disk... ;)
Jan Grant wrote:
On Sat, 12 Jul 2003, Gerard Samuel wrote:
A few weeks ago, I had a problem on one of my partitions where it was
running out of inodes.
The guy who helped me out, at the time suggested to either rebuild the
disk or the
A few weeks ago, I had a problem on one of my partitions where it was
running out of inodes.
The guy who helped me out, at the time suggested to either rebuild the
disk or the partition.
I don't remember which one at the moment.
So what should I be doing? Rebuilding the disk or the partition
: blst_radix_free: freeing free block
2) If I boot single-user, it mounts the root filesystem. When I try to
fsck the various filesystems (/, /var, /tmp, /usr) I get this error when
fscking /dev/ar0s1g (/usr):
fsck: bad inode number 132352 to setinodebuf
All the other filesystems come up clean.
I
51 matches
Mail list logo