From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,74f87622bd47ffa4,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,74f87622bd47ffa4,start X-Google-Attributes: gid10b612,public X-Google-ArrivalTime: 1994-05-17 02:16:39 PST Xref: gmd.de comp.sys.dec:15441 comp.unix.ultrix:14067 Newsgroups: comp.sys.dec,comp.unix.ultrix Path: gmd.de!nntp.gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!news.kei.com!ub!acsu.buffalo.edu!kalisiak From: kalisiak@cs.buffalo.edu (Chris Kalisiak) Subject: HELP: Need advice on doing a backup under ULTRIX... Message-ID: Sender: nntp@acsu.buffalo.edu Nntp-Posting-Host: armstrong.cs.buffalo.edu Organization: UB X-Newsreader: TIN [version 1.2 PL2] Date: Sun, 15 May 1994 05:01:56 GMT 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.