Total system freeze when using geli

2012-06-26 Thread Robert Simmons
I've run into a total freeze with 9.0. I'm using geli encrypted swap and / with the following: geli init -b -v -a hmac/sha256 -l 256 -s 4096 /dev/ada0p4 and geli_swap_flags="-d -l 256 -s 4096" The following specs: 128M memory and 4G hard disk in a Xen HMV virtual server environment. I have alloc

Re: libgeom documentation?

2012-06-26 Thread Dave Hayes
[ Reposting this request to a more relevant list] Libgeom has these functions geom_gettree() and geom_getxml but there is no documentation in the man page. Was this intentional? Is there a place these functions are documented other than their source code? :) Thanks in advance. -- Dave Hayes - Co

Re: GEOM provider resizing.

2012-06-26 Thread Edward Tomasz Napierała
Wiadomość napisana przez Mark Felder w dniu 26 cze 2012, o godz. 21:05: > On Tue, 26 Jun 2012 11:27:05 -0500, Edward Tomasz Napierała > wrote: >> >> Review and testing is welcome. Thanks to FreeBSD Foundation for sponsoring >> this. > > Does this possibly provide the ability to resize a geom m

Re: GELI Passphrase changing

2012-06-26 Thread icameto icameto
Hi RW , Firstly thanks for yours quick response . But I stuck in geli module and this command too . So I can use the old passphrase file (/root/da1.key) . So when I set new passphrase that will that be overwritten to this old file with using -K parameter like this # geli setkey -K /root/da1.eli /

Re: GEOM provider resizing.

2012-06-26 Thread Mark Felder
On Tue, 26 Jun 2012 11:27:05 -0500, Edward Tomasz Napierała wrote: Review and testing is welcome. Thanks to FreeBSD Foundation for sponsoring this. Does this possibly provide the ability to resize a geom mirror? I could definitely use that functionality.

GEOM provider resizing.

2012-06-26 Thread Edward Tomasz Napierała
Hello. At http://people.freebsd.org/~trasz/geom-resize.diff you will find a patch that implements GEOM resizing. This includes: 1. New class method, resize(), called after mediasize gets updated, 2. New routine, g_resize_provider(), to use by class owning the provider to notify others that t

Re: GELI Passphrase changing

2012-06-26 Thread RW
On Tue, 26 Jun 2012 17:52:28 +0300 icameto icameto wrote: > Hi everyone, > > I d like to ask you a question about geli and pasphrase changing. > > # dd if=/dev/random of=/root/da1.key bs=64 count=1 > > # geli init -s 4096 -K /root/da1.key /dev/da1 > > # geli attach -k /root/da1.key /dev/da1 >

GELI Passphrase changing

2012-06-26 Thread icameto icameto
Hi everyone, I d like to ask you a question about geli and pasphrase changing. # dd if=/dev/random of=/root/da1.key bs=64 count=1 # geli init -s 4096 -K /root/da1.key /dev/da1 # geli attach -k /root/da1.key /dev/da1 How can I change the passphrase for my GELI device? Please give me an advice.