Diagnósticos gerais do Iomega


Primeiramente gostaria de salientar que não sou o autor principal do conteúdo deste artigo. A minha intenção é de mostrar o que outros autores tem realizado (referenciando links para o conteúdo original) neste blog até como um guia pessoal para uso próprio e ainda compartilhar minhas anotações e pequenas modificações que realizo no conteúdo, desejando que possa ajudar mais alguém em algum lugar.
First and foremost, I take no credit for any of this post’s content. I am really just taking what others have done (which I have links to bellow) and am putting it on my blog for a personal reference and hopefully the small changes that I made to their guides will help someone somewhere.

link: http://ix2-200.wikidot.com/recover

Linhas de comando para diagnósticos gerais do Iomega StorCenter IX2-200 Cloud Edition.

rootfs on / type rootfs (rw)
/dev/root.old on /initrd type ext2 (rw,relatime,errors=continue)
none on / type tmpfs (rw,relatime,size=51200k,nr_inodes=31083)
/dev/md0_vg/BFDlv on /boot type ext2 (rw,noatime,errors=continue)
/dev/loop0 on /mnt/apps type ext2 (ro,relatime)
/dev/loop1 on /etc type ext2 (rw,sync,noatime)
/dev/loop2 on /oem type cramfs (ro,relatime)
proc on /proc type proc (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
none on /proc/fs/nfsd type nfsd (rw,relatime)
none on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /mnt/apps/lib/init/rw type tmpfs (rw,nosuid,relatime,mode=755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
/dev/mapper/md0_vg-vol1 on /mnt/system type xfs (rw,noatime,attr2,logbufs=8,noquota)
/dev/mapper/56caed24_vg-lv45fbc66a on /mnt/pools/A/A0 type xfs (rw,noatime,attr2,nobarrier,logbufs=8,noquota)





vgdisplay
  --- Volume group ---
  VG Name               56caed24_vg
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  8
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               1
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               2.71 TB
  PE Size               4.00 MB
  Total PE              710274
  Alloc PE / Size       710274 / 2.71 TB
  Free  PE / Size       0 / 0
  VG UUID               0rj0kU-jl9U-mr5B-Aw8R-LRT2-upj7-yemWYQ

  --- Volume group ---
  VG Name               md0_vg
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  3
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               20.01 GB
  PE Size               4.00 MB
  Total PE              5122
  Alloc PE / Size       5122 / 20.01 GB
  Free  PE / Size       0 / 0
  VG UUID               K1vd3e-ZQ3D-1Edn-wmxN-hOXO-fFBf-312l29

lvdisplay
  --- Logical volume ---
  LV Name                /dev/56caed24_vg/lv45fbc66a
  VG Name                56caed24_vg
  LV UUID                RWdbRM-93i4-Ru3A-Tkg7-JtNp-wfWT-dqKo8g
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                2.71 TB
  Current LE             710274
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:2

  --- Logical volume ---
  LV Name                /dev/md0_vg/BFDlv
  VG Name                md0_vg
  LV UUID                cIQxXL-JzmU-ZM2v-qT22-MID3-nw2d-aABpdx
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                4.00 GB
  Current LE             1024
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0

  --- Logical volume ---
  LV Name                /dev/md0_vg/vol1
  VG Name                md0_vg
  LV UUID                6qGAMA-JCxW-AW99-8m3Y-CJ0j-fCrp-6a9iMh
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                16.01 GB
  Current LE             4098
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1


pvdisplay
  --- Physical volume ---
  PV Name               /dev/md1
  VG Name               56caed24_vg
  PV Size               2.71 TB / not usable 2.92 MB
  Allocatable           yes (but full)
  PE Size (KByte)       4096
  Total PE              710274
  Free PE               0
  Allocated PE          710274
  PV UUID               d6oQeT-8D1C-Ou4m-74By-qsiI-KLHQ-7r4F1A

  --- Physical volume ---
  PV Name               /dev/md0
  VG Name               md0_vg
  PV Size               20.01 GB / not usable 1.06 MB
  Allocatable           yes (but full)
  PE Size (KByte)       4096
  Total PE              5122
  Free PE               0
  Allocated PE          5122
  PV UUID               INN3Ph-2FIK-Pb8T-XBoM-uSlR-wFqb-GoGFbv



 cat /proc/partitions
major minor  #blocks  name

   7        0     604505 loop0
   7        1       8192 loop1
   7        2        204 loop2
   8        0 2930266584 sda
   8        1   20980888 sda1
   8        2 2909285625 sda2
   8       16 2930266584 sdb
   8       17   20980888 sdb1
   8       18 2909285625 sdb2
  31        0        768 mtdblock0
  31        1        128 mtdblock1
  31        2       3072 mtdblock2
  31        3       3072 mtdblock3
   9        0   20980800 md0
 253        0    4194304 dm-0
 253        1   16785408 dm-1
   9        1 2909285488 md1
 253        2 2909282304 dm-2

 cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid6] [raid5] [raid4]
md1 : active raid1 sda2[3] sdb2[2]
      2909285488 blocks super 1.0 [2/2] [UU]

md0 : active raid1 sda1[0] sdb1[1]
      20980800 blocks [2/2] [UU]

unused devices: <none>


mdadm --query --detail /dev/md1
/dev/md1:
        Version : 01.00
  Creation Time : Mon Mar  7 18:26:15 2011
     Raid Level : raid1
     Array Size : 2909285488 (2774.51 GiB 2979.11 GB)
  Used Dev Size : 5818570976 (5549.02 GiB 5958.22 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 1
    Persistence : Superblock is persistent

    Update Time : Fri Aug  1 20:56:25 2014
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

           Name : ix2-200-THUBCE:1
           UUID : 5aca85f3:00732bdc:94229e06:8d9847b7
         Events : 1381965

    Number   Major   Minor   RaidDevice State
       3       8        2        0      active sync   /dev/sda2
       2       8       18        1      active sync   /dev/sdb2


mdadm --query --detail /dev/md0
/dev/md0:
        Version : 00.90
  Creation Time : Mon Mar  7 18:20:34 2011
     Raid Level : raid1
     Array Size : 20980800 (20.01 GiB 21.48 GB)
  Used Dev Size : 20980800 (20.01 GiB 21.48 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Fri Aug  1 21:21:58 2014
          State : active
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

           UUID : 09ed4474:d1f81ff9:5a0bac34:d4f739cb
         Events : 0.5761561

    Number   Major   Minor   RaidDevice State
       0       8        1        0      active sync   /dev/sda1
       1       8       17        1      active sync   /dev/sdb1


df
Filesystem           1K-blocks      Used Available Use% Mounted on
rootfs                   51200      6424     44776  13% /
/dev/root.old             6613      2117      4496  33% /initrd
none                     51200      6424     44776  13% /
/dev/md0_vg/BFDlv      4128448    649788   3268948  17% /boot
/dev/loop0              601026    546121     54905  91% /mnt/apps
/dev/loop1                7657      2277      4971  32% /etc
/dev/loop2                 260       260         0 100% /oem
tmpfs                   124400         0    124400   0% /mnt/apps/lib/init/rw
tmpfs                   124400         0    124400   0% /dev/shm
/dev/mapper/md0_vg-vol1
                      16775168   1874916  14900252  12% /mnt/system
/dev/mapper/56caed24_vg-lv45fbc66a
                     2909151232 803183476 2105967756  28% /mnt/pools/A/A0

pvs
  PV         VG          Fmt  Attr PSize  PFree
  /dev/md0   md0_vg      lvm2 a-   20.01G    0
  /dev/md1   56caed24_vg lvm2 a-    2.71T    0


ls /mnt/pools/A/A0/
Backups  
Documents  
Movies  
Music  
Pictures  
Server  
Torrent  
aarvati  
apt-mirror  
iSCSI  
iarvati  
narvati  
tmp  
xxx



/usr/bin/gather
ls /mnt/system/gather/.tmp

config/cfg/sohoDriveConfig.xml
config/config/sohoDisk.xml


During UBOOT

Marvell>> printenv

baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
CASset=min
MALLOC_len=1
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
eth1mtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
FanHysteresis=2
FanTempStart=58
bootargs_end=:::DB88FXX81:eth1:none
bootargs_root=root=/dev/sda1 rw
kernel@nand=nand read.e 2000000 900000 300000
console=console=ttyS0,115200 mtdparts=nand_mtd:0x100000@0(uboot)ro,0x20000@0xA0000(uboot_env),0x300000@0x900000(kernel),0x1400000@0xC00000(root),0x6000000@0x2000000(root2),0x300000@0x1)
ethprime=egiga1
filesize=2aa2b3
fileaddr=200000
netmask=255.255.255.0
ipaddr=192.168.1.11
serverip=192.168.1.100
ethaddr=00:D0:B8:16:3F:38
eth1addr=00:D0:B8:16:3F:38
uboot_start=0x0
uboot_size=0xc0000
env_start=0xa0000
env_size=0x20000
kernel_start=0x100000
kernel_size=0x300000
initrd_start=0x540000
initrd_size=0x300000
flash_load=run make_boot_args load1 load2 boot
load1=nand read.e 0x2000000 $(kernel_start) $(kernel_size)
load2=nand read.e 0x4500000 $(initrd_start) $(initrd_size)
boot=bootm 0x2000000 0x4500000
make_boot_args=setenv bootargs console=ttyS0,115200 mtdparts=nand_mtd:;setenv bootargs $(bootargs)$(uboot_size)@$(uboot_start)(uboot),;setenv bootargs $(bootargs)$(env_size)@$(env_star;
iomega=123
arcNumber=1682
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:0x100000@0x000000(uboot)ro,0x20000@0xA0000(env),0x300000@0x100000(uImage),0x1C00000@0x400000(rootfs)
bootargs_console=root=/dev/mapper/root-root
bootcmd=setenv bootargs $(bootargs_console); nand read 0x800000 uImage; nand read 0x1100000 rootfs; bootm 0x00800000 0x01100000
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
hddPowerCtrl=no
enaAutoRecovery=no
ethact=egiga1

Environment size: 2453/16380 bytes




Comments