Subject: RE: Disappearing files.....[long, new case/infos]
From: Jonathan Newman (jnewman@mudpup.com)
Date: Wed Dec 06 2000 - 19:45:00 EST
> From: BWS - Offwhite [mailto:brennan@offwhite.net]
> Is there a way to control the inodes to keep them from
> being a problem
> with Netatalk? I typically keep my drives under 20 gigs
> per partition so
> that could be why I am not having problems, but I have a
> new IDE drive
> which is 30gigs and I would not like to lose any data there.
If I am reading the code correctly, the encoding works as follows:
four bits are used for the major device number
three bits are used for the minor device number
one bit is used to indicate a file or not
The remaining 24 bits are used for the inode (with the top byte of the
4 byte inode being shifted down 8 and xor'd with the lower 24 bits)
So if your major device number is greater than 15, or your minor
device number is greater than 7, or your inode values exceed
16,777,215 then you may run into problems. For us, it is the minor
device number that is the issue. I suppose things could be re-encoded
to be more amiable to larger numbers of devices, but it is just an
arbitrary solution, IMO.
Jon
This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:32:44 EST