Hi all!

Once again I have problems with JFS, and once again, the fault is 
probably mine. This time I tried to extend a LVM volume group and 
remount the jfs volume with the resize option. However, I might have 
entered the commands in the wrong order. That is I first did a vgextend, 
and then resized the jfsvolume. I should have run lvextend before 
resizing jfs. So i did lvextend without a problem, then resized again. 
All seemed fine, except that the filesystem was remounted read-only. 
Now, I am not able to fsck the filesystem. Output from fsck is attached. 
Is it possible to rescue this filesystem? I am able to read the files, 
so I might be able to backup everything, rebuild the lvm and jfs and 
then move it back.

Best regards,
Simon



simons ~ # fsck  -dvf /dev/vgmedia/media
fsck 1.39 (29-May-2006)
fsck.jfs version 1.1.11, 05-Jun-2006
processing started: 1/23/2007 21.51.9
The current device is:  /dev/vgmedia/media [xchkdsk.c:1520]
Open(...READ/WRITE EXCLUSIVE...) returned rc = 0 [fsckpfs.c:3233]
Primary superblock is valid. [fsckmeta.c:1551]
The type of file system for the device is JFS. [xchkdsk.c:1537]
Block size in bytes:  4096 [xchkdsk.c:1850]
Filesystem size in blocks:  102028288 [xchkdsk.c:1857]
**Phase 0 - Replay Journal Log [xchkdsk.c:1864]
LOGREDO:  Log superblock contains invalid magic number. [logredo.c:529]
logredo failed (rc=-268).  fsck continuing. [xchkdsk.c:1894]
**Phase 1 - Check Blocks, Files/Directories, and  Directory Entries 
[xchkdsk.c:1989]
Primary metadata inode A2 is corrupt. [fsckmeta.c:3170]
Duplicate reference to 12471 block(s) beginning at offset 16 found in 
file system object MA2. [fsckwsp.c:452]
Inode A2 has references to cross linked blocks. [fsckwsp.c:1772]
Errors detected in the Primary File/Directory Allocation Table. 
[fsckmeta.c:1890]
Errors detected in the Secondary File/Directory Allocation Table. 
[fsckmeta.c:1895]
CANNOT CONTINUE. [fsckmeta.c:1902]
processing terminated:  1/23/2007 21:51:09  with return code: -10049  
exit code: 4. [xchkdsk.c:468]



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion

Reply via email to