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



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@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



Relevant Pages

  • Summary: server has no slice 2, can I safely create it?
    ... All agreed that the backup slice could be safely recreated ... Or will that harm the data on the existing partitions? ... Using ddactually copies the disk ...
    (SunManagers)
  • Re: enlarging swap partition
    ... > There are two partitions, the fs (at the beginning of the slice) and the ... > Can I edit the label with bsdlabel in order to enlarge the swap in order ... > cylinders: 6663 ...
    (comp.unix.bsd.freebsd.misc)
  • SUMMARY: Mirroring Questions Part 1 & 2
    ... If you use two diffrent size hard drives to mirror you can reclaim the un-used space on the larger of the two drives, this seems to not be recommended because you will take a performance hit. ... If I mirror with drives of different sizes, root disk being the smallest and the mirror being the largest, will I suffer performance problems? ... Both disks have identical partions setup when looking thru the format command expect slice 2. ... If you have only a few partitions that could be considered actual boot ...
    (SunManagers)
  • Re: Setting up a Linux network storage cluster
    ... > computer without taking the whole backup solution down and manually ... >> pairs of failover devices in a cluster, if you really wanted to, but I ... > the computers to raid between each other in the network / cluster. ... In that configuration the three nodes each have three partitions. ...
    (comp.os.linux.networking)
  • Re: Trouble reading drive? Fragmentation or RAM problem?
    ... has 5G free out of 15G, and the other partitions are much emptier. ... Anyway, I deleted a whole bunch of accumulated Windows update backup files, and now things are somewhat faster. ... Having gotten True Image to do full backups I am now proceeding with a badly needed defrag. ... It sounds a little like the disk might be nearly full ...
    (microsoft.public.windowsxp.general)