On 4/7/2011 12:30 PM, Ted Unangst wrote:
> On Thu, Apr 7, 2011 at 12:10 PM, Steven R. Gerber
> <[email protected]> wrote:
>> The partitions/mounts problem is far more disconcerting. What if I need
>> to save data to a striped array to do the migration?
>> Recreating/resetting those parameters is dangerous. How can I create
>> and use a site script to preserve them through install? Is it possible
>> to do an install without walloping the existing filesystem(s)? (Deleting
>> files is OK.)
>
> The installer will not overwrite an existing disklabel if you have one
> and will only newfs filesystems that have mount points. This is easy
> to screw up if you aren't careful, but it's certainly possible to do a
> clean install and keep some filesystems from before.
>
>
I am missing the point. It seems like a Catch-22 to me.
The installer takes me into disklabel:
Whole disk OR Auto OR Existing?
If I choose Existing then there are no mount points.
If I quit now then there are no mount points and the installer will not
proceed?
If I define mount points then they will be newfs'd.
Like many others, my usual filesystem layouts are
production
***********************************************************************
/
/home
/root
/tmp
/usr
/var
/var/crash
/var/log
/var/mail
/var/www
***********************************************************************
OR development
***********************************************************************
/
/home
/tmp
/usr
/usr/X11R6
/usr/local
/usr/obj
/usr/src
/var
***********************************************************************
I also have mount points for my arrays. How do I preserve the softraid
parameters etc.?
Thanks,
Steven