09-01-2009
fsck.gfs2 outputs "RG recovery impossible; I can't fix this file system"
I have a CentOS release 5.2 (Final)host running kernel 2.6.18-92.el5 with at raid 10 that had two mirrored drives fail. The drives were re-inserted and now the raid shows healthy (for now). I tried to mount but got an Input/output error. I then attempted a fsck:
fsck.gfs2 -y /dev/vg_01/uss_vol
This returned the following output (in part):
Block #3518628215 (0xd1ba0177) (21 of 33) is neither GFS2_METATYPE_RB nor GFS2_METATYPE_RG.
Attempting to repair the RG.
Block #3518628216 (0xd1ba0178) (22 of 33) is neither GFS2_METATYPE_RB nor GFS2_METATYPE_RG.
Attempting to repair the RG.
Block #3518628217 (0xd1ba0179) (23 of 33) is neither GFS2_METATYPE_RB nor GFS2_METATYPE_RG.
Attempting to repair the RG.
Block #3518628218 (0xd1ba017a) (24 of 33) is neither GFS2_METATYPE_RB nor GFS2_METATYPE_RG.
Attempting to repair the RG.
Block #3518628219 (0xd1ba017b) (25 of 33) is neither GFS2_METATYPE_RB nor GFS2_METATYPE_RG.
Attempting to repair the RG.
Block #3518628220 (0xd1ba017c) (26 of 33) is neither GFS2_METATYPE_RB nor GFS2_METATYPE_RG.
Attempting to repair the RG.
Block #3518628221 (0xd1ba017d) (27 of 33) is neither GFS2_METATYPE_RB nor GFS2_METATYPE_RG.
Attempting to repair the RG.
Block #3518628222 (0xd1ba017e) (28 of 33) is neither GFS2_METATYPE_RB nor GFS2_METATYPE_RG.
Attempting to repair the RG.
Block #3518628223 (0xd1ba017f) (29 of 33) is neither GFS2_METATYPE_RB nor GFS2_METATYPE_RG.
Attempting to repair the RG.
Block #3519021440 (0xd1c00180) (33 of 33) is neither GFS2_METATYPE_RB nor GFS2_METATYPE_RG.
Attempting to repair the RG.
(level 2 failed)
Level 3 RG check.
RG 2 is damaged: getting dist from index: 0x26a2e
* RG 1 at block 0x11 *** DAMAGED *** [length 0x26a2e]
RG 2 at block 0x26A3F intact [length 0x12a]
* RG 3 at block 0x26B69 *** DAMAGED *** [length 0x12a]
* RG 4 at block 0x26C93 *** DAMAGED *** [length 0x12a]
* RG 5 at block 0x26DBD *** DAMAGED *** [length 0x12a]
Error: too many bad RGs.
Error rebuilding rg list.
(level 3 failed)
RG recovery impossible; I can't fix this file system.
Now when I try to mount the file system I recieve the following output
[root@host/]# mount /123
/sbin/mount.gfs2: error mounting /dev/mapper/vg_01-123_vol on /123: No such file or directory
/123 exists
The etc/fstab line is:
/dev/vg_01/123_vol /123 gfs2 noatime 1 2
That line is the dame on all other hosts and is verified to be correct.
Any ideas how to get this FS mounted?
10 More Discussions You Might Find Interesting
1. Programming
I tried to install OpenMotif under Mac OS in the computing lab today, but I got "No mountable file system". Is it because I don't have the administrator's privilege? (0 Replies)
Discussion started by: endeavour1985
0 Replies
2. UNIX for Advanced & Expert Users
We have some CentOS systems with ext3 filesystems that (on occasion) experiences long power failures that are longer than the UPS can handle. We run an fsck on the file systems at every boot, and sometimes they will come back on after a power failure, and when fsck runs there are tens of thousands... (0 Replies)
Discussion started by: nothsa
0 Replies
3. UNIX for Advanced & Expert Users
dear fellows;
i have used ld.so.preload file to override connect() function, dynamic library overriding, it did worked really fine ......
but i went on to struck in a situation ... within the overrided connect() i have used printf once to see IP and Port to whom the connect request is being... (1 Reply)
Discussion started by: mzeeshan
1 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. Shell Programming and Scripting
hello All,
I am new user to shell scripting, kindly advise on the below?
I have a file where i have gaps & the delimiter falls in next line and new line is also created , plz see the example :employee.txt
Now the issue here is , i wan to write a script , where i can use "|" to get the... (6 Replies)
Discussion started by: sunnyd1
6 Replies
6. Shell Programming and Scripting
Hi,
- From Script :
echo "************************************"
echo "NEW_ORACLE_SID : " ${NEW_ORACLE_SID}
echo "************************************"
echo "" >> /auto_clone/${NEW_ORACLE_SID}/logs/clone_PERP12R.log
echo... (4 Replies)
Discussion started by: htaieb1
4 Replies
7. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
8. Shell Programming and Scripting
Hello experts!
I need your help please
I have a file.txt of which I want to extract 3rd and 4th columns with date with the form e.g.:
2016-11-25 03:14:50and pass them to "date" command, but also append the 9th column in a file as well.
So I want to execute
date -d '2016-11-25 03:14:50' ... (2 Replies)
Discussion started by: phaethon
2 Replies
9. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
10. UNIX for Beginners Questions & Answers
Cannot present unpresented disks back again. On a test server tried this as a solution "multipath -r" and it worked. Too worried to try it in production before I know all the information.
Any info would be appreciated!
Also some links to the documentation on this specific issue could help a... (1 Reply)
Discussion started by: jsteppe
1 Replies
LEARN ABOUT DEBIAN
queue-repair
queue-repair(8) System Manager's Manual queue-repair(8)
NAME
queue-repair - deal with the qmail queue directory structure
SYNOPSIS
queue-repair [ -htrcbn ] [ -n split ] [ conf-qmail ]
DESCRIPTION
queue-repair deals with the qmail queue structure; it can create a new queue, move and properly rename a queue, dynamically change the
conf-split value, convert big-todo queues to non-big-todo and vice versa, and repair a corrupted queue.
conf-qmail defaults to /var/lib/qmail/ on Debian.
OPTIONS
-h|--help
Display usage information and built-in defaults, then exit.
-t|--test
Run in test-only mode. queue-repair will attempt to report all problems that it finds, without correcting them. This is the
default.
-r|--repair
Run in repair mode. queue-repair will attempt to correct all problems that it finds, except if the basic queue directories (queue,
queue/mess, queue/info, etc) are not found.
-c|--create
Run in create-and-repair mode. queue-repair will attempt to correct all problems that it finds, including creation of a new queue
structure from scratch.
-s|--split split
Specify split as the value of conf-split. This is the number of split subdirectories for those queue directories which are hashed.
The default for qmail is 23. Appropriate values depend on the volume of mail handled, OS filesystem efficiency, and other factors,
but this should always be a prime number.
If you do not specify conf-split, queue-repair will attempt to determine the current value from the existing queue. This option can
be used, however, to change the conf-split value of an existing queue (qmail will still have to be recompiled with the new value).
When creating a new queue, this option must always be specified.
-b|--bigtoto
Use big-todo. queue-repair should be able to automatically determine if you're using qmail patched with the big-todo patch. This
option can be used, however, to convert a non-big-todo queue to a big-todo queue (qmail will still have to be recompiled with the
big-todo patch).
If neither this option nor --no-bigtodo is used, queue-repair will attempt to determine this automatically. When creating a new
queue, either this option or --no-bigtodo must always be specified.
-n|--no-bigtodo
Do not use big-todo. queue-repair should be able to automatically determine if you're using qmail patched with the big-todo patch.
This option can be used, however, to convert a big-todo queue to a non big-todo queue (qmail will still have to be recompiled with-
out the big-todo patch).
If neither this option nor --bigtodo is used, queue-repair will attempt to determine this automatically. When creating a new queue,
either this option or --bigtodo must always be specified.
--i-want-a-broken-conf-split
Force the use of a non-prime value for conf-split.
SEE ALSO
qmail(7)
queue-repair(8)