Operating System - HP-UX
1748134 Members
3423 Online
108758 Solutions
New Discussion юеВ

Re: Unable to mount/fsck error

 
Anshumali
Esteemed Contributor

Unable to mount/fsck error

Hi Gurus,

I am unable to mount a previously mounted file-system and stuck with fsck...


# fsck /dev/vgemcnew34/lvol2
fsck: /etc/default/fs is used for determining the file system type
vxfs fsck: invalid device config entry found
fileset 999, failure mapping offset 0 in primary IAU inode
log replay in progress
bmap failure in iau inode 64 for fileset 999, offset 8192
vxfs fsck: invalid device config entry found
fileset 1 primary-ilist inode 65 has invalid number of blocks (35818)
fileset 1 primary-ilist inode 65 has invalid block map
no valid ILISTs for fileset 999
file system check failure, aborting ...

when when tried with

# fsck -F vxfs -o full -y /dev/vgemcnew34/lvol2
vxfs fsck: invalid device config entry found
fileset 999, failure mapping offset 0 in primary IAU inode
log replay in progress
bmap failure in iau inode 64 for fileset 999, offset 8192
vxfs fsck: invalid device config entry found
fileset 1 primary-ilist inode 65 has invalid number of blocks (35818)
fileset 1 primary-ilist inode 65 has invalid block map
no valid ILISTs for fileset 999
file system check failure, aborting ...

&

# fsck -F vxfs -o full,nolog -y /dev/vgemcnew34/lvol2
vxfs fsck: invalid device config entry found
fileset 1 primary-ilist inode 65 has invalid number of blocks (35818)
fileset 1 primary-ilist inode 65 has invalid block map
no valid ILISTs for fileset 999
file system check failure, aborting ...


Any idea what i can try....

Thanks,
Anshu
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
8 REPLIES 8
Pete Randall
Outstanding Contributor

Re: Unable to mount/fsck error

newfs and restore?

Pete

Pete
Robert-Jan Goossens_1
Honored Contributor

Re: Unable to mount/fsck error

Hi Anshu,

Try the raw device file.

# fsck -F vxfs -o full,nolog -y /dev/vgemcnew34/rlvol2

Regards,
Robert-Jan

Re: Unable to mount/fsck error

what version of HP-UX and what version of JFS?

uname -a
swlist | grep -i jfs
swlist -l product | grep -i jfs
fstyp -v /dev/vgemcnew34/lvol2

This issue might be able to be fixed with patches, otherwise:

a) Log a call with the response centre and get them to recover the filesystem using fsdb (they will need access to your system for this)
b) or as already mentioned newfs and recover from backup.

Either way you should review your JFS patches...

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Anshumali
Esteemed Contributor

Re: Unable to mount/fsck error

thanks all....
newfs and restore was i thought........

rest...

# uname -a
HP-UX sd128ap2 B.11.11 U 9000/800 3860776440 unlimited-user license
You have mail in /var/mail/root
# swlist | grep -i jfs
B3929CA B.11.11.03.03 HP OnLineJFS
# swlist -l product | grep -i jfs
JFS B.11.11 The Base VxFS File System
OnlineJFS B.11.11.03.03 Online features of the VxFS File System
PHKL_24026 1.0 JFS Filesystem swap corruption
PHKL_28512 1.0 Fix for POSIX_AIO in JFS3.3
PHKL_29115 1.0 JFS Direct I/O cumulative patch
# fstyp -v /dev/vgemcnew34/lvol2
vxfs
version: 4
f_bsize: 8192
f_frsize: 8192
f_blocks: 15206400
f_bfree: 0
f_bavail: 0
f_files: 1145856
f_ffree: 1745815952
f_favail: 1745815952
f_fsid: 1077084162
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 16
f_fsindex: 7
f_size: 15206400

Any ideas!!!
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!

Re: Unable to mount/fsck error

Yes - try Robet-Jan's option - the nolog option may work and if you're looking at newfs anyway, can't make things worse.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Anshumali
Esteemed Contributor

Re: Unable to mount/fsck error

Thanks Duncan/ Robert....

Unfortunately....

# fsck -F vxfs -o full,nolog -y /dev/vgemcnew34/rlvol2
vxfs fsck: OLT extent 1 has bad checksum
read of OLT copy failed
missing or invalid OLT copies, rewrite? (ynq)y
vxfs fsck: invalid device config entry found
fileset 1 primary-ilist inode 65 has invalid number of blocks (35818)
fileset 1 primary-ilist inode 65 has invalid block map
no valid ILISTs for fileset 999
file system check failure, aborting ...
You have mail in /var/mail/root

I hope i will have to do newfs soon.... though i have raised a call to HP for this....
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
Robert-Jan Goossens_1
Honored Contributor

Re: Unable to mount/fsck error

Hi Anshu,

Have a look at this patch.

http://www12.itrc.hp.com/service/patch/patchDetail.do?BC=main|patchDetail{PHCO_28796,{hpux:11.11,}}|&patchid=PHCO_33237&sel={hpux:11.11,}

Regards,
Robert-Jan
Anshumali
Esteemed Contributor

Re: Unable to mount/fsck error

newfs/restore ... nothing else worked...
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!