Operating System - HP-UX
1848586 Members
3989 Online
104033 Solutions
New Discussion

Re: File systems not mounting

 
SOLVED
Go to solution
ramesh_6
Frequent Advisor

File systems not mounting

Hi I booted my system in single user mode and tried to mount all the file systems and i when i issue the mountall command i get the following output.


#mountall
mountall: /dev/vg03/lvol3 has to be fsck'd
mountall: diagnotics from fsck
vxfs fsck: sanity check failed: Cannot open /dev/vg03/lvol3: No such device or address
mountall: cannot fsck /dev/vg03/lvol3
mountall: diagnotics from fsck
cannnot open devise /dev/vg03/lvol3
file system check failure, aborting...
mountall: /dev/vg03/lvol3 faild in fsck
mountall: /dev/vg03/lvol3/lvol3 cannot be mounted
mountall: /dev/vg03/lvol2 has to be fsck'd
mountall: diagnostics from fsck
vxfs fsck: sanity check faild: Cannot open /dev/vg03/lvol2/: No such device or address
mountall: cannot fsck /dev/vg03/lvol2
mountall: diagnotics from fsck
cannot open device /dev/vg03/lvol2
file system check failure, aborting...
mountall: /dev/vg03/lvol2/ failed in fsck
mountall: /dev/vg03/lvol2/ cannot be mounted
mountall: /dev/vg02/lvol1/ has to be fsck'd
mountall: diagnotics from fsck
vxfs fsck: sanity check faild: Cannot open /dev/vg03/lvol1/: No such device or address
mountall: cannot fsck /dev/vg03/lvol1
mountall: diagnotics from fsck
cannot open device /dev/vg03/lvol1
file system check failure, aborting...
mountall: /dev/vg03/lvol1/ failed in fsck
mountall: /dev/vg03/lvol1/ cannot be mounted
mountall: /dev/vg02/lvol3/ has to be fsck'd
mountall: diagnotics from fsck
vxfs fsck: sanity check faild: Cannot open /dev/vg02/lvol3/: No such device or address
mountall: cannot fsck /dev/vg02/lvol3
mountall: diagnotics from fsck
cannot open device /dev/vg02/lvol3
file system check failure, aborting...
mountall: /dev/vg02/lvol3/ failed in fsck
mountall: /dev/vg02/lvol3/ cannot be mounted
mountall: /dev/vg02/lvol2/ has to be fsck'd
mountall: diagnotics from fsck
vxfs fsck: sanity check faild: Cannot open /dev/vg02/lvol2/: No such device or address
mountall: cannot fsck /dev/vg02/lvol2
mountall: diagnotics from fsck
cannot open device /dev/vg02/lvol2
file system check failure, aborting...
mountall: /dev/vg02/lvol2/ failed in fsck
mountall: /dev/vg02/lvol2/ cannot be mounted
mountall: /dev/vg02/lvol1/ has to be fsck'd
mountall: diagnotics from fsck
vxfs fsck: sanity check faild: Cannot open /dev/vg02/lvol1/: No such device or address
mountall: cannot fsck /dev/vg02/lvol1
mountall: diagnotics from fsck
cannot open device /dev/vg02/lvol1
file system check failure, aborting...
mountall: /dev/vg02/lvol1/ failed in fsck
mountall: /dev/vg02/lvol1/ cannot be mounted
mountall: /dev/vg01/lvol1/ has to be fsck'd
mountall: diagnotics from fsck
vxfs fsck: sanity check faild: Cannot open /dev/vg02/lvol1/: No such device or address
mountall: cannot fsck /dev/vg02/lvol1
mountall: diagnotics from fsck
cannot open device /dev/vg02/lvol1
file system check failure, aborting...
mountall: /dev/vg02/lvol1/ failed in fsck
mountall: /dev/vg02/lvol1/ cannot be mounted
mountall: /dev/vg01/lvol1/ has to be fsck'd
mountall: diagnotics from fsck
vxfs fsck: sanity check faild: Cannot open /dev/vg02/lvol1/: No such device or address
mountall: cannot fsck /dev/vg02/lvol1
mountall: diagnotics from fsck
cannot open device /dev/vg02/lvol1
file system check failure, aborting...
mountall: /dev/vg02/lvol1/ failed in fsck
mountall: /dev/vg02/lvol1/ cannot be mounted
mountall: /dev/vg01/lvol1/ has to be fsck'd
mountall: diagnotics from fsck
vxfs fsck: sanity check faild: Cannot open /dev/vg01/lvol1/: No such device or address
mountall: cannot fsck /dev/vg01/lvol1
mountall: diagnotics from fsck
cannot open device /dev/vg01/lvol1
file system check failure, aborting...
mountall: /dev/vg01/lvol1/ failed in fsck
mountall: /dev/vg01/lvol1/ cannot be mounted
():


All your help is highly appreciated.

Regds
Ramesh
6 REPLIES 6
Helen French
Honored Contributor

Re: File systems not mounting

Hi Ramesh,

It look like there are some problems with your file systems. Did you shutdown the system properly ?

Now, you can do 'fsck' on all these filesystems inorder to get rid of these errors:

# fsck

Once fscked, then activate each VG (because you are in single user mode) and give mount -a command. That may solve your problem.

HTH,
Shiju
Life is a promise, fulfill it!
Jeff Schussele
Honored Contributor

Re: File systems not mounting

Hi Ramesh,

Do the vg02 & vg03 dirs exist under /dev?
Do they contain the group & lvol files?

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Patrick Wallek
Honored Contributor
Solution

Re: File systems not mounting

Did you activate the volume groups before you tried the 'mountall'?

Try this:

# vgchange -a y vg00
# vgchange -a y vg01
# vgchange -a y vg02
# vgchange -a y vg03
# mountall

Now what happens?
MANOJ SRIVASTAVA
Honored Contributor

Re: File systems not mounting

Ramesh

It looks as if none of the volume groups are activated except may be vg00 , was there are ny error messages in teh startup , do a fsck on /dev/vg00/rlvol* and mount all the partions in vg00 first . Then manually try to doa vgdisplay on each volume groups to get moer inforamtion . Most like it is either to do with the disks detection external ones , or the env of root ( default shell of root should not be ksh ) is not proper as it is not bringing up the system properly.


Manoj Srivastava
Sandip Ghosh
Honored Contributor

Re: File systems not mounting

You have to run fsck for all the filesystem.
#fsck
After that run
#vgchange -a y
#mount -a

Sandip
Good Luck!!!
pap
Respected Contributor

Re: File systems not mounting

Hi Ramesh you have to do following.

#fsck -y
#vgchange -a y /dev/vg01
#vgchange -a y /dev/vg02

"
"

and so on for all vgs.

Then

#mount -a

I think you are then fine.

-pap
"Winners don't do different things , they do things differently"