cancel
Showing results for 
Search instead for 
Did you mean: 

Root disk issue

AnoopSivan
Occasional Contributor

Root disk issue

Hi Talents

We have a disk issue(vg00) from one of our rp3440  server.
There is stale PE extends from one of the root disk (the disk which currently booted).
CE replaced alternate disk but issue still exists. Issue is with primary swap and /usr.
Later we tried to pvmove the primary swap to good disk but it failed. ( now swap splitted in to two disks).
If you guys have previous exp, please share.

# vgdisplay -v vg00 | grep "Pv Name|PV Status|Total PE|Free PE"

 --- Physical volumes ---
   PV Name                     /dev/dsk/c2t0d0   -->currently booted from this disk, and have bad sector's.
   PV Status                   available
   Total PE                    4374
   Free PE                     3744
  

   PV Name                     /dev/dsk/c2t1d0
   PV Status                   available
   Total PE                    4374
   Free PE                     3593
  

 LV Name                     /dev/vg00/lv_swap1
   LV Status                   available/stale
   LV Size (Mbytes)            2256
   Current LE                  141
   Allocated PE                142
   Used PV                     2


# lvdisplay -v /dev/vg00/lv_swap1 | more
--- Logical volumes ---
LV Name                     /dev/vg00/lv_swap1
VG Name                     /dev/vg00
LV Permission               read/write
LV Status                   available/stale
Mirror copies               1
Consistency Recovery        MWC
Schedule                    parallel
LV Size (Mbytes)            2256
Current LE                  141
Allocated PE                142
Stripes                     0
Stripe Size (Kbytes)        0
Bad block                   off
Allocation                  strict/contiguous
IO Timeout (Seconds)        default


 --- Distribution of logical volume ---
   PV Name            LE on PV  PE on PV
   /dev/dsk/c2t0d0    2         2
   /dev/dsk/c2t1d0    141       280

--- Logical extents ---
   LE    PV1                PE1   Status 1 PV2                PE2   Status 2
   00000 /dev/dsk/c2t1d0    00013 current  PX_NOPV            00000 current
   00001 /dev/dsk/c2t1d0    00014 current  PX_NOPV            00000 current
   00002 /dev/dsk/c2t1d0    00015 current  PX_NOPV            00000 current
<=====================o/p truncated===========================================>

   00138 /dev/dsk/c2t1d0    00151 current  PX_NOPV            00000 current
   00139 /dev/dsk/c2t0d0    00152 current  /dev/dsk/c2t1d0    00152 stale    -->here is the issue
   00140 /dev/dsk/c2t0d0    00153 current  PX_NOPV            00000 current