Hi,

I'm getting the following errors when I try to fsck.jfs the following
jfs , is there any hope of recovering it?:

# /sbin/fsck.jfs -vd /dev/vg/san1

/sbin/fsck.jfs version 1.1.14, 06-Apr-2009
processing started: 6/30/2009 12.44.24
Using default parameter: -p [xchkdsk.c:3033]
The current device is:  /dev/vg/san1 [xchkdsk.c:1527]
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:1544]
Block size in bytes:  4096 [xchkdsk.c:1857]
Filesystem size in blocks:  2562719744 [xchkdsk.c:1864]
**Phase 0 - Replay Journal Log [xchkdsk.c:1871]
LOGREDO:  Log already redone! [logredo.c:555]
logredo returned rc = 0 [xchkdsk.c:1903]
**Phase 1 - Check Blocks, Files/Directories, and  Directory Entries
[xchkdsk.c:1996]
Primary metadata inode A16 is corrupt. [fsckmeta.c:2409]
Secondary metadata inode A16 is corrupt. [fsckmeta.c:2413]
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:1905]
processing terminated:  6/30/2009 12:44:27  with return code: -10049
exit code: 4. [xchkdsk.c:475]

# pvdisplay

 --- Physical volume ---
  PV Name               /dev/dm-2
  VG Name               vg
  PV Size               9.55 TB / not usable 1.36 GB
  Allocatable           yes (but full)
  PE Size (KByte)       2097152
  Total PE              4888
  Free PE               0
  Allocated PE          4888
  PV UUID               s0r8wF-LmBr-pItc-ajIk-ifP5-sHbf-OG7PTo

# vgdisplay

  --- Volume group ---
  VG Name               vg
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  2
  VG Access             read/write
  VG Status             resizable
  Clustered             yes
  Shared                no
  MAX LV                0
  Cur LV                1
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               9.55 TB
  PE Size               2.00 GB
  Total PE              4888
  Alloc PE / Size       4888 / 9.55 TB
  Free  PE / Size       0 / 0
  VG UUID               s1SYqh-og9d-9ofL-HyM6-AwkH-dQNM-8D12sP

# lvdisplay

  --- Logical volume ---
  LV Name                /dev/vg/san1
  VG Name                vg
  LV UUID                eTZgGp-OAUV-bO7P-UB3m-W2X3-05ds-2L1SP2
  LV Write Access        read/write
  LV Status              available
  # open                 0
  LV Size                9.55 TB
  Current LE             4888
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           252:5


# parted /dev/vg/san1
GNU Parted 1.8.8
Using /dev/mapper/vg-san1
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) pr
Model: Linux device-mapper (dm)
Disk /dev/mapper/vg-san1: 10.5TB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End     Size    File system  Flags
 1      0.00B  10.5TB  10.5TB  jfs

Thanks,
Sabuj

------------------------------------------------------------------------------
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion

Reply via email to