Operating System - HP-UX
1838654 Members
3238 Online
110128 Solutions
New Discussion

tar: cannot open /dev/rmt/om

 
madou
Occasional Contributor

tar: cannot open /dev/rmt/om

hi guys,
I am running through this error message after the tape is been detected on Hp-Unix server( rx2620) when ever i try the command
tar cvf /dev/rmt/om
it gives me this error.any help please

Regards
Mamadou
5 REPLIES 5
melvyn burnard
Honored Contributor

Re: tar: cannot open /dev/rmt/om

posted in completely wrong forum, moved to more appropriate forum
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
melvyn burnard
Honored Contributor

Re: tar: cannot open /dev/rmt/om

well /dev/rmt/om is not a normal device to use, it should be /dev/rmt/0m (note the numeric zero and not the alpha o)
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Reshma Malusare
Trusted Contributor

Re: tar: cannot open /dev/rmt/om

Hi soobe,
You are not using exact syntax.

tar --> achives the tape file.Commonly we used tar command for backup.we can also use fbackup.

tar -cvf /dev/rmt/0m /backup

c --> create
v --> echoes filenames to screen
f --> designates file where achive will be written

/dev/rmt/0m --> Backup media [Tape here]
/backup --> Target whose backup is required.
Peter Godron
Honored Contributor

Re: tar: cannot open /dev/rmt/om

Hi,
as melvyn states: /dev/rmt/0m

You should also specify what you want backing up.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=730843

You can check your tape device files with:
ioscan -fnC tape

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.


Reshma Malusare
Trusted Contributor

Re: tar: cannot open /dev/rmt/om

Hi soobe,
Please assign points if your query is solved.