linux
Fixing ext3 read-only file system
Submitted by robot_terror on Fri, 07/04/2008 - 09:22.When an ext3 file system reports being "read-only" quick action needs to be taken.
- Power off the server ('init 0') to avoid data loss.
- Boot into a rescue environment
- Do not allow the rescue to mount the drives. For Red Hat, choose the 'Skip' option when prompted to find your RHEL installation.
- Once in the rescue shell, locate the / file system (ex: /dev/sda5)
- Remove the existing journal:
sh# tune2fs -O ^has_journal /dev/hda5If this fails because of the needs_recovery flag preform the following <pre> sh# debugfs -w /dev/sda5
Remove a specific rpm version: Fixing "error: ... specifies multiple packages"
Submitted by robot_terror on Wed, 12/12/2007 - 04:04.Got this problem?:
# rpm -e spamassassin --test error: "spamassassin" specifies multiple packages
Need to specify a specific package version to remove?
# rpm -e --allmatches spamassassin-2.63
And the other package you intend to keep is preserved.
