- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vxfs fsck: OLT extent 0 has bad magic
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 01:46 AM
03-15-2004 01:46 AM
vxfs fsck: OLT extent 0 has bad magic
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 ...
anyway other than a restore to fix this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 01:59 AM
03-15-2004 01:59 AM
Re: vxfs fsck: OLT extent 0 has bad magic
Try the script i'm attaching. $1 is the r device the filesystem is sitting on.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 02:02 AM
03-15-2004 02:02 AM
Re: vxfs fsck: OLT extent 0 has bad magic
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 04:31 AM
03-15-2004 04:31 AM
Re: vxfs fsck: OLT extent 0 has bad magic
The error is usually an indication that the beginning of the filesystem has been overwritten or corrupted. When a file system is mounted, JFS reads the Superblock first, then reads the Object Location Table (OLT).
If a filesystem is corrupted while it is mounted, it can often go undetected since many key structures are already in memory. When the filesystem is unmounted, the Superblock is flushed to disk, but the OLT is not (since it has static information in it). This explains why the Superblock is OK but the OLT is bad.
You can use fsdb to examine the contents of
the OLT if you desire. Below is an example:
# fsdb -F vxfs /dev/vgXX/lvolyy
> 8192 B; p S | grep olt
oltext[0] 33 oltext[1] 1282 oltsize 1
Now use the oltext[] to display the OLT:
> 33 b; p oltext
OLT at 0x00000021.0000
OLT head entry:
olt_magic 0xa504fcf5 olt_size 56 ...
The magic number should always be 0xa504fcf5. Try on a good FS and compare the OLTs.
Newfs and restore the data is the best recovery method.
Best Regards,
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 05:17 AM
03-15-2004 05:17 AM
Re: vxfs fsck: OLT extent 0 has bad magic
thanks for the additional info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 05:51 AM
03-15-2004 05:51 AM
Re: vxfs fsck: OLT extent 0 has bad magic
-Hazem