Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating Partitions FDISK

Status
Not open for further replies.

Fixles

Programmer
Jan 24, 2002
36
GB
Hello All,

One of my SCO Open Server 5 servers (A HP ML570 G2) Is randomly rebooting itself. HP have sent me a temporary replacement server and want to whip mine away for diagnostics including the SCSI disks [surprise]

I have boot and root disks and taken a full backup to tape. I've been told that if I partitions with exactly the same geometry I can just restore....... How do I set up the partitions with FDISK?

This is the output from divvy -P -N
Code:
0              0          20479   boot       EAFS
1          20480        6164479   swap       NON FS
2        6164480        8212479   root       HTFS
3        8212480      142245109   data       HTFS
6      142245110      142245119   recover    NON FS
7              0      142249183   hd0a       WHOLE DISK
Any help would be greatly appreciated.

Many Thanks,

James
 
a full backup to tape
made with which utility ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Hi,

Backup is a script using the cpio command. I didnt write it but i'm assured it backs everything up.

I hopefully have the cpio command to restore from tape. I just need to set the partitions up exactly the same.
 
With a cpio backup you don't need to have the partitions (fdisk) nor the divisions (divvy) set exactly the same.
If the replacement server is EXACTLY the same as the older then you may just restore provided the filesystems are large enough.
How do I set up the partitions with FDISK?
Use whole disk for unix.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Excellent that will make things a lot easier. What about setting up the swap partition?

Cheers,

James
 
The swap division is usually set to 1.5 times the RAM size.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Which command do I use to set swap up? I've got 4GB of RAM
 
The swap is defined during the divvy.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Or you can download Microlite Edge from and use it to make boot recovery disks and a backup that will restore your entire system without reinstalling and without you having to know anything. The download runs for 60 days so plenty of time.

I do not trust SCO's boot recovery disks or a cpio backup. See
You SHOULD own this, but Microlite doesn't mind if you use it for this. Lonetar is a similar product. You should use one of them.



Tony Lawrence
Linux/Unix/Mac OS X Resources
 
Welcome back, Tony.

I generally reload the OS and change the filesystems because I always have figured out a better way and resize stuff when it is time to do a recovery. And likely as not to do a tar extract from the edge tape.



 
divvy did the trick. I've managed to get the partitions set up exactly the same now. Thanks for your help.

Just having a few problems with cpio command.

I'm entering cpio -icvdma -I/dev/rct0 and i'm getting the following error

dynamic linker : cpio : could not open /usr/lib/libsocket.so.2

libsocket.so.1 exists and i tried just creating a link to that called .2 but it didnt work. Any ideas?

Cheers,

James
 
Ed:

You can resize file systems with Edge or Lonetar. You have the option of putting them back as they were, automatically resizing, or controlling the whole thing manually.

You can also restore on different hardware that requires a btld.

You do not need to reload the OS prior to restore if you use these.

Tony Lawrence
Linux/Unix/Mac OS X Resources
 
Iknow that is intended. In the meantime I am still in the process of migrating from 4.2 to 5.0.5 and resolving issues, including those with edge 2. whatever and the upgrade 2.01.
Once I have the roughly 10 machines the same and the networking up and running I'll get to the rapid recovery.

Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top