cancel
Showing results for 
Search instead for 
Did you mean: 

device file problem,

 
aamir4u
Regular Advisor

device file problem,

Hi, 

 

After reboot my filesystem(c03) not there

Wheni try mount

#mount -F vxfs /dev/ORAVG02/c03 /c03

mount: /dev/ORAVG02/c03: No such file or directory

 

When i go to under/dev/ORAVG02 dir

there is no device file ?

 

ll /dev/ORAVG02

total 0 crw-rw-rw-   1 root       sys         64 0x080000 May 26  2011 group

 

How can recover it?

 

in c03 has very important data

How can again mount it  and recover my c03 filesystem?

 

 

Thanks
aamir uddin
18 REPLIES
Dennis Handly
Acclaimed Contributor

Re: device file problem

>How can recover it?

 

Do you know how it was lost?

Do you have an ignite backup of your system?  If so, it would be easy to restore.

aamir4u
Regular Advisor

Re: device file problem

 

i dont know where is device file.

 

Is any command do that.

 

is that possible recreate device file .After create mount the /c03

Thanks
aamir uddin
aamir4u
Regular Advisor

Re: device file problem(screen short)

Hi,

 

I sent you smh screen short

 

Please see it and give me any solution

Thanks
aamir uddin
aamir4u
Regular Advisor

Re: device file problem

Hi,

 

mount -a

mount: /dev/ORAVG02/c03: No such file or directory

mount: /dev/ORAVG01/c02 is already mounted on /c02 mount: /dev/vg00/lvol8 is already mounted on /var mount: /dev/vg00/lvol7 is already mounted on /usr mount: /dev/vg00/lvol6 is already mounted on /tmp mount: /dev/vg00/lvol5 is already mounted on /opt mount: /dev/vg00/lvol4 is already mounted on /home mount: /dev/vg00/lvol1 is already mounted on /stand

 

Please see it

Thanks
aamir uddin
Torsten.
Acclaimed Contributor

Re: device file problem

You need to activate volume group ORAVG02.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
aamir4u
Regular Advisor

Re: device file problem

When i run vgdisplay

 

its shown ORAVG02

VG Name                     /dev/ORAVG02

 VG Write Access             read/write

 VG Status                   available

 Max LV                      255

Cur LV                      0

Open LV                     0

Max PV                      16

Cur PV                      2

Act PV                      2

Max PE per PV               1016

VGDA                        4 PE Size (Mbytes)            256

 Total PE                    670 Alloc

 PE                    0 Free PE                     670 Total PVG                   0 Total Spare PVs             0 Total Spare PVs in use      0 VG Version                  1.0 VG Max Size                 4064g VG Max Extents              16256

Thanks
aamir uddin
Torsten.
Acclaimed Contributor

Re: device file problem

Could you please paste this again in a better format?

Please show

# ls -l /dev/ORAVG02


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
aamir4u
Regular Advisor

Re: device file problem

there is output

 

ls -l /dev/ORAVG02

total 0 crw-rw-rw-   1 root       sys         64 0x080000 May 26  2011 group

 

and also sent you my server lvmtab file attached mail

Please see it

Thanks
aamir uddin
Torsten.
Acclaimed Contributor

Re: device file problem

This is strange. lvmtab is showing 3 disks, vgdisplay only 2.

There is no special file for any LVOL.

Please post

# vgdisplay -v /dev/ORAVG02

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
aamir4u
Regular Advisor

Re: device file problem

 

Please see it attached file.

 

thanks

Thanks
aamir uddin
Torsten.
Acclaimed Contributor

Re: device file problem

According to this the VG is just empty.

Any recent changes in the SAN?
Any other recent changes made?

Consider to restore from backup.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
aamir4u
Regular Advisor

Re: device file problem

 

Please see it my ioscan command>attached mail

 

some disk are virtual which are created on san storage server.

 

 

Thanks

 

 

 

Thanks
aamir uddin
aamir4u
Regular Advisor

Re: device file problem

 

As per talk to dba and users no recently change on san and servers

 

i saw the san log messages

no critical issue every virtual disks are o.k condition.

 

so,

what can we do

Please tell us easiar way.

Thanks
aamir uddin
Patrick Wallek
Honored Contributor

Re: device file problem

If you know what disks were part of this VG you could try reimporting them.

 

The only problem is that with a regular 'vgimport' you will get default LV names (like lvol1, lvol2, etc.).  But if there was only one LV in this VG that shouldn't be a problem.

 

For example, if you want to import ORAVG02 and it had disks c1t2d3 and c1t2d4 then you would do:

 

vgimport /dev/ORAVG02 /dev/dsk/c1t2d3 /dev/dsk/c1t2d4

 

 

 

 

pradeep m
Respected Contributor

Re: device file problem

Hi,

 

From the existing volume group configuration we can see that there is no logical volume configured for this vg "ORAVG02". 

 

Extract from  Vgdisplay output: 

 

# vgdisplay -v /dev/ORAVG02
VG Name /dev/ORAVG02
VG Write Access read/write
VG Status available
Max LV 255
Cur LV0 --> No Lvol configured
Open LV 0 
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 1016
VGDA 4
PE Size (Mbytes) 256
Total PE 670
Alloc PE 0   --> This means no PE's are assigned 
Free PE 670  -

.................

 

Possible cause: The missing lvol might be deleted by user. 

 

If you have this volume group backup restore from it.

 

 

Regards,
Pradeep

I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details


aamir4u
Regular Advisor

Re: device file problem

Hi,

Please cheak the my lvmconf file of ORAVG02

than please tell us import is possible to backup my logical volume /c03

 

if yes Please tell us how can we do that.

vgimport /dev/ORAVG02 /dev/rdisk/disk37 /dev/rdsk/c2t1d2 /dev/rdsk/c4/t1/d2  -------(this is correct command)

 

LVMCONF file

uatdata1 /etc/lvmconf#strings ORAVG02.conf

CONFIG01

/dev/ORAVG02

 /dev/rdisk/disk37

 /dev/rdsk/c2t1d2

 /dev/rdsk/c4t1d2

 LVMREC01:

 LVMREC01:

LVMREC01:

VGDA0001 VGSA0001N;

 uatdata1 /etc/lvmconf#strings ORAVG02.conf.old

CONFIG01

 /dev/ORAVG02

/dev/rdisk/disk37

/dev/rdsk/c2t1d2

/dev/rdsk/c4t1d2

 LVMREC01:

LVMREC01:

 LVMREC01:

VGDA0001 VGSA0001N;

 uatdata1 /etc/lvmconf#

Thanks
aamir uddin
aamir4u
Regular Advisor

Re: device file problem

Hi,

Is this is possible my filesystem /c03 is comeback with data.(I have no vgbackup and ignite)

 

if this is possible suggest me otherwise thanks

Thanks for future and past for always help

 

Thanks

 

 

Thanks
aamir uddin
Torsten.
Acclaimed Contributor

Re: device file problem

You should review syslog.log or OLDsyslog.log for recent changes, since LVM related changed are recorded there. If vgimport doesn't work, your data is most likely gone (based on human error = deleting the LVOL).

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!