System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Device file not found for /dev/vx/dsk/rootdg/varvol

Santhosh.c
Advisor

Device file not found for /dev/vx/dsk/rootdg/varvol

Hi,
I am facing some issue on ignite backup.
Possible cause I am getting is given below.
#/opt/ignite/lbin/list_expander
ERROR: Cannot stat device file: /dev/vx/dsk/rootdg/varvol: No such file or directory (errno = 2). Check /etc/fstab for a bad
entry.

this is the /etc/fstab entry for /var
# grep /var /etc/fstab
/dev/vx/dsk/rootdg/varvol /var vxfs delaylog 0 2


I have checked the bdf of /var
# bdf /var
Filesystem kbytes used avail %used Mounted on
/dev/vx/dsk/rootdg/varvol
8388608 6403800 1977528 76% /var

But I could not see the device in the path.

# ll /dev/vx/dsk/rootdg/varvol
/dev/vx/dsk/rootdg/varvol not found

# ll /dev/vx/dsk/rootdg/
total 0
brw------- 1 root root 1 0x7c8ebb Nov 2 2006 homevol
brw------- 1 root root 1 0x7c8ebc Nov 2 2006 optvol
brw------- 1 root root 1 0x7c8ec0 Dec 8 2006 perfvol
brw------- 1 root root 1 0x000000 Nov 2 2006 rootvol
brw------- 1 root root 1 0x7c8eb8 Nov 2 2006 standvol
brw------- 1 root root 1 0x000001 Nov 2 2006 swapvol
brw------- 1 root root 1 0x7c8eb9 Dec 8 2006 tivvol
brw------- 1 root root 1 0x7c8ebd Nov 2 2006 tmpvol
brw------- 1 root root 1 0x7c8ec1 Feb 9 2007 toolvol
brw------- 1 root root 1 0x7c8ebe Nov 2 2006 usrvol

Please help me how to resolve this issue.
Thanks & Regards,
Santhosh

santhosh
4 REPLIES
Robert-Jan Goossens
Honored Contributor

Re: Device file not found for /dev/vx/dsk/rootdg/varvol

HI Santhosh,

Have a look at both links.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1219488

http://seer.entsupport.symantec.com/docs/318359.htm

There should be backup of the VXVM diskgroup configuration in the /etc/vx/cbr/bk directory.

cd to the rootdg directory, grep the file as mentioned in Robert's case for '^vol ', 'node_bdev=', and 'node_cdev'.

Recreate all device files with mknod command and the major/minor number you have found in your grep command.

Regards,
Robert-Jan
Kapil Jha
Honored Contributor

Re: Device file not found for /dev/vx/dsk/rootdg/varvol

Can tou check it exist in rdsk dev/vx/rdsk/rootdg/

you will have to create the block file and raw file is that too does not exist.

Now question arises...who has deleted it.
any clue you have for this.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Jupinder Bedi
Respected Contributor

Re: Device file not found for /dev/vx/dsk/rootdg/varvol

Try following two commnads and let me know the status

#vxdisk scandisks

#vxdisk scandisks new
All things excellent are as difficult as they are rare
Santhosh.c
Advisor

Re: Device file not found for /dev/vx/dsk/rootdg/varvol

Hi Jupinder,
Please find the detail.

# ll /dev/vx/dsk/rootdg/varvol
/dev/vx/dsk/rootdg/varvol not found
#
#
# vxdisk scandisks
# vxdisk scandisks new
# ll /dev/vx/dsk/rootdg/varvol
/dev/vx/dsk/rootdg/varvol not found
#
Thanks,
Santhosh
santhosh