01-29-2013
I'm no AIX expert but are you running fsck with the file system mounted?
If so, it won't fix the super block.
Last edited by hicksd8; 01-29-2013 at 06:59 AM..
Reason: I'm no AIX expert but are you running fsck wrth the file system mounted? If so, it won't fix the super block.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am creating a small bash file that will take one argument and compile it:
#!/bin/bash
OUT=${$1%.cpp} # C++ source files always end in .cpp
g++ -Wall $1 -o $OUT
chmod 777 $OUT The error message says 'bad substitution', namely where OUT is defined. How to fix this? (1 Reply)
Discussion started by: figaro
1 Replies
2. AIX
Dear All
Last day in Aix 5.2 server by executing
# df –g
I found following:
Filesystem GB blocks Free %Used Iused %Iused Mounted on
.
.
/dev/fslv00 58.00 136.70 -135% 212103 1% /sprod
After shutting down by following command
# shutdown –h
And when... (1 Reply)
Discussion started by: xa52000
1 Replies
3. Solaris
I need to corrupt a superblock of a mounted device in a soalris m/c and check recovery from an alternate superblock. How can this be done? (2 Replies)
Discussion started by: sujathan
2 Replies
4. UNIX for Dummies Questions & Answers
Hi
When i try to ftp download a file from a Solaris 10 server, it returns the error "is marked unretrievable"
how can i get around this to download the file? (2 Replies)
Discussion started by: arielgoldberg
2 Replies
5. Red Hat
can anybody help me to recovermy superblock , the recent power crash has done some stuff on my linux redhat 9 box .
when i startup the machine iam getting the following error:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it... (2 Replies)
Discussion started by: ppass
2 Replies
6. SuSE
Hello,
After a replacement of the motherboard of my server, all disks belonging to a raid6 are now marked as spare.
Is there any way to mark those disks as active and restore the raid6?
$ cat /proc/mdstat
Personalities :
md1 : inactive sda1(S) sdk1(S) sdj1(S) sdi1(S) sdh1(S)... (0 Replies)
Discussion started by: xavix
0 Replies
7. Shell Programming and Scripting
Hi !
I try to highlight data. therefor i want du emphasize a rectangle area in the background by filledcurves inbetween to limits.
#Sektor Inden --> Anfang <--> Ende
SIa(x)=212
SIe(x)=252
SHa(x)=64
SHe(x)=122
plot 'PATH/mete.txt' using 1:3 t 'WR' w l lt 3 lw 1 lc rgbcolor "#0000ff", \
... (1 Reply)
Discussion started by: IMPe
1 Replies
8. Shell Programming and Scripting
I have a list of multiple versions of software. The list is formated as follows:
NAME VERSION
I simply need to pull out the highest version of each software, for example:
Original File
a v1.0
a v1.1
a v1.2
b v2.1
b v2.2
b v2.21
b v3.0
Output
a v1.2
b v3.0 (13 Replies)
Discussion started by: Finja
13 Replies
9. Web Development
140312 13:43:54 /usr/libexec/mysqld: Table './***/phpbb_posts' is marked as crashed and should be repaired
Its mysqld.log in var/log
alot of messages, but before around hour i tried to "repaid table" from within phpmyadmin, but appears it has no effect.. why? How to fix? (1 Reply)
Discussion started by: postcd
1 Replies
10. What is on Your Mind?
Hi All,
How worried is everyone about the Dirty Cow Linux exploit? Has anybody experienced attacks yet?
From the research I've done it seems that the exploit is "reliable" (that is it works nearly every time on vulverable systems) which is not good news.
We all believe that Unix/Linux... (3 Replies)
Discussion started by: hicksd8
3 Replies
LEARN ABOUT PHP
fsck.minix
FSCK.MINIX(8) System Administration FSCK.MINIX(8)
NAME
fsck.minix - check consistency of Minix filesystem
SYNOPSIS
fsck.minix [options] device
DESCRIPTION
fsck.minix performs a consistency check for the Linux MINIX filesystem.
The program assumes the filesystem is quiescent. fsck.minix should not be used on a mounted device unless you can be sure nobody is writ-
ing to it. Remember that the kernel can write to device when it searches for files.
The device name will usually have the following form:
/dev/hda[1-63] IDE disk 1
/dev/hdb[1-63] IDE disk 2
/dev/sda[1-15] SCSI disk 1
/dev/sdb[1-15] SCSI disk 2
If the filesystem was changed, i.e., repaired, then fsck.minix will print "FILE SYSTEM HAS CHANGED" and will sync(2) three times before
exiting. There is no need to reboot after check.
WARNING
fsck.minix should not be used on a mounted filesystem. Using fsck.minix on a mounted filesystem is very dangerous, due to the possibility
that deleted files are still in use, and can seriously damage a perfectly good filesystem! If you absolutely have to run fsck.minix on a
mounted filesystem, such as the root filesystem, make sure nothing is writing to the disk, and that no files are "zombies" waiting for
deletion.
OPTIONS
-l, --list
List all filenames.
-r, --repair
Perform interactive repairs.
-a, --auto
Perform automatic repairs. This option implies --repair and serves to answer all of the questions asked with the default. Note
that this can be extremely dangerous in the case of extensive filesystem damage.
-v, --verbose
Be verbose.
-s, --super
Output super-block information.
-m, --uncleared
Activate MINIX-like "mode not cleared" warnings.
-f, --force
Force a filesystem check even if the filesystem was marked as valid. Marking is done by the kernel when the filesystem is
unmounted.
-V, --version
Display version information and exit.
-h, --help
Display help text and exit.
DIAGNOSTICS
There are numerous diagnostic messages. The ones mentioned here are the most commonly seen in normal usage.
If the device does not exist, fsck.minix will print "unable to read super block". If the device exists, but is not a MINIX filesystem,
fsck.minix will print "bad magic number in super-block".
EXIT CODES
The exit code returned by fsck.minix is the sum of the following:
0 No errors
3 Filesystem errors corrected, system should be rebooted if filesystem was mounted
4 Filesystem errors left uncorrected
7 Combination of exit codes 3 and 4
8 Operational error
16 Usage or syntax error
AUTHORS
Linus Torvalds <torvalds@cs.helsinki.fi>
Error code values by Rik Faith <faith@cs.unc.edu>
Added support for filesystem valid flag: Dr. Wettstein <greg%wind.uucp@plains.nodak.edu>.
Check to prevent fsck of mounted filesystem added by Daniel Quinlan <quinlan@yggdrasil.com>.
Minix v2 fs support by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>, updated by Nicolai Langfeldt <janl@math.uio.no>.
Portability patch by Russell King <rmk@ecs.soton.ac.uk>.
SEE ALSO
fsck(8), fsck.ext2(8), mkfs(8), mkfs.ext2(8), mkfs.minix(8), reboot(8)
AVAILABILITY
The fsck.minix command is part of the util-linux package and is available from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils
/util-linux/>.
util-linux June 2015 FSCK.MINIX(8)