Operating System - HP-UX
1753816 Members
8226 Online
108805 Solutions
New Discussion юеВ

error when doing make_tape_recovery...

 
SOLVED
Go to solution
James Ellis_1
Super Advisor

error when doing make_tape_recovery...

I ran a make_tape_recovery, and got an error msg saying cannot stat device file /dev/vg01/lvol25. No such file or directory. Check /etc/fstab for bad entry.

Well, I don't see this listed in /etc/fstab, but when I do a more /etc/fstab | grep lvol25, I see this line show up. I want to comment it out but cannot find it in the file when doing a vi. I also noticed I was able to cd /directory_name and thought I had removed it, so I removed the directory.

Why would ignite complain when its not seen in /etc/fstab? Maybe I need new glasses? :-)

Thanks.
"In the middle of difficulty lies opportunity" -Einstein
2 REPLIES 2
Sundar_7
Honored Contributor
Solution

Re: error when doing make_tape_recovery...

James, you have pretty much answered ur questions urself :-).

You dont see it listed in /etc/fstab but when you do a grep you could find the entry ?

OK, you dont have to use vi to make the changes

# sed 's|^/dev/vg01/lvol25|#/dev/vg01/lvol25|' /etc/fstab > /etc/fstab.NEW

# cp /etc/fstab /etc/fstab.OLD

# mv /etc/fstab.NEW /etc/fstab
Learn What to do ,How to do and more importantly When to do ?
Jov
Honored Contributor

Re: error when doing make_tape_recovery...

James,
Some times when you don't see all you expect when using 'vi' is due to the fact you either have the TERM environment variable wrong or the rows and columns values in stty wrong. Or even both as they're related to a certain degree.

Regards

Jov