![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||
Solution Type Technical Instruction Sure Solution 1017680.1 : How to Fix Solaris Panics Caused by "freeing free", "ufs_putapage: bn == UFS_HOLE", or "alloccgblk: can't find blk in cyl, pos"
PreviouslyPublishedAs 228872 Applies to:OpenSolaris Operating System - Version 2008.05 and laterSolaris Operating System - Version 8.0 and later SPARC T4-4 All Platforms ***Checked for relevance on 08-Jul-2014*** Document is still relevant and appropriate, as UFS is still in use and ufs corruptions do happen. GoalFile system corruption can lead to system panics with the following types of panic strings: These panic strings indicate that the system was trying to put a fragment, inode or block onto the free list but found that it was already there. The correct response for Solaris is to stop operating with the bad data by panicking the system. NOTE: The default response of panicking the system can be disabled. See the
following document for alternative responses: Document 1009218.1 Troubleshooting the Cause of Solaris UFS File System Corruption and Preventing Future Corruption
SolutionThe fsck(1M) utility is the primary means to repair file system inconsistencies. The procedure to follow is slightly different, depending on whether the file system to repair is the root file system (containing the boot image) or a data file system. Both scenarios will be discussed.
The file system that is corrupt, causing the panic, is identified by the string: NOTE: The file system to repair may only be reported in the panic string in the system core file. It can be found by executing:
strings vmcore.# | head Look for the file system at the end of the panic string: "fs = /file-system" NOTE: The format of the device to specify is dependent on whether or not the device is actually a volume. The following are examples of different device specifications:
Example SVM # fsck /dev/md/rdsk/d0 Example VxVM # fsck /dev/vx/rdsk/rootdg/rootvol Example disk # fsck /dev/rdsk/c0t0d0s0
NOTE: X86/X64 systems have similar options for booting into single-user mode from an alternate boot device.
NOTE: If the corrupt root file system is on a mirrored metadevice using SVM, perform the fsck(1M) using the steps from the following document:
<Document 1340586.1> How to access (root) disk under Solaris Volume Manager Control from failsafe or CDROM If the corrupt root file system is a volume under VxVM, please contact Symantec for assistance with fscking the filesystem.
To discuss this information further with Oracle experts and industry peers, we encourage you to review, join or start a discussion in the My Oracle Support Community, Oracle Solaris Kernel Community.
References<NOTE:1009218.1> - Troubleshooting the Cause of Solaris UFS File System Corruption and Preventing Future Corruption<NOTE:1340586.1> - How to Access (Root) Disk under Solaris Volume Manager Control (SVM) from Failsafe or CDROM and Update the boot_archive in Solaris 10 Attachments This solution has no attachment |
||||||||||||
|