Operating System - Tru64 Unix
1752681 Members
5308 Online
108789 Solutions
New Discussion юеВ

no such device or address .

 
SOLVED
Go to solution
Rambo_1
Regular Advisor

no such device or address .

Hi,
I met a problem when I restored the OS(4.0f)with the tape.
I backuped the os using
#vdump -0 -f /dev/nrmt0h /
#vdump -0 -f /dev/nrmt0h /usr
#vdump -0 -f /dev/nrmt0h /original
below is the restore process:
1,boot from OS CD
2,Configure disk Partitions and then exit to command line.
3,#mkfdmn /dev/rz13a root_domain
4,#mkfset root_domain root
5,#mkfdmn /dev/rz13f usr_domain
6,#mkfset usr_domain usr
7,#mkfdmn /dev/rz13g original_domain
8,#mkfset original_domain original
9,#/dev/MAKEDEV tz0
10,# mt -f /dev/nrmt0 rewind
the os displayed :"no such device or address",I
scu show edt can find the TZ88,and the nrmt0h is under /dev/
11, I ignored and tried this
#mount root_domain#root /mnt
12 #vrestore -xvf /dev/nrmt0h -D /mnt
But still displayed:"unable to open save-set(/dev/nrmt0h),[6]no such device or address"

Thanks
5 REPLIES 5
Rambo_1
Regular Advisor

Re: no such device or address .

hi,
This problem occured at host-A ,and another host is host-B. they are in a 1.6 Cluster environment, can I use other method to restore the boot disk ? such as:
1, pull the boot disk from host-A
2, insert the disk in host-B
3, the host-B bootdisk is rz13, and host-A disk is rz12 now.
4, usd "vdump and vrestore" to restore the OS .
5,#disklabel -r rz13>/tmp/rz13.map
6,#disklabel -z rz12
7,
8,#disklabel -t advfs -rR rz12 /tmp/rz13.map hsz22
9,#mkfdmn /dev/rz12a newroot_domain
10,#mkfset newroot_domain root
11,#mkfdmn /dev/rz12f newusr_domain
12,#mkfset newusr_domain usr
13,#mkfdmn /dev/rz12g neworiginal_domain
14,#mkfset neworiginal_domain original
15,#mount newroot_domain#root /mnt
16,#cd /mnt
17,#vdump -0uf - / |vrestore -xf - .
18,#umount /mnt
19,repeat 15-18 step to restore /usr,/origina
20,#mount newroot_doman#root /mnt
21,#cd /mnt/etc/fdmns/root_domain

How to do at next step, pls advise.
Thanks
Ravi_8
Honored Contributor

Re: no such device or address .

Hi,

after the OS installed have you configured the tape drive?
never give up
Ralf Puchner
Honored Contributor

Re: no such device or address .

is the tape connected to a controller not supported by base 4.0f? What is the output of MAKEDEV tz0 and does the tape be listed within the boot messages?

Next time create a boottape (btcreate) and system will be much quicker available after a disk problem.
Help() { FirstReadManual(urgently); Go_to_it;; }
Michael Schulte zur Sur
Honored Contributor
Solution

Re: no such device or address .

Hi,

you just can't use tz0 for the creation.
Depending on the addres of the tape it is different.
Please post scu show edt
Then you will have to calculate
x=bus*8+target
if I am corrent
and then do
MAKEDEV tzx

greetings,

Michael
Rambo_1
Regular Advisor

Re: no such device or address .

thanks a lot..
the tape path : bus 1,target3, lun 0,

#rm /dev/nrmt0* /dev/rmt0*
#./MAKEDEV tz11
the tape was ok !