Re: Inode numbering

2008-10-22 Thread Polytropon
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 it'

Re: Inode numbering

2008-10-20 Thread Wojciech Puchar
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)

Re: Inode numbering

2008-10-19 Thread perryh
Polytropon <[EMAIL PROTECTED]> wrote: > ... It will force me to > do what I originally intended to do: Iterate from 2 up > to the maximal number and then check the availability, > and, if given, "trace back" the ".. chain" to an existing > directory entry point - or re-create one, if it is missing

Re: Inode numbering

2008-10-19 Thread Polytropon
On Sat, 18 Oct 2008 22:46:04 -0700, [EMAIL PROTECTED] wrote: > It might work in the special case where nothing > on the filesystem is ever moved or removed, and no hard links are > ever added. > > As a simple example, suppose I have directories foo and foo/bar, > and file foo/baz, with i(foo) == 1

Re: Inode numbering

2008-10-18 Thread perryh
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, a

Re: inode

2005-03-16 Thread Jason Henson
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 Capac

Re: inode

2005-03-16 Thread Svein Halvor Halvorsen
* 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/ad0s1e25367

Re: inode

2005-03-16 Thread Giorgos Keramidas
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 ap

Re: inode

2005-03-16 Thread Gert Cuykens
> 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 nee

Re: inode

2005-03-16 Thread Giorgos Keramidas
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/ad0s1

Re: inode

2005-03-16 Thread Gert Cuykens
On Wed, 16 Mar 2005 14:27:21 +0200, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > 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: >

Re: inode

2005-03-16 Thread Giorgos Keramidas
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

Re: inode

2005-03-16 Thread Gert Cuykens
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 ? >

Re: inode

2005-03-16 Thread Giorgos Keramidas
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

Re: inode

2005-03-16 Thread Vladimir Dvorak
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 thi

Re: inode state

2003-12-09 Thread Fabian Thylmann
> 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

Re: inode state

2003-12-09 Thread Robert Watson
TrustedBSD Projects [EMAIL PROTECTED] Senior Research Scientist, McAfee Research > > Fabian > > - Original Message - > From: "Robert Watson" <[EMAIL PROTECTED]> > To: "Fabian Thylmann" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]&g

Re: inode state

2003-12-09 Thread Fabian Thylmann
ssage - 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 he

Re: inode state

2003-12-09 Thread Robert Watson
On Tue, 9 Dec 2003, Fabian Thylmann wrote: > I have a heavily used threaded server program running on one of my Dell > Poweredge 1750 servers. Its a statistical analysis package for websites. > Currently it analyses over 60 million requests a day, which (because of > many different reasons) causes

Re: Inode Problem

2003-07-12 Thread Gerard Samuel
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 pa

Re: Inode Problem

2003-07-12 Thread Jan Grant
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