Re: resize crypto raid
Uwe Werler wrote: > Hello list, > > is it currently possible to resize/increase a crypto raid anyhow? I tested it > with a virtual disk image via vnconfig - created an image file, attached it > via vnconfig, created a raid partition and configured a raid with crypto > discipline. Later I increased the image and adopted the partitoin size at the > vnd image. Softraid starts properly but still with the old size - disk > boundaries didn't change too. run disklabel on the softraid disk, use 'b' to change the area.
resize crypto raid
Hello list, is it currently possible to resize/increase a crypto raid anyhow? I tested it with a virtual disk image via vnconfig - created an image file, attached it via vnconfig, created a raid partition and configured a raid with crypto discipline. Later I increased the image and adopted the partitoin size at the vnd image. Softraid starts properly but still with the old size - disk boundaries didn't change too. Background: I think about full disk encryption for my virtual machine. In the hindsight maybe that I let the disk size increase by my cloud provider. Any hints? Any ideas? Thanks in advance! Regards Uwe
Re: resize crypto raid
Hello Karel, exactly this I guessed :( Mmh, any idea how can be dealt with crypto raid and a kinda ccd? Regards Uwe On 21. Dec 22:58:27, Karel Gardas wrote: > Hello Uwe, > > IIRC softraid0 also saves disk size as a part of its metadata. I'm not > sure if metadata gets updated when you change just partition/disklabel > size, but I would not expect it. > > On Mon, Dec 21, 2015 at 10:49 PM, Uwe Werlerwrote: > > Hello Ted, > > > > this is exactly my problem - i can't change the disk boundaries at the > > softraid disk. I tried it with saving the disklabel of softraid0/sd0 and > > editing manually - with no success. Any ideas? > > > > Regards Uwe > > > > On 21. Dec 16:05:28, Ted Unangst wrote: > >> Uwe Werler wrote: > >> > Hello list, > >> > > >> > is it currently possible to resize/increase a crypto raid anyhow? I > >> > tested it > >> > with a virtual disk image via vnconfig - created an image file, attached > >> > it > >> > via vnconfig, created a raid partition and configured a raid with crypto > >> > discipline. Later I increased the image and adopted the partitoin size > >> > at the > >> > vnd image. Softraid starts properly but still with the old size - disk > >> > boundaries didn't change too. > >> > >> run disklabel on the softraid disk, use 'b' to change the area. > > > > -- > --
Re: resize crypto raid
Hello Uwe, IIRC softraid0 also saves disk size as a part of its metadata. I'm not sure if metadata gets updated when you change just partition/disklabel size, but I would not expect it. On Mon, Dec 21, 2015 at 10:49 PM, Uwe Werlerwrote: > Hello Ted, > > this is exactly my problem - i can't change the disk boundaries at the > softraid disk. I tried it with saving the disklabel of softraid0/sd0 and > editing manually - with no success. Any ideas? > > Regards Uwe > > On 21. Dec 16:05:28, Ted Unangst wrote: >> Uwe Werler wrote: >> > Hello list, >> > >> > is it currently possible to resize/increase a crypto raid anyhow? I tested >> > it >> > with a virtual disk image via vnconfig - created an image file, attached it >> > via vnconfig, created a raid partition and configured a raid with crypto >> > discipline. Later I increased the image and adopted the partitoin size at >> > the >> > vnd image. Softraid starts properly but still with the old size - disk >> > boundaries didn't change too. >> >> run disklabel on the softraid disk, use 'b' to change the area. > > --
Re: resize crypto raid
Hello Ted, this is exactly my problem - i can't change the disk boundaries at the softraid disk. I tried it with saving the disklabel of softraid0/sd0 and editing manually - with no success. Any ideas? Regards Uwe On 21. Dec 16:05:28, Ted Unangst wrote: > Uwe Werler wrote: > > Hello list, > > > > is it currently possible to resize/increase a crypto raid anyhow? I tested > > it > > with a virtual disk image via vnconfig - created an image file, attached it > > via vnconfig, created a raid partition and configured a raid with crypto > > discipline. Later I increased the image and adopted the partitoin size at > > the > > vnd image. Softraid starts properly but still with the old size - disk > > boundaries didn't change too. > > run disklabel on the softraid disk, use 'b' to change the area. --