cancel
Showing results for 
Search instead for 
Did you mean: 

vdump error

Emanuele De Angelis
Frequent Advisor

vdump error

root@machines# vdump -0 -f /dev/tape/tape0 -C -v /

vdump: can't open dev ; [13] Permission denied

Why?
Thanks
8 REPLIES
Michael Schulte zur Sur
Honored Contributor

Re: vdump error

Hi,

is the tape write protected?

Michael
Emanuele De Angelis
Frequent Advisor

Re: vdump error

I have checked the tape and is OK.
Michael Schulte zur Sur
Honored Contributor

Re: vdump error

Hi,

can you post
ls -l /dev/tape/tape0
and
mt status
?

Michael
Mohamed K Ahmed
Trusted Contributor

Re: vdump error

can you try /sbin/vdump
Check also the permissions of the file vdump in the directory /sbin

Mohamed
Orrin
Valued Contributor

Re: vdump error

Hi,

Check the permissions of /dev/tape/tape0
and /dev/ntape/tape0

if they are anything other than

crw-rw-rw root system ,

you need to change them.

Additionally this may seem pedantic but

the -C and the -v need to come before -f

also if you are backing up root, -C is not a good idea, but if you must then you will be better off using tape0_d1 in the command.

vdump -0 -C -v -f /dev/tape/tape0_d1 /

Hope this helps.

Regards,
Orrin.
Michael Schulte zur Sur
Honored Contributor

Re: vdump error

Hi,

please post mt status

thanks

Michael
Ralf Puchner
Honored Contributor

Re: vdump error

it sounds the permission of the vdump command is wrong.

Please check:

rwxr-x-r-x bin bin /sbin/vdump

also check if the correct "vdump" command was run (which vdump). If permission matches, check user "bin" and group "bin" within /etc/passwd and /etc/group
Help() { FirstReadManual(urgently); Go_to_it;; }
Arockiasamy_007
Occasional Visitor

Re: vdump error

Hi,

 

  Problem may come with the tape also.

 

  Use a fresh tape and check.

 

Regards,

Arockiasamy K