* HELP: Need advice on doing a backup under ULTRIX...
@ 1994-05-15 5:01 Chris Kalisiak
1994-05-18 9:48 ` cm test program
0 siblings, 1 reply; 2+ messages in thread
From: Chris Kalisiak @ 1994-05-15 5:01 UTC (permalink / raw)
Hello all,
I'm trying to pull an RZ24 and replace it with an RZ23 in a
DECstation 5000 because I need the extra space somewhere else (and
the DS5000 doesn't need that much extra space right now).
So, what I've got so far is the following:
# df
Filesystem Total kbytes kbytes %
node kbytes used free used Mounted on
/dev/rz2a 15303 11133 2640 81% /
/dev/rz3c 191958 176025 0 102% /usr
/dev/rz2e 38391 20421 14131 59% /var
/dev/rz2f 38391 12029 22523 35% /usr2
/dev/rz2b 61523 5 55366 0% /usr3
/dev/rz4a 15343 13132 677 95% /mnt
rz4a is the newly added RZ23. What I need to do is move '/', '/var',
'/usr2', and swap to the RZ23. This is the fstab:
# cat /etc/fstab
/dev/rz2a:/:rw:1:1:ufs::
/dev/rz3c:/usr:rw:1:2:ufs::
/dev/rz2e:/var:rw:1:4:ufs::
/dev/rz2f:/usr2:rw:1:5:ufs::
/dev/rz2b:/usr3:rw:1:6:ufs::
/dev/rz2d::sw:0:0:ufs::
and the chpt -a of the RZ23 and RZ24:
# chpt -q /dev/rrz2c
/dev/rrz2c
Current partition table:
partition bottom top size overlap
a 0 32767 32768 c,h
b 32768 163839 131072 c
c 0 409791 409792 a,b,d,e,f,g,h
d 163840 245823 81984 c,g
e 245824 327807 81984 c,g
f 327808 409791 81984 c,g
g 163840 409791 245952 c,d,e,f
h 0 0 0 a,c
# chpt -q /dev/rrz4c
/dev/rrz4c
Current partition table:
partition bottom top size overlap
a 0 32767 32768 c
b 32768 99457 66690 c
c 0 204863 204864 a,b,d,e,f,g,h
d 99458 134592 35135 c,g
e 134593 169727 35135 c,g,h
f 169728 204863 35136 c,g,h
g 99458 204863 105406 c,d,e,f,h
h 134593 204863 70271 c,e,f,g
#
I know the size of the swap partition is going to drop some, but I should
be able to get away with using the 'b' partition as swap.
So, what I need to know how to do is: do an image backup (ie. BACKUP/IMAGE
under VMS) from partitions on '2' to the respective partitions on '4',
and then create the swap partition on '4'.
When I get done, I am going to change the SCSI id of the RZ23 from '4'
to '2' to match the original drive.
Ultrix 4.3
Thanks a lot in advance,
Chris
--
Chris Kalisiak |"Pound for pound, lame puns are your best entertain-
kalisiak@cs.buffalo.edu | ment value." -- Gogo Dodo, 'Tiny Toon Adventures'
V076N3W7@ubvms.bitnet |I'm a student; |You're in a Maze of Twisty Little
Tel:+1(716)692-5128 |I don't speak for UB. |Unix Variants - All Different.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: HELP: Need advice on doing a backup under ULTRIX...
1994-05-15 5:01 HELP: Need advice on doing a backup under ULTRIX Chris Kalisiak
@ 1994-05-18 9:48 ` cm test program
0 siblings, 0 replies; 2+ messages in thread
From: cm test program @ 1994-05-18 9:48 UTC (permalink / raw)
Try the following:
Make the two file systems on the drive4:
newfs /dev/rrz4a rz23
newfs /dev/rrz4e rz23
mount the new / partition temporarily:
mount /dev/rz4a /mnt
Move to new dir and dump and resore via a pipe:
cd /mnt
dump 0f - / | restore -rf -
Get out of dir and unmount:
cd /
umount /mnt
Now do the same for the other partition.
mount /dev/rz4e /mnt
cd /mnt
dump 0f - /var | restore -rf -
cd /
umount /mnt
Hope this helps.
Cheers simon....
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-05-18 9:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-05-15 5:01 HELP: Need advice on doing a backup under ULTRIX Chris Kalisiak
1994-05-18 9:48 ` cm test program
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox