Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Dump and Restore problem in COMPAQ DS10 - digital unix v4.0f
@ 2006-01-22  9:01 Ari
  2006-01-22 23:00 ` David J Dachtera
  0 siblings, 1 reply; 4+ messages in thread
From: Ari @ 2006-01-22  9:01 UTC (permalink / raw)


Dear all,


 I had a dump and restore problem using compaq alpha station ds10
(digital unix v4.0f)  workstation. The dump script is as follows :


cd /dev
mt rewind
sleep 30
rm -f rmt*
rm -f nrmt*
./MAKEDEV tz30
rm -f rz16*
rm -f rrz16*
./MAKEDEV rz16
/usr/sbin/dump 0usdf 9090 61000 /dev/nrmt0h /
/usr/sbin/dump 0usdf 9090 61000 /dev/nrmt0h /usr
/usr/sbin/dump 0usdf 9090 61000 /dev/rmt0h /usr/user


Unfortunately when I tried to restore using this script
cd /dev
rm rmt*
rm nrmt*
./MAKEDEV tz30
rm rz16*
rm rrz16*
./MAKEDEV rz16
/sbin/disklabel -r /dev/rrz16c
/sbin/disklabel -sF /dev/rrz16a unused
/sbin/disklabel -sF /dev/rrz16b unused
/sbin/disklabel -sF /dev/rrz16g unused
/sbin/disklabel -sF /dev/rrz16h unused
/usr/sbin/newfs /dev/rrz16a BD018745
/usr/sbin/newfs /dev/rrz16b BD018745
/usr/sbin/newfs /dev/rrz16g BD018745
/usr/sbin/newfs /dev/rrz16h BD018745
mt rewind
cd /
/usr/sbin/mount /dev/rz16a /mnt
cd /mnt
/usr/sbin/restore -r
cd /
umount /mnt
/usr/sbin/mount /dev/rz16g /mnt
/usr/sbin/mount /dev/rz16b /tmp
mt fsf 1
cd /mnt
/usr/sbin/restore -r
cd /
/usr/sbin/umount /mnt
/usr/sbin/mount /dev/rz16h /mnt
mt fsf 2
cd /mnt
/usr/sbin/restore -r
cd /
/usr/sbin/umount /mnt
/usr/sbin/umount /tmp
/sbin/disklabel -sF /dev/rrz16b swap
/sbin/disklabel -r /dev/rrz16c
/usr/sbin/sync


**********************************************
I got an error message such as follows :
**********************************************
.
.
.
 Cannot malloc space for property list, errno = 22
Cannot malloc space for property list, errno = 22
# /dev/rrz16c:
.
.
.


Anybody knows what's wrong with my script or does anybody had a dump
and restore script that I can use it. 


Thanks for your time. 
Ari



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Dump and Restore problem in COMPAQ DS10 - digital unix v4.0f
  2006-01-22  9:01 Dump and Restore problem in COMPAQ DS10 - digital unix v4.0f Ari
@ 2006-01-22 23:00 ` David J Dachtera
  2006-01-23  2:55   ` Ari
  0 siblings, 1 reply; 4+ messages in thread
From: David J Dachtera @ 2006-01-22 23:00 UTC (permalink / raw)


Ari wrote:
> 
> Dear all,
> 
>  I had a dump and restore problem using compaq alpha station ds10
> (digital unix v4.0f)  workstation. The dump script is as follows :
> 
> cd /dev
> mt rewind
> sleep 30
> rm -f rmt*
> rm -f nrmt*
> ./MAKEDEV tz30
> rm -f rz16*
> rm -f rrz16*
> ./MAKEDEV rz16
> /usr/sbin/dump 0usdf 9090 61000 /dev/nrmt0h /
> /usr/sbin/dump 0usdf 9090 61000 /dev/nrmt0h /usr
> /usr/sbin/dump 0usdf 9090 61000 /dev/rmt0h /usr/user
> 
> Unfortunately when I tried to restore using this script
> cd /dev
> rm rmt*
> rm nrmt*
> ./MAKEDEV tz30
> rm rz16*
> rm rrz16*
> ./MAKEDEV rz16
> /sbin/disklabel -r /dev/rrz16c
> /sbin/disklabel -sF /dev/rrz16a unused
> /sbin/disklabel -sF /dev/rrz16b unused
> /sbin/disklabel -sF /dev/rrz16g unused
> /sbin/disklabel -sF /dev/rrz16h unused
> /usr/sbin/newfs /dev/rrz16a BD018745
> /usr/sbin/newfs /dev/rrz16b BD018745
> /usr/sbin/newfs /dev/rrz16g BD018745
> /usr/sbin/newfs /dev/rrz16h BD018745
> mt rewind
> cd /
> /usr/sbin/mount /dev/rz16a /mnt
> cd /mnt
> /usr/sbin/restore -r
> cd /
> umount /mnt
> /usr/sbin/mount /dev/rz16g /mnt
> /usr/sbin/mount /dev/rz16b /tmp
> mt fsf 1
> cd /mnt
> /usr/sbin/restore -r
> cd /
> /usr/sbin/umount /mnt
> /usr/sbin/mount /dev/rz16h /mnt
> mt fsf 2
> cd /mnt
> /usr/sbin/restore -r
> cd /
> /usr/sbin/umount /mnt
> /usr/sbin/umount /tmp
> /sbin/disklabel -sF /dev/rrz16b swap
> /sbin/disklabel -r /dev/rrz16c
> /usr/sbin/sync
> 
> **********************************************
> I got an error message such as follows :
> **********************************************
> .
> .
> .
>  Cannot malloc space for property list, errno = 22
> Cannot malloc space for property list, errno = 22
> # /dev/rrz16c:
> .
> .
> .
> 
> Anybody knows what's wrong with my script or does anybody had a dump
> and restore script that I can use it.

Not right off, but just curious: what is the purpose of the 

rm rmt*
rm nrmt*
./MAKEDEV tz30
rm rz16*
rm rrz16*
./MAKEDEV rz16

... sequence?

-- 
David J Dachtera
dba DJE Systems
http://www.djesys.com/

Unofficial OpenVMS Hobbyist Support Page:
http://www.djesys.com/vms/support/

Unofficial Affordable OpenVMS Home Page:
http://www.djesys.com/vms/soho/

Unofficial OpenVMS-IA32 Home Page:
http://www.djesys.com/vms/ia32/

Coming soon:
Unofficial OpenVMS Marketing Home Page


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Dump and Restore problem in COMPAQ DS10 - digital unix v4.0f
  2006-01-22 23:00 ` David J Dachtera
@ 2006-01-23  2:55   ` Ari
  2006-02-03  3:32     ` David J Dachtera
  0 siblings, 1 reply; 4+ messages in thread
From: Ari @ 2006-01-23  2:55 UTC (permalink / raw)


David,

cd /dev
mt rewind
sleep 30
rm -f rmt*  ---------------> just removed all of tape device logical
symbol such as rmt01 etc in directory /dev
rm -f nrmt* ---------------> same as above
./MAKEDEV tz30 -----> recreate again the tape device logical symbol
rm -f rz16* ----------------> just removed all of device that has
logical name rz16
rm -f rrz16* ---------------> same as above
./MAKEDEV rz16 -----> recreate again the device logical symbol

The above script sequences in dump and restore just to make sure that I
deleted first existing device logical symbol  that might be exist and
then recreated again, i just want to initialize it . The dump process
was successfully since i didn't get error message during dump process.
Sorry i forgot to tell you that dump process was from harddisk to dat
tape DDS-3 data catridge.


David J Dachtera wrote:
> Ari wrote:
> >
> > Dear all,
> >
> >  I had a dump and restore problem using compaq alpha station ds10
> > (digital unix v4.0f)  workstation. The dump script is as follows :
> >
> > cd /dev
> > mt rewind
> > sleep 30
> > rm -f rmt*
> > rm -f nrmt*
> > ./MAKEDEV tz30
> > rm -f rz16*
> > rm -f rrz16*
> > ./MAKEDEV rz16
> > /usr/sbin/dump 0usdf 9090 61000 /dev/nrmt0h /
> > /usr/sbin/dump 0usdf 9090 61000 /dev/nrmt0h /usr
> > /usr/sbin/dump 0usdf 9090 61000 /dev/rmt0h /usr/user
> >
> > Unfortunately when I tried to restore using this script
> > cd /dev
> > rm rmt*
> > rm nrmt*
> > ./MAKEDEV tz30
> > rm rz16*
> > rm rrz16*
> > ./MAKEDEV rz16
> > /sbin/disklabel -r /dev/rrz16c
> > /sbin/disklabel -sF /dev/rrz16a unused
> > /sbin/disklabel -sF /dev/rrz16b unused
> > /sbin/disklabel -sF /dev/rrz16g unused
> > /sbin/disklabel -sF /dev/rrz16h unused
> > /usr/sbin/newfs /dev/rrz16a BD018745
> > /usr/sbin/newfs /dev/rrz16b BD018745
> > /usr/sbin/newfs /dev/rrz16g BD018745
> > /usr/sbin/newfs /dev/rrz16h BD018745
> > mt rewind
> > cd /
> > /usr/sbin/mount /dev/rz16a /mnt
> > cd /mnt
> > /usr/sbin/restore -r
> > cd /
> > umount /mnt
> > /usr/sbin/mount /dev/rz16g /mnt
> > /usr/sbin/mount /dev/rz16b /tmp
> > mt fsf 1
> > cd /mnt
> > /usr/sbin/restore -r
> > cd /
> > /usr/sbin/umount /mnt
> > /usr/sbin/mount /dev/rz16h /mnt
> > mt fsf 2
> > cd /mnt
> > /usr/sbin/restore -r
> > cd /
> > /usr/sbin/umount /mnt
> > /usr/sbin/umount /tmp
> > /sbin/disklabel -sF /dev/rrz16b swap
> > /sbin/disklabel -r /dev/rrz16c
> > /usr/sbin/sync
> >
> > **********************************************
> > I got an error message such as follows :
> > **********************************************
> > .
> > .
> > .
> >  Cannot malloc space for property list, errno = 22
> > Cannot malloc space for property list, errno = 22
> > # /dev/rrz16c:
> > .
> > .
> > .
> >
> > Anybody knows what's wrong with my script or does anybody had a dump
> > and restore script that I can use it.
>
> Not right off, but just curious: what is the purpose of the
>
> rm rmt*
> rm nrmt*
> ./MAKEDEV tz30
> rm rz16*
> rm rrz16*
> ./MAKEDEV rz16
>
> ... sequence?
>
> --
> David J Dachtera
> dba DJE Systems
> http://www.djesys.com/
>
> Unofficial OpenVMS Hobbyist Support Page:
> http://www.djesys.com/vms/support/
>
> Unofficial Affordable OpenVMS Home Page:
> http://www.djesys.com/vms/soho/
>
> Unofficial OpenVMS-IA32 Home Page:
> http://www.djesys.com/vms/ia32/
> 
> Coming soon:
> Unofficial OpenVMS Marketing Home Page



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Dump and Restore problem in COMPAQ DS10 - digital unix v4.0f
  2006-01-23  2:55   ` Ari
@ 2006-02-03  3:32     ` David J Dachtera
  0 siblings, 0 replies; 4+ messages in thread
From: David J Dachtera @ 2006-02-03  3:32 UTC (permalink / raw)


Ari wrote:
> 
> David,
> 
> cd /dev
> mt rewind
> sleep 30
> rm -f rmt*  ---------------> just removed all of tape device logical
> symbol such as rmt01 etc in directory /dev
> rm -f nrmt* ---------------> same as above
> ./MAKEDEV tz30 -----> recreate again the tape device logical symbol
> rm -f rz16* ----------------> just removed all of device that has
> logical name rz16
> rm -f rrz16* ---------------> same as above
> ./MAKEDEV rz16 -----> recreate again the device logical symbol
> 
> The above script sequences in dump and restore just to make sure that I
> deleted first existing device logical symbol  that might be exist and
> then recreated again, i just want to initialize it . The dump process
> was successfully since i didn't get error message during dump process.
> Sorry i forgot to tell you that dump process was from harddisk to dat
> tape DDS-3 data catridge.

Maybe I should have been more specific: Why do this in a regularly
executing script? Isn't this done only once when the system is setup and
then you don't touch it again until the hardware configuration changes?

-- 
David J Dachtera
dba DJE Systems
http://www.djesys.com/

Unofficial OpenVMS Marketing Home Page
http://www.djesys.com/vms/market/

Unofficial Affordable OpenVMS Home Page:
http://www.djesys.com/vms/soho/

Unofficial OpenVMS-IA32 Home Page:
http://www.djesys.com/vms/ia32/

Unofficial OpenVMS Hobbyist Support Page:
http://www.djesys.com/vms/support/


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-02-03  3:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-22  9:01 Dump and Restore problem in COMPAQ DS10 - digital unix v4.0f Ari
2006-01-22 23:00 ` David J Dachtera
2006-01-23  2:55   ` Ari
2006-02-03  3:32     ` David J Dachtera

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox