Visit Our UNIX and Linux User Community


How can I configure a device nrst0 ?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How can I configure a device nrst0 ?
# 1  
Old 09-03-2001
Question How can I configure a device nrst0 ?

I dont know how can i configure a device tape nrst0

when i try to do a

tar -cvf /dev/nrst0 text1.txt

exist a problem because the tape is not configure then i want to configure but i dont now how...

thanks

# 2  
Old 09-04-2001
Answer

This is the answer:

Example of writing separate archieves to tape:

mt -f /dev/nst0 rew
tar cf /dev/nst0 dir1/*.img
tar cf /dev/nst0 dir2/*.img
tar cf /dev/nst0 dir3/*.img
tar cf /dev/nst0 dir4/*.img

Example of retrieving separate archieves from tape:

cd mynewdir>
mt -f /dev/nst0 rew
tar xf /dev/nst0
mt -f /dev/nst0 fsf 1
tar xf /dev/nst0
mt -f /dev/nst0 fsf 1
tar xf /dev/nst0
mt -f /dev/nst0 fsf 1
tar xf /dev/nst0
mt -f /dev/nst0 fsf 1
tar xf /dev/nst0
mt -f /dev/nst0 fsf 1
tar xf /dev/nst0
mt -f /dev/nst0 fsf 1
tar xf /dev/nst0
mt -f /dev/st0 rewind

Thanks for your help, i'm really apreciate
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #317
Difficulty: Easy
Ada Lovejoy is often considered the first computer programmer.
True or False?

4 More Discussions You Might Find Interesting

1. HP-UX

Failed to open tape device /dev/rmt/0mn:Device busy (errno = 16)

Hi, Unable to make tape backup, please help. /opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00 * Creating local directories for configuration files and archive. ======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery. (Mon... (4 Replies)
Discussion started by: anuragr
4 Replies

2. Red Hat

Unable To Activate Ethernet Network Device in RHEL 5.5 - e100 device eth0 does not seem to be presen

Hi All, Could anyone please help to resolve the below problem. I installed RHEL5.5 in my desktop.But when i try to activate the ethernet connection then it gives me the error. I spent 2 days for the above and go through with several suggestion found by googling. But no luck. ... (0 Replies)
Discussion started by: Tanmoy
0 Replies

3. Solaris

Migrating non DID device in a metaset to DID device

One of my team colleague mistakenly added non DID device to a metaset in a cluster node and inturn it is again added to concat . In that metaset all devices are DID devices except only one . is it possible to convert this non DID device in metaset to DID device without recreating the whole... (0 Replies)
Discussion started by: sekarsamy
0 Replies

4. AIX

How to find all device on p570 when need do device firmware upgrade?

I need upgrade firmware for the device of p570, when I go to IBM FIX download website, there are a lot of device of p570 listed. How can I know what device I have on my p570? (4 Replies)
Discussion started by: rainbow_bean
4 Replies

Featured Tech Videos