server has no slice 2, can I safely create it?

From: Brewer, Dwight R. CONTRACTOR (Dwight.Brewer_CONTRACTOR@dtra.mil)
Date: Thu Apr 20 2006 - 09:41:06 EDT


We just finished building a trusted solaris server and customizing it.
I was about to use dd to copy the entire drive to a backup that will
normally be stored off line. However, due to a huge oversight, the
person who created our working drive deleted slice 2, the backup
partition before the build started. The other partitions / /usr /var
and /opt are fine and the system is running without error.

What would normally be slice 2 is unassigned and empty, utilizing no
cylinders. So the following command fails:

 dd ifs=/dev/rdsk/c1t0d0s2 ofs=/dev/rdsk/c1t1d0s2 bs=10240

Due to circumstances beyond my control, starting the build over is not
an option.

I do have ufs dumps to tape of the / /usr /var and /opt filesystems.

My question is: Can I safely use the format utility to re-create a
standard slice 2 by reassigning it the full range of available
cylinders? Or will that harm the data on the existing partitions?

Should I forget a slice 2 reconstruction and instead use ufsrestore to
rebuild the system?

All suggestions welcome! Thanks in advance.

Russ

.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:39:38 EDT