Operating System - HP-UX
1838598 Members
4060 Online
110128 Solutions
New Discussion

Re: fsck: No such device or address

 
SOLVED
Go to solution
Nancy Calderón_2
Occasional Advisor

fsck: No such device or address

Dear ITRC Team,
I am trying to mount a fs but after a power failure where my server went down I can not manage the fs.
I have tried :
#fsck -F vxfs -o full /dev/vg01/lvol2
fsck: /etc/default/fs is used for determining the file system type
UX:vxfs fsck: ERROR: V-3-20003: Cannot open /dev/vg01/lvol2: No such device or a
ddress

If I run any command refering tat File system the answer is te same:
fstyp -v /dev/vg01/lvol2
/dev/vg01/lvol2: No such device or addres

I also did:
#newfs -F vxfs /dev/vg01/rlvol2
UX:vxfs newfs: ERROR: V-3-20113: Cannot open /dev/vg01/rlvol2: No such device or
address

The vg01 is available, and the files under /dev/vg01 are present as well

#/dev/vg01 > ll
total 0
crw-rw-rw- 1 root sys 64 0x010000 Sep 23 13:44 group
brw-r----- 1 root sys 64 0x010002 Sep 23 13:51 lvol2
crw-r----- 1 root sys 64 0x010002 Sep 23 13:51 rlvol2

I exported and imported the disk , I also started first the VA7110 and then the servers, and nothing works =(

Could anybody help me ?

Thanks in advance ,
Nancy
13 REPLIES 13
Marvin Strong
Honored Contributor

Re: fsck: No such device or address

is vg01 active?

vgchange -a y vg01.

then try your fsck
Torsten.
Acclaimed Contributor

Re: fsck: No such device or address

Hi Nancy,

since the vg is on a VA, you should check the VA first to make sure it is working.

Try

armdsp -a

and look for the system status and warnings.

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!   
baiju_3
Esteemed Contributor

Re: fsck: No such device or address

Hi,

Check that host can see the VA .

ioscan -fnC disk


should list all VA disk. If host can see the disks then do vgchange -a y /dev/vg00.

If vgchange is succesful you can do an fsck on the lvol and mount it.


Thanks ,
BL.
Good things Just Got better (Plz,not stolen from advertisement -:) )
Torsten.
Acclaimed Contributor

Re: fsck: No such device or address

the armdsp command should give you something like

server:/#armdsp -v array_alias

Vendor ID:______________________________HP
Product ID:_____________________________A61xxA
Array World Wide Name:__________________0000000000000
Array Serial Number:____________________000000
Alias:__________________________________
------------------------------------------------------------

ARRAY INFORMATION

Array Status:_________________________Ready


If the Array Status is NOT ready, we have found the area of problem.


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!   
Helen French
Honored Contributor

Re: fsck: No such device or address

I guess the VG is not active. Activate the VG first with vgchange command:

# vgchange -a y /dev/vg01
Life is a promise, fulfill it!
Devender Khatana
Honored Contributor

Re: fsck: No such device or address

Hi,

It is quite sure that the vg01 is not active here. This has happened either because the storage was not up when system was booting and tried to activate the vg or there is some problem in storage array. You can try to access the activate the VG and see what is the error encountered.

#vgchange -a y /dev/vg01

HTH,
Devender

Impossible itself mentions "I m possible"
Nancy Calderón_2
Occasional Advisor

Re: fsck: No such device or address

Hello team,

The vg01 is already active, it looks available.
I already create another lvols in the same disk and mount them as well and te new fs work fine but not the one it has the information.

The VA is running well, I can see all the LUN's I have there as CLAIMED.

Any idea?
Devender Khatana
Honored Contributor

Re: fsck: No such device or address

Hi,

If the vg is active what is the output of

#vgdisplay -v /dev/vg01


Is lvol2 a LV with no PE allocated in the output?

HTH,
Devender
Impossible itself mentions "I m possible"
Nancy Calderón_2
Occasional Advisor

Re: fsck: No such device or address

Hi Devender,

Te lvol2 has PE allocated as you can see:

dvd1:/ > vgdisplay -v vg01
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 2
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 2499
VGDA 2
PE Size (Mbytes) 4
Total PE 2499
Alloc PE 1878
Free PE 621
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg01/lvol2
LV Status unavailable
LV Size (Mbytes) 7500
Current LE 1875
Allocated PE 1875
Used PV 1

LV Name /dev/vg01/lvol1
LV Status available/syncd
LV Size (Mbytes) 12
Current LE 3
Allocated PE 3
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c6t0d2
PV Status available
Total PE 2499
Free PE 621
Autoswitch On
Devender Khatana
Honored Contributor

Re: fsck: No such device or address

Hi,

The status of the LVOL is shown as unavailable in the output. It should not happen by itself unless it was changed using lvchange. Try to change it manually.

#lvchange -a y /dev/vg01/lvol2

And then again see vgdisplay output as seen earlier to confirm that it has become available. If it is available then mount it.

HTH,
Devender
Impossible itself mentions "I m possible"
Nancy Calderón_2
Occasional Advisor

Re: fsck: No such device or address

Hi,

Your recomendation worked quite good, I finally could activate it succesfully and run a fsck as well.

lvol2 is finally mounted and my DB is already running.

Devender, could you tell me why the lvol was unavailable? I have not seen it before.

Thanks in advance for your explanation,

Nancy C.
Devender Khatana
Honored Contributor
Solution

Re: fsck: No such device or address

Hi,

The only reason for this sort of issues will be unavailability of the disk on which it exists. Here as the allocated space is from a array, there should not be much problem.

The only reason seems for this is that array would have taken some more time to become available to OS due to power failure. And while OS tried to mount the file system the LUN from storage was not available possibally due to internal recovery going on the storage.

HTH,
Devender
Impossible itself mentions "I m possible"
Nancy Calderón_2
Occasional Advisor

Re: fsck: No such device or address

OK Devender, thanks again for your useful help.