Re: Problems with 2.6.8.1, loop-AES and ext3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Dienstag 24 August 2004 19:34, Jari Ruusu wrote:
> David Gümbel wrote:
> > On Monday 23 August 2004 19:37, Jari Ruusu wrote:
> > > 2) what file system soft block sizes are you using
> >
> > How do I determine / check these? (When creating the filesystem, I
> > don't think I specified it, i.e. I ran an "mke2fs -j /dev/loop0" after
> > losetup-ing. But that was a long time ago ;)
>
> tune2fs -l /dev/loop0

..says:
Block size:               4096

(The same on the unencrypted /usr (hda7) and /var (hda6))


> Any special mount options in /etc/fstab ?

/dev/hda8               /home           ext3            
noauto,loop=/dev/loop0,encryption=AES128
/dev/hda9               none            swap            
sw,loop=/dev/loop6,encryption=AES128
/dev/hda5               /tmp            reiserfs        
noatime,noauto,loop=/dev/loop1,encryption=AES128

=> no, I don't think so.


> Any non-default lo_prealloc= values in /etc/modprobe.conf ?

No, never touched that file.

marsupilami root # cat /etc/modprobe.conf | grep -i  lo_prealloc
marsupilami root # cat /etc/modprobe.conf | grep -i loop
alias block-major-7-* loop
alias loop-xfer-gen-0 loop_gen
alias loop-xfer-3 loop_fish2
alias loop-xfer-gen-10 loop_gen


> > * a pretty certain way to trigger it is to fire up my KMail and work
> > with it. I have a 1.4 GB ~/Mail, with some pretty large folders, some
> > in mbox (e.g. inbox, 86 MB or an archive of older inbox contents, ~350
> > MB)), some in maildir format. So maybe it's somehow linked to access to
> > large files on encrypted ext3, and/or a larger number of open files.
>
> OK, then I need to test huge directories with some 'syncing' application.
> I installed kmail on my test box, but as of this writing ~/Mail dir has
> only few zero length files.

Maybe this output is useful (lsof at the time of writing of this mail):

marsupilami root # lsof  | grep kontact | grep home
kontact    8670 guembel  cwd    DIR        7,0     8192     
832392 /home/guembel
kontact    8670 guembel  mem    REG        7,0       33     
807034 /home/guembel/Mail/.outbox.index
kontact    8670 guembel  mem    REG        7,0    18467     
800695 /home/guembel/Mail/.drafts.index
kontact    8670 guembel  mem    REG        7,0  1014723     
807033 /home/guembel/Mail/.inbox.index
kontact    8670 guembel   16u   REG        7,0        0     
799865 /home/guembel/Mail/outbox
kontact    8670 guembel   17u   REG        7,0       33     
807034 /home/guembel/Mail/.outbox.index
kontact    8670 guembel   18u   REG        7,0  2031635     
799941 /home/guembel/Mail/drafts
kontact    8670 guembel   19u   REG        7,0    18467     
800695 /home/guembel/Mail/.drafts.index
kontact    8670 guembel   20u   REG        7,0 89285696     
801947 /home/guembel/Mail/inbox
kontact    8670 guembel   21u   REG        7,0  1014723     
807033 /home/guembel/Mail/.inbox.index
kontact    8670 guembel   31u   REG        7,0  9632683     
147099 /home/guembel/Mail/.Mailinglisten.directory/linux-crypto ml
kontact    8670 guembel   32u   REG        7,0   837427     
147695 /home/guembel/Mail/.Mailinglisten.directory/.linux-crypto ml.index
kontact    8670 guembel  128r   DIR        7,0     4096     
228945 /home/guembel/.kde3.1/share/apps/kabc

(I am using KDE 3.3, but that shouldn't really matter)

> Someone, possibly you, posting a script or clear "do this, that, and
> that" instructions would be of great help. No errors on my testing so
> far.

I shall try to write such a thing ASAP.



Regards,



David

Attachment: pgp4JhjoOVyCn.pgp
Description: PGP signature


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux