All of lore.kernel.org
 help / color / mirror / Atom feed
* Reiser4 on dmcrypt
@ 2008-08-15 14:45 Anders Aagaard
  2008-08-15 15:44 ` Edward Shishkin
  0 siblings, 1 reply; 4+ messages in thread
From: Anders Aagaard @ 2008-08-15 14:45 UTC (permalink / raw)
  To: reiserfs-devel

Hi

Been trying to move my home directory over to reiser4, and I ran into 
some issues, this is what I did:

PASSCODE="temptest"
echo $PASSCODE | cryptsetup luksFormat /dev/sdf6 -c 
twofish-cbc-essiv:sha256 -s 256
echo $PASSCODE | cryptsetup luksOpen /dev/sdf6 tempHome
mkfs.reiser4 -o create=ccreg40,compress=lzo1 /dev/mapper/tempHome

mount -t reiser4 -o noatime /dev/mapper/tempHome /mnt/x

rsync -vax --progress /home/neuron/ /mnt/x/

During rsync I noticed this in top while moving over a virtualbox image:
   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
  2427 root      20   0     0    0    0 R  100  0.0  14:32.01 pdflush 

  9497 root      20   0     0    0    0 R  100  0.0  11:38.48 rsync

It did continue, but I figured something was wrong, so I interrupted the 
rsync and unmounted.  The rsync reported my copy speed was down to 
3-4mb/sec.  This is on a fairly new quad core, so I should be able to 
encrypt and compress the data without difficulty.

I remounted and started again, it starts by coping at 14-15mb/sec, and 
then just slows down as pdflush hits 100% cpu usage.  Iowait also goes 
down to around 5%.  When I interrupt it pdflush disapears instantly, and 
rsync sticks around for 10-15 seconds (making it unmountable for that 
period) until it dies.

The file it's having problems with is a 6.8gb virtualbox image I use as 
a gentoo test enviroment.

Anders Aagaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-08-16  8:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-15 14:45 Reiser4 on dmcrypt Anders Aagaard
2008-08-15 15:44 ` Edward Shishkin
2008-08-15 21:20   ` Anders Aagaard
2008-08-16  8:57     ` Anders Aagaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.