Operating System - HP-UX
1834512 Members
4402 Online
110068 Solutions
New Discussion

vxfs fsck: OLT extent 0 has bad magic

 
tigerjaz
Occasional Advisor

vxfs fsck: OLT extent 0 has bad magic

log
########### Node "hostname": Starting package at Mon Jun 3 19:33:43 EAT 2002 ###########
Jun 3 19:33:43 - "hostname": Activating volume group vg01 with exclusive option.
Activated volume group in Exclusive Mode.
Volume group "vg01" has been successfully changed.
unknown_fstyp (no matches)
Jun 3 19:33:44 - Node "kmycgs1": Checking filesystems:
/dev/vg01/sybase
fsck: /etc/default/fs is used for determining the file system type
vxfs fsck: OLT extent 0 has bad magic
read of primary OLT failed
vxfs fsck: OLT extent 1 has bad magic
read of OLT copy failed
vxfs fsck: no valid OLT, cannot continue
file system check failure, aborting ...
ERROR: Function check_and_mount
ERROR: Failed to fsck one of the logical volumes.
Jun 3 19:33:44 - Node "kmycgs1": Deactivating volume group vg01
Deactivated volume group in Exclusive Mode.
Volume group "vg01" has been successfully changed


what's wrong with my file system?
laomao
6 REPLIES 6
Frederic Sevestre
Honored Contributor

Re: vxfs fsck: OLT extent 0 has bad magic

Hi,

Have a look there :

http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x2cd5cf38d6bdd5118ff10090279cd0f9,00.html

Fr??d??ric
Crime doesn't pay...does that mean that my job is a crime ?
harry d brown jr
Honored Contributor

Re: vxfs fsck: OLT extent 0 has bad magic


Isn't /dev/vg01/sybase a "raw" filesystem?

live free or die
harry
Live Free or Die
Martin Burnett_2
Trusted Contributor

Re: vxfs fsck: OLT extent 0 has bad magic

Hello tigerjaz,

Normally this indicates major file system corruption. But do a reboot first and check patches to be sure. One of the way's this can happen is by dumping raw data (backup, database initialization, etc.) onto a filesystem (rlvol#).

If reboot and patches are not the issue, remove the logical volume and rebuild it, newfs the filesystem and restore from backup.

Thanks for participating in the forums,

Martin
Chaos reigns within. Reflect, repent, and reboot. Order shall return.

tigerjaz
Occasional Advisor

Re: vxfs fsck: OLT extent 0 has bad magic

to harry:
yes,/dev/vg01/sybase is a "raw" filesystem?
what can i do?
when it's not "raw" filesystem,anything difference?
laomao
MANOJ SRIVASTAVA
Honored Contributor

Re: vxfs fsck: OLT extent 0 has bad magic

Hi Tigerjaz


Since this is a raw filesystem you should not even mount it , all you have to do is to excluse from the package , even though you are activating the volume group and mounting the other filesystems in that volume group .


Manoj Srivastava
PIYUSH D. PATEL
Honored Contributor

Re: vxfs fsck: OLT extent 0 has bad magic

Hi,

you can check the disks by using

# dd if=/dev/rdsk/c1t2d0 of=/dev/null bs=1024k

If the i/p and o/p records match then your harddisk is OK and then you can pvcreate the disk again.

If not then you need to replace the disk since it may have some bad sectors.

Piyush