Hi,
I hope that I can help you because there are one or two confusing thinks.
To make a note:
c0t3d0 --> This is your actual
root disk.
c0t1d0 --> Your
backup disk.
So fare I understand you want to backup the information of the
root disk.
First of all you have four used partition on the
root disk.
/root on slice 0
/usr on slice 6
/export on slice 5
/w.local on slice 7
By the way you forgot the swap -l command so I am not sure if the swap area is on 1,3 or slice 4.
Never mind! Because no one dump a swap device
!
First step:
Partition of the
backup disk:
format
0 # just type and return
p # just type and return
p # just type and return
If there is no data on this disk we have to partition the disk.
Now you can see something like this:
Part Tag Flag Cylinders Size Blocks
0 swap wu 0 - 550 1.95GB (551/0/0) 4099440
1 root wm 551 - 54520 191.47GB (53970/0/0) 401536800
2 backup wm 0 - 65532 232.49GB (65533/0/0) 487565520
3 var wm 54521 - 60026 19.53GB (5506/0/0) 40964640
4 unassigned wm 60027 - 65532 19.53GB (5506/0/0) 40964640
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
With h you can get the help:
partition> h
Expecting one of the following: (abbreviations ok):
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
7 - change `7' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
!<cmd> - execute <cmd>, then return
quit
Because you have limited disk space on the
backup disk I I would say use one partition for the whole disk.
So first delete all partition like you can see in this example
!!!! But not the second partition !!!!!
So do this for all slices except the slice 2!
partition> 2 # this is for the slice 2
Part Tag Flag Cylinders Size Blocks
4 unassigned wm 60027 - 65532 19.53GB (5506/0/0) 40964640
Enter partition id tag[unassigned]:
Enter partition permission flags[wm]:
Enter new starting cyl[60027]:
0
Enter partition size[40964640b, 5506c, 65532e, 20002.27mb, 19.53gb]:
0
Now create on slice 0 one partition with the whole free disk space.
It is the same procedure as delete partition but now you must insert a value for the size.
then label the disk with the
label command.
then exit the format utility.
q
q
Creating of a file system:
newfs /dev/rdsk/c0t1d0s0
Mount it on the filesystem.
mount /dev/dsk/c0t1d0s0 /mnt
and use the ufsdump command to backup all the mentioned file systems at the
root disk. to the /mnt folder.
Example for the /var filesystem.
ufsdump -f /mnt/dump_var /var
After you backup all the slices of the
root disk you have a complete backup of the old system on the
backup disk
So feel free to delete modify or new install the root disk!
Best regards and post questions if there are some!
joerg