Making space for another OS.

Craig McLean craig at fukka.co.uk
Sun Nov 20 14:04:59 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bill Rugolsky Jr. wrote:
> On Tue, Nov 15, 2005 at 03:50:00PM +0000, Craig McLean wrote:
>> Gotcha. Hopefully once the filesystem is resized down and the lvreduce
>> is done, moving the physical partition boundary will not destroy any
>> allocated PEs, good call on the vgcfgbackup/restore. I wouldn't know
>> where to start working out the new PE count for the restore though...
>> Will vgdisplay show me the new PE count after the resize?
> 
[snip]

> 
> So to hack this up manually, you'd have to first verify that no segment extends
> beyond the new end of the physical volume, and then reduce the pe_count in
> the meta-data.
> 
> Best of luck,
> 
> 	Bill Rugolsky

Thanks for all the advice Bill. In the end, I just trashed the disk,
installed Solaris in the first partition, then did a very minimal fedora
install and restored the whole thing from backup. Worked like a charm
and only took a few hours.
Let's have a big hand for bacula (www.bacula.org)!

Craig.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDgIKLMDDagS2VwJ4RAiodAKCNivn6wvIKoG9w2goWHlguCqgffwCeN69P
Q8xuI+gkXke+m/P/cubROS0=
=opTt
-----END PGP SIGNATURE-----




More information about the users mailing list