Re: Problems with geom_bde

2003-09-30 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "Poul-Henning Kamp" <[EMAIL PROTECTED]> writes: : >So now I wonder if there is any magic constant which the slice size : >needs to be a multiple of...? : : Not that I know off. Actually, there is, but it isn't constant. slices need to be an even number

Re: Problems with geom_bde

2003-09-30 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Thorsten Greiner writes: >* Poul-Henning Kamp <[EMAIL PROTECTED]> [2003-09-30 10:54]: >> Did you call "gbde detach" before the umount ? You need to unmount >> first. > >After investigating further I think I have found the reason for the >problem. When I created the

Re: Problems with geom_bde

2003-09-30 Thread Thorsten Greiner
* Poul-Henning Kamp <[EMAIL PROTECTED]> [2003-09-30 10:54]: > Did you call "gbde detach" before the umount ? You need to unmount > first. After investigating further I think I have found the reason for the problem. When I created the disklabel for the partition I was lazy and entered a size of 20

Re: Problems with geom_bde

2003-09-30 Thread Thorsten Greiner
* "Poul-Henning Kamp" <[EMAIL PROTECTED]>: > Did you call "gbde detach" before the umount ? No. > You need to unmount first. Yes, that's what I tried. I then get the "fsync: giving up on dirty" message. When I shut down the box, it tries to sync the dirty buffers and finally says "giving up on

Re: Problems with geom_bde

2003-09-30 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Thorsten Greiner writes : >Hi, > >inspired by the recent posting of the gbde tutorial I went out and >set up an encrypted partition using geom_bde on my laptop. When >trying to umount this partition the umount fails with: > ># umount /crypto >umount: unmount

Problems with geom_bde

2003-09-29 Thread Thorsten Greiner
Hi, inspired by the recent posting of the gbde tutorial I went out and set up an encrypted partition using geom_bde on my laptop. When trying to umount this partition the umount fails with: # umount /crypto umount: unmount of /crypto failed: Resource temporarily unavailable and the follo