General NAS-Central Forums

Welcome to the NAS community
It is currently Sat Jul 22, 2017 8:58 pm

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Fri Dec 06, 2013 9:50 pm 
Offline

Joined: Mon Oct 10, 2011 7:52 pm
Posts: 11
Hi All,

My NAS is with RED LIGHT, and the error that is giving to me is that I've a problem regarding RAID in one of the disks.

Anyone had this type type of issue?

I really have no idea what I should do, and any help is appreciated. Also I wish to recover the files I've in the disk. The RAID I've created is not backup type but RAID1.

I let here the PROC/PARTITIONS

Code:
major minor  #blocks  name

  31        0        512 mtdblock0
   8        0 1953514584 sda
   8        1          1 sda1
   8        2 1951503907 sda2
   8        5     256977 sda5
   8        6       8001 sda6
   8        7       8001 sda7
   8        8     851413 sda8
   8        9     875511 sda9
   8       10       8001 sda10
   9        0       7936 md0
   9        1     851328 md1
   9        2     875392 md2
   9        3     256896 md3


It's clear the sdb is not mounted!

the RAID1 status is:
Code:
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
md4 : inactive sda2[0](S)
      1951503808 blocks

md3 : active raid1 sda5[0]
      256896 blocks [2/1] [U_]

md2 : active raid1 sda9[0]
      875392 blocks [2/1] [U_]

md1 : active raid1 sda8[0]
      851328 blocks [2/1] [U_]

md0 : active raid1 sda7[0]
      7936 blocks [2/1] [U_]


Thanks in advance for some help!

Rui


Top
 Profile  
 
PostPosted: Sat Dec 07, 2013 9:48 am 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6014
rmar wrote:
It's clear the sdb is not mounted!
True, but that is due the real problem /proc/partitions exposes: sdb is not detected at all. Basically your observations in your post tell there is only one disk in the box. So either you have a loose contact, or your disk is dead.
Maybe dmesg can give additional information, but I wouldn't be surprised if it also only mentions one disk.

If you exchange the dead disk by an empty, new one, the box should automatically rebuild the raid. That will cost about 12 hours, I think. (2TB syncing at 50MB/sec => 40000 seconds.)


Top
 Profile  
 
PostPosted: Mon Dec 30, 2013 6:45 pm 
Offline

Joined: Mon Oct 10, 2011 7:52 pm
Posts: 11
Mijzelf wrote:
rmar wrote:
It's clear the sdb is not mounted!
True, but that is due the real problem /proc/partitions exposes: sdb is not detected at all. Basically your observations in your post tell there is only one disk in the box. So either you have a loose contact, or your disk is dead.
Maybe dmesg can give additional information, but I wouldn't be surprised if it also only mentions one disk.

If you exchange the dead disk by an empty, new one, the box should automatically rebuild the raid. That will cost about 12 hours, I think. (2TB syncing at 50MB/sec => 40000 seconds.)


Thanks Mijzelf for your feedback. I was fighting to try if I can recover the data from the HDD, but it's a bit difficult.

I umount phisically the HDD and mount them again, and right now it seems the system is recognizing the HDD, but they are not mounted!

partitions

Code:
major minor  #blocks  name

  31        0        512 mtdblock0
   8        0 1953514584 sda
   8        1          1 sda1
   8        2 1951503907 sda2
   8        5     256977 sda5
   8        6       8001 sda6
   8        7       8001 sda7
   8        8     851413 sda8
   8        9     875511 sda9
   8       10       8001 sda10
   8       16 1953514584 sdb
   8       17          1 sdb1
   8       18 1951503907 sdb2
   8       21     256977 sdb5
   8       22       8001 sdb6
   8       23       8001 sdb7
   8       24     851413 sdb8
   8       25     875511 sdb9
   8       26       8001 sdb10
   9        0       7936 md0
   9        1     851328 md1
   9        2     875392 md2
   9        3     256896 md3
   9        4 3903007616 md4


mdstat

Code:
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
md4 : active raid0 sda2[0] sdb2[1]
      3903007616 blocks 64k chunks
     
md3 : active raid1 sda5[0] sdb5[1]
      256896 blocks [2/2] [UU]
     
md2 : active raid1 sda9[0] sdb9[1]
      875392 blocks [2/2] [UU]
     
md1 : active raid1 sda8[0] sdb8[1]
      851328 blocks [2/2] [UU]
     
md0 : active raid1 sdb7[1] sda7[0]
      7936 blocks [2/2] [UU]
     
unused devices: <none>


df

Code:
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/md0                  7683      6061      1226  83% /oldroot
udev                     10240       100     10140   1% /dev
none                    126880        40    126840   0% /dev/shm
/dev/md1                837912    340784    454564  43% /oldroot/var/original
/dev/md2                861612    546492    271352  67% /oldroot/snapshots
unionfs                 861612    546492    271352  67% /
/dev/md2                861612    546492    271352  67% /var
/dev/md2                861612    546492    271352  67% /tmp
/dev/md2                861612    546492    271352  67% /bin
/dev/md2                861612    546492    271352  67% /sbin
/dev/md2                861612    546492    271352  67% /lib
/dev/md2                861612    546492    271352  67% /usr
/dev/md2                861612    546492    271352  67% /www
tmpfs                   126880       284    126596   0% /tmp/samba


dmesg

Code:
70000]   o Tx descripors: q0=532
[    1.880000]   o Loading network interface(s):
[    1.880000]     o  register under mv_netdev platform
[    1.890000]     o eth0, ifindex = 2, GbE port = 0
[    1.890000]
[    1.890000] Warning: Giga 1 is Powered Off
[    1.900000]
[    1.900000] mvFpRuleDb (cff6a000): 2048 entries, 8192 bytes
[    1.910000] console [netcon0] enabled
[    1.910000] netconsole: network logging started
[    1.920000] m25p80 spi0.0: mx25l4005a (512 Kbytes)
[    1.920000] Creating 1 MTD partitions on "spi_flash":
[    1.930000] 0x000000000000-0x000000080000 : "u-boot"
[    1.930000] mice: PS/2 mouse device common for all mice
[    1.940000] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    1.940000] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[    1.950000] gpio-fan gpio-fan: GPIO fan initialized
[    2.040000] md: linear personality registered for level -1
[    2.040000] md: raid0 personality registered for level 0
[    2.050000] md: raid1 personality registered for level 1
[    2.050000] md: raid10 personality registered for level 10
[    2.060000] md: raid6 personality registered for level 6
[    2.060000] md: raid5 personality registered for level 5
[    2.070000] md: raid4 personality registered for level 4
[    2.070000] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
[    2.080000] cpufreq: Setting CPU Frequency to 1200000 KHz
[    2.080000] cpufreq: Setting PowerSaveState to off
[    2.090000] cpuidle: using governor ladder
[    2.090000] cpuidle: using governor menu
[    2.090000] Registered led device: net2big-v2:blue:power
[    2.100000] Registered led device: net2big-v2:red:power
[    2.100000] Registered led device: net2big-v2:blue:sata0
[    2.110000] Registered led device: net2big-v2:red:sata0
[    2.120000] Registered led device: net2big-v2:blue:sata1
[    2.120000] Registered led device: net2big-v2:red:sata1
[    2.130000] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[    2.130000] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[    2.180000] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[    2.220000] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[    2.260000] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[    2.300000] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[    2.300000] TCP cubic registered
[    2.300000] NET: Registered protocol family 17
[    2.310000] Bridge firewalling registered
[    2.310000] NET: Registered protocol family 5
[    2.320000] RPC: Registered udp transport module.
[    2.320000] RPC: Registered tcp transport module.
[    2.330000] rtc-mv rtc-mv: setting system clock to 2013-12-30 18:34:56 UTC (1388428496)
[    2.380000] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    2.420000] ata1.00: ATA-8: ST2000DL001-9VT156, CC41, max UDMA/133
[    2.420000] ata1.00: 3907029168 sectors, multi 0: LBA48
[    2.490000] ata1.00: configured for UDMA/133
[    2.490000] scsi 0:0:0:0: Direct-Access     ATA      ST2000DL001-9VT1 CC41 PQ: 0 ANSI: 5
[    2.500000] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[    2.510000] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    2.510000] sd 0:0:0:0: [sda] Write Protect is off
[    2.520000] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    2.520000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.530000]  sda:
[    2.530000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    2.550000]  sda1 < sda5 sda6 sda7 sda8 sda9 sda10 > sda2
[    2.600000] sd 0:0:0:0: [sda] Attached SCSI disk
[    3.220000] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    3.220000] ata2.15: Port Multiplier 1.1, 0x197b:0x2352 r1, 2 ports, feat 0x0/0x8
[    3.230000] ata2.00: hard resetting link
[    3.780000] ata2.01: hard resetting link
[    4.410000] ata2.00: ATA-8: ST2000DL001-9VT156, CC41, max UDMA/133
[    4.410000] ata2.00: 3907029168 sectors, multi 0: LBA48
[    4.480000] ata2.00: configured for UDMA/133
[    4.480000] ata2: EH complete
[    4.480000] scsi 1:0:0:0: Direct-Access     ATA      ST2000DL001-9VT1 CC41 PQ: 0 ANSI: 5
[    4.490000] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[    4.500000] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    4.500000] sd 1:0:0:0: [sdb] Write Protect is off
[    4.510000] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[    4.510000] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.520000]  sdb:
[    4.520000] sd 1:0:0:0: Attached scsi generic sg1 type 0
[    4.570000]  sdb1 < sdb5 sdb6 sdb7 sdb8 sdb9 sdb10 > sdb2
[    4.730000] sd 1:0:0:0: [sdb] Attached SCSI disk
[    4.730000] Freeing init memory: 148K
[    4.740000] Freeing initramfs memory: 4K
[    6.980000] eth0: link down
[    6.980000] eth0: started
[    8.430000] eth0: link up, full duplex, speed 1 Gbps
[   10.170000] md: md0 stopped.
[   10.180000] md: bind<sda7>
[   10.180000] raid1: raid set md0 active with 1 out of 2 mirrors
[   10.190000] md0: detected capacity change from 0 to 8126464
[   10.200000]  md0: unknown partition table
[   10.220000] kjournald starting.  Commit interval 5 seconds
[   10.230000] EXT3-fs: mounted filesystem with writeback data mode.
[   11.320000] md: bind<sdb7>
[   11.360000] RAID1 conf printout:
[   11.360000]  --- wd:1 rd:2
[   11.360000]  disk 0, wo:0, o:1, dev:sda7
[   11.360000]  disk 1, wo:1, o:1, dev:sdb7
[   11.370000] md: recovery of RAID array md0
[   11.370000] md: minimum _guaranteed_  speed: 1000 KB/sec/disk.
[   11.380000] md: using maximum available idle IO bandwidth (but not more than 200000 KB/sec) for recovery.
[   11.390000] md: using 128k window, over a total of 7936 blocks.
[   11.390000] md: md0: recovery done.
[   11.440000] RAID1 conf printout:
[   11.440000]  --- wd:2 rd:2
[   11.450000]  disk 0, wo:0, o:1, dev:sda7
[   11.450000]  disk 1, wo:0, o:1, dev:sdb7
[   11.870000] md: md1 stopped.
[   11.880000] md: bind<sdb8>
[   11.890000] md: bind<sda8>
[   11.900000] md1: Warning: Device sda8 is misaligned
[   11.910000] md1: Warning: Device sdb8 is misaligned
[   11.910000] raid1: raid set md1 active with 2 out of 2 mirrors
[   11.920000] md1: detected capacity change from 0 to 871759872
[   11.990000]  md1: unknown partition table
[   12.570000] md: md2 stopped.
[   12.600000] md: bind<sdb9>
[   12.600000] md: bind<sda9>
[   12.610000] md2: Warning: Device sda9 is misaligned
[   12.610000] md2: Warning: Device sdb9 is misaligned
[   12.620000] raid1: raid set md2 active with 2 out of 2 mirrors
[   12.630000] md2: detected capacity change from 0 to 896401408
[   12.700000]  md2: unknown partition table
[   13.400000] md: md3 stopped.
[   13.410000] md: bind<sdb5>
[   13.410000] md: bind<sda5>
[   13.420000] md3: Warning: Device sda5 is misaligned
[   13.420000] md3: Warning: Device sdb5 is misaligned
[   13.430000] raid1: raid set md3 active with 2 out of 2 mirrors
[   13.440000] md3: detected capacity change from 0 to 263061504
[   13.510000]  md3: unknown partition table
[   14.080000] kjournald starting.  Commit interval 5 seconds
[   14.080000] EXT3-fs: mounted filesystem with writeback data mode.
[   14.100000] kjournald starting.  Commit interval 5 seconds
[   14.100000] EXT3 FS on md2, internal journal
[   14.110000] EXT3-fs: mounted filesystem with writeback data mode.
[   14.400000] unionfs: unionfs: new generation number 2
[   14.470000] unionfs: unionfs: new generation number 3
[   16.060000] Adding 256888k swap on /dev/md3.  Priority:-1 extents:1 across:256888k
[   16.430000] usbcore: registered new interface driver usbfs
[   16.430000] usbcore: registered new interface driver hub
[   16.430000] usbcore: registered new device driver usb
[   16.450000] Initializing USB Mass Storage driver...
[   16.450000] usbcore: registered new interface driver usb-storage
[   16.450000] USB Mass Storage support registered.
[   17.400000] udev: starting version 139
[   27.230000] md: md4 stopped.
[   28.620000] md: bind<sdb2>
[   28.640000] md: bind<sda2>
[   28.670000] raid0: looking at sda2
[   28.670000] raid0:   comparing sda2(3903007616)
[   28.670000]  with sda2(3903007616)
[   28.670000] raid0:   END
[   28.670000] raid0:   ==> UNIQUE
[   28.670000] raid0: 1 zones
[   28.670000] raid0: looking at sdb2
[   28.670000] raid0:   comparing sdb2(3903007616)
[   28.670000]  with sda2(3903007616)
[   28.670000] raid0:   EQUAL
[   28.670000] raid0: FINAL 1 zones
[   28.670000] md4: Warning: Device sda2 is misaligned
[   28.670000] md4: Warning: Device sdb2 is misaligned
[   28.670000] raid0: done.
[   28.670000] raid0 : md_size is 7806015232 sectors.
[   28.670000] ******* md4 configuration *********
[   28.670000] zone0=[sda2/sdb2/]
[   28.670000]         zone offset=0kb device offset=0kb size=3903007616kb
[   28.670000] **********************************
[   28.670000]
[   28.670000] md4: detected capacity change from 0 to 3996679798784
[   29.220000]  md4: unknown partition table
[   43.390000] loop: module loaded
[   48.060000] XFS mounting filesystem md4
[   48.260000] Starting XFS recovery on filesystem: md4 (logdev: internal)
[   52.070000] ata2.15: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x6
[   52.070000] ata2.15: edma_err_cause=00000084 pp_flags=00000001, dev error, EDMA self-disable
[   52.070000] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
[   52.070000] ata2.00: cmd 25/00:08:02:f2:86/00:00:c4:00:00/e0 tag 0 dma 4096 in
[   52.070000]          res 51/84:00:08:f2:86/84:00:c4:00:00/00 Emask 0x10 (ATA bus error)
[   52.070000] ata2.00: status: { DRDY ERR }
[   52.070000] ata2.00: error: { ICRC ABRT }
[   52.070000] ata2.15: hard resetting link
[   53.120000] ata2.15: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   53.120000] ata2.00: hard resetting link
[   53.670000] ata2.01: hard resetting link
[   54.360000] ata2.00: configured for UDMA/133
[   54.360000] ata2: EH complete
[   57.600000] ata2.15: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x6
[   57.600000] ata2.15: edma_err_cause=00000084 pp_flags=00000001, dev error, EDMA self-disable
[   57.600000] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
[   57.600000] ata2.00: cmd 25/00:08:02:f2:86/00:00:c4:00:00/e0 tag 0 dma 4096 in
[   57.600000]          res 51/84:00:08:f2:86/84:00:c4:00:00/00 Emask 0x10 (ATA bus error)
[   57.600000] ata2.00: status: { DRDY ERR }
[   57.600000] ata2.00: error: { ICRC ABRT }
[   57.600000] ata2.15: hard resetting link
[   58.650000] ata2.15: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   58.650000] ata2.01: limiting SATA link speed to 1.5 Gbps
[   58.650000] ata2.00: hard resetting link
[   59.200000] ata2.01: hard resetting link
[   59.890000] ata2.00: configured for UDMA/133
[   59.890000] ata2: EH complete
[   63.120000] ata2.15: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x6
[   63.120000] ata2.15: edma_err_cause=00000084 pp_flags=00000001, dev error, EDMA self-disable
[   63.120000] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
[   63.120000] ata2.00: cmd 25/00:08:02:f2:86/00:00:c4:00:00/e0 tag 0 dma 4096 in
[   63.120000]          res 51/84:00:08:f2:86/84:00:c4:00:00/00 Emask 0x10 (ATA bus error)
[   63.120000] ata2.00: status: { DRDY ERR }
[   63.120000] ata2.00: error: { ICRC ABRT }
[   63.120000] ata2.15: hard resetting link
[   64.170000] ata2.15: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   64.170000] ata2.01: limiting SATA link speed to 1.5 Gbps
[   64.170000] ata2.00: hard resetting link
[   64.720000] ata2.01: hard resetting link
[   65.410000] ata2.00: configured for UDMA/133
[   65.410000] ata2: EH complete
[   68.620000] ata2.00: limiting SATA link speed to 1.5 Gbps
[   68.620000] ata2.15: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x6
[   68.620000] ata2.15: edma_err_cause=00000084 pp_flags=00000001, dev error, EDMA self-disable
[   68.620000] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
[   68.620000] ata2.00: cmd 25/00:08:02:f2:86/00:00:c4:00:00/e0 tag 0 dma 4096 in
[   68.620000]          res 51/84:00:08:f2:86/84:00:c4:00:00/00 Emask 0x10 (ATA bus error)
[   68.620000] ata2.00: status: { DRDY ERR }
[   68.620000] ata2.00: error: { ICRC ABRT }
[   68.620000] ata2.15: hard resetting link
[   69.670000] ata2.15: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   69.670000] ata2.01: limiting SATA link speed to 1.5 Gbps
[   69.670000] ata2.00: hard resetting link
[   70.220000] ata2.01: hard resetting link
[   70.910000] ata2.00: configured for UDMA/133
[   70.910000] ata2: EH complete
[   74.150000] ata2.15: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x6
[   74.150000] ata2.15: edma_err_cause=00000084 pp_flags=00000001, dev error, EDMA self-disable
[   74.150000] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
[   74.150000] ata2.00: cmd 25/00:08:02:f2:86/00:00:c4:00:00/e0 tag 0 dma 4096 in
[   74.150000]          res 51/84:00:08:f2:86/84:00:c4:00:00/00 Emask 0x10 (ATA bus error)
[   74.150000] ata2.00: status: { DRDY ERR }
[   74.150000] ata2.00: error: { ICRC ABRT }
[   74.150000] ata2.15: hard resetting link
[   75.200000] ata2.15: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   75.200000] ata2.01: limiting SATA link speed to 1.5 Gbps
[   75.200000] ata2.00: hard resetting link
[   75.750000] ata2.01: hard resetting link
[   76.440000] ata2.00: configured for UDMA/133
[   76.440000] ata2: EH complete
[   79.660000] ata2.15: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x6
[   79.660000] ata2.15: edma_err_cause=00000084 pp_flags=00000001, dev error, EDMA self-disable
[   79.660000] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
[   79.660000] ata2.00: cmd 25/00:08:02:f2:86/00:00:c4:00:00/e0 tag 0 dma 4096 in
[   79.660000]          res 51/84:00:08:f2:86/84:00:c4:00:00/00 Emask 0x10 (ATA bus error)
[   79.660000] ata2.00: status: { DRDY ERR }
[   79.660000] ata2.00: error: { ICRC ABRT }
[   79.660000] ata2.15: hard resetting link
[   80.710000] ata2.15: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   80.710000] ata2.01: limiting SATA link speed to 1.5 Gbps
[   80.710000] ata2.00: hard resetting link
[   81.260000] ata2.01: hard resetting link
[   81.950000] ata2.00: configured for UDMA/133
[   81.950000] sd 1:0:0:0: [sdb] Result: hostbyte=0x00 driverbyte=0x08
[   81.950000] sd 1:0:0:0: [sdb] Sense Key : 0xb [current] [descriptor]
[   81.950000] Descriptor sense data with sense descriptors (in hex):
[   81.950000]         72 0b 47 00 00 00 00 0c 00 0a 80 00 00 00 00 00
[   81.950000]         c4 86 f2 08
[   81.950000] sd 1:0:0:0: [sdb] ASC=0x47 ASCQ=0x0
[   81.950000] end_request: I/O error, dev sdb, sector 3297178114
[   81.950000] ata2: EH complete
[   81.950000] I/O error in filesystem ("md4") meta-data dev md4 block 0x188935388       ("xfs_trans_read_buf") error 5 buf count 4096
[   81.950000] Failed to recover EFIs on filesystem: md4
[   81.950000] XFS: log mount finish failed
[   99.270000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   99.270000] ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
[   99.270000] ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
[   99.300000] ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
[   99.320000] ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00
[   99.320000] usb usb1: configuration #1 chosen from 1 choice
[   99.320000] hub 1-0:1.0: USB hub found
[   99.320000] hub 1-0:1.0: 1 port detected
[  127.410000] warning: `proftpd' uses 32-bit capabilities (legacy support in use)


It seems some partitions are misaligned, but it should not be enough to no mount the RAID.

ps

Code:
  PID USER       VSZ STAT COMMAND
    1 root      3380 S    initng [runlevel/default]
    2 root         0 SW<  [kthreadd]
    3 root         0 SW<  [ksoftirqd/0]
    4 root         0 SW<  [events/0]
    5 root         0 SW<  [khelper]
    8 root         0 SW<  [async/mgr]
  127 root         0 SW<  [kblockd/0]
  132 root         0 SW<  [ata/0]
  133 root         0 SW<  [ata_aux]
  161 root         0 SW   [crypto]
  162 root         0 SW   [crypto_ret]
  170 root         0 SW<  [input-watchdog]
  179 root         0 SW   [pdflush]
  180 root         0 SW   [pdflush]
  181 root         0 SW<  [kswapd0]
  182 root         0 SW<  [aio/0]
  183 root         0 SW<  [unionfs_siod/0]
  184 root         0 SW<  [nfsiod]
  185 root         0 SW<  [cifsoplockd]
  187 root         0 SW<  [xfs_mru_cache]
  188 root         0 SW<  [xfslogd/0]
  189 root         0 SW<  [xfsdatad/0]
  190 root         0 SW<  [xfsconvertd/0]
  191 root         0 SW<  [crypto/0]
  490 root         0 SW<  [scsi_eh_0]
  493 root         0 SW<  [scsi_eh_1]
  503 root         0 SW<  [mtdblockd]
  510 root         0 SW<  [orion_spi]
  527 root         0 SW<  [kstriped]
  529 root         0 SW<  [kondemand/0]
  530 root         0 SW<  [kconservative/0]
  553 root         0 SW<  [rpciod/0]
  871 root         0 SW<  [md0_raid1]
  874 root         0 SW<  [kjournald]
 1091 root         0 SW<  [md1_raid1]
 1182 root         0 SW<  [md2_raid1]
 1273 root         0 SW<  [md3_raid1]
 1328 root         0 SW<  [kjournald]
 1331 root         0 SW<  [kjournald]
 1427 root         0 SW<  [khubd]
 1503 root      3372 S    /usr/sbin/thumbd
 1513 messageb  2472 S    /usr/bin/dbus-daemon --system --fork
 1514 root      1736 S <  /sbin/udevd --daemon
 1549 root      1688 S    /usr/sbin/syslogd -n -m 0
 1558 root      2788 S    /usr/sbin/klogd -n -c 1
 1619 root      1908 S    /sbin/dhcdbd --system
 2063 root      5852 S    /usr/sbin/hald --daemon=no --retain-privileges
 2066 root      2776 S    /sbin/getty 115200 ttyS0
 2083 root      4100 S    hald-runner
 2084 root     13976 S    /usr/sbin/NetworkManager
 2085 root      4524 S    /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
 2117 root     15752 S    /usr/bin/php-cgi
 2187 root     15752 S    /usr/bin/php-cgi
 2188 root     15752 S    /usr/bin/php-cgi
 2193 root      4000 S    /usr/sbin/sshd
 2202 root      4196 S    hald-addon-input: Listening on /dev/input/event0
 2203 root      4192 S    /usr/libexec/hald-addon-leds
 2205 root      4208 S    /usr/libexec/hald-addon-cpufreq
 2280 root      110m S    /usr/bin/python -OO /usr/lib/unicorn/run.py -c /etc/unicorn.conf
 2305 root      6828 S    sshd: root@pts/0
 2340 root      2432 R    -sh
 2344 root      6064 S    /usr/sbin/fan_controller --config-dir=/etc/fan_controller
 2356 root      1848 S    /usr/sbin/ntpd -sd
 2357 root      1692 S    /usr/sbin/ntpd -sd
 2490 root      5356 S    /bin/ipcommd
 2504 avahi     2932 S    avahi-daemon: running [LaCie-2big.local]
 2519 root      2964 S    /usr/sbin/cnid_metad -P /var/run/cnid_metad.pid
 2525 root      7116 S    /usr/sbin/afpd -P /var/run/afpd.pid -g nobody -c 25 -n "LaCie-2big"
 2549 root      1688 S    /usr/sbin/cron
 2550 root     29936 S    /usr/bin/transmission-daemon -f --config-dir /lacie/torrent_dir/transmission --pid-file /var/run/transmissio
 2573 root     17736 S    /usr/sbin/smbd -F
 2576 root      9636 S    /usr/sbin/nmbd -F
 2580 root     13444 S    /usr/sbin/winbindd -F
 2581 root     17736 S    /usr/sbin/smbd -F
 2582 root     13444 S    /usr/sbin/winbindd -F
 2595 root     10696 S    proftpd: (accepting connections)
 2598 root     39128 S    /usr/bin/python -OO /usr/lib/unicorn/run.py -c /etc/unicorn.conf
 2834 root      2848 R    ps


I hope with that info you can give me a hand!

Thanks much in advance,

Regards

Rui


Top
 Profile  
 
PostPosted: Mon Dec 30, 2013 10:12 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6014
There is something serious wrong with one of the harddisks. The dmesg output from [ 52.070000] to [ 81.950000] should not be there, the box is constantly resetting the ata interface, because it has problems to read the disk.
The data partition is raid0. I think your only chance to rescue your data is to create a lowlevel copy of the damaged disk using dd_rescue, or something like that, plug that in instead of the old one, and hope xfs_repair will be able to get the filesystem mountable.

BTW, creating a low level copy of a dying disk can take some time. Before you start it, make sure you can leave the system copying for several days.


Top
 Profile  
 
PostPosted: Mon Dec 30, 2013 10:47 pm 
Offline

Joined: Mon Oct 10, 2011 7:52 pm
Posts: 11
Thanks for your answer. And how can I know which one of the HDD can be damaged?

I really start to hate this NAS. I've some and that ones is always with troubles.

Another thing that is happening for long time, is the fact that I can't access through dashboard. Well, I can, but it doesn't accept my password at all, and I'm sure I'm putting the correct password. Also I tried other users, and it always deny me. Do you think that has anything common with this actual problem?

And one more thing, do you suggest to take out the HDD and do dd_rescue in a normal PC, correct?

Thanks much in advance,

Regards


Top
 Profile  
 
PostPosted: Mon Dec 30, 2013 11:02 pm 
Offline

Joined: Mon Oct 10, 2011 7:52 pm
Posts: 11
Hi Again,

i was thinking about my issue, and do you think it could be something regarding the SATA board? How can I mount the RAID out of the box with this HDD? I've some Linux servers, and I'm wondering how could do it, because maybe the problem is directly in the box. Now when it startup, in the first part of light blue blinking, the box does strange noise, like a damaged fan. I was thinking it could be the fan, but maybe it's something else.

I hope to hear your feedbacks.

regards


Top
 Profile  
 
PostPosted: Tue Dec 31, 2013 8:50 am 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6014
rmar wrote:
How can I know which one of the HDD can be damaged?
The log is talking about ata2. So I *guess* this is the disk in slot2.
Quote:
I really start to hate this NAS. I've some and that ones is always with troubles.
The firmware seems a bit fragile. But on the other hand, there are thousands (millions?) outside which never give problems.
The hardware is fine, at least from my sample. I have a 2Big2 in the basement, as my main server. It is running for 3 years now, without missing a beat. To be honest, it's not running Lacie OS, but Debian (Squeeze. One of these days I'll have to dig it out and upgrade the OS).
Quote:
Do you think that has anything common with this actual problem?
Don't think so. Of course a dying disk (or sata port) can give all kinds of problems, but the user settings are on a raid1 array, so it is rather robust.
Quote:
And one more thing, do you suggest to take out the HDD and do dd_rescue in a normal PC, correct?
Yes. Of course it can be done on the box itself, but then you'll need to inject an OS, as you can't run Lacie OS and have two disks inserted which cannot join.
rmar wrote:
i was thinking about my issue, and do you think it could be something regarding the SATA board?
It can't be excluded, but it's not my first suspect. Disks tend to die. Of course a sata port can also die, but that happens less often. Further it seems the other (raid1) partitions are assembled and mounted fine, which make me think the disk has some bad sectors, which only is a problem when *that* sector is accessed. A defective sata port wouldn't behave that way, I think.
Quote:
How can I mount the RAID out of the box with this HDD?
As it's raid0, you'll have to connect both disks. That can be sata, esata, usb or a combination. Assuming this are disks sdb and sdc, you can assemble the array with
Code:
mdadm --assemble /dev/md0 /dev/sdb2 /dev/sdc2
(If md0 is already in use you'll have to use another one)
Then mount it:
Code:
mkdir /tmp/mountpoint
mount -t xfs /dev/md0 /tmp/mountpoint -o ro


Top
 Profile  
 
PostPosted: Sun Jan 05, 2014 12:30 pm 
Offline

Joined: Mon Oct 10, 2011 7:52 pm
Posts: 11
Hi Mijzelf,

I think it's fair to give a feedback about the steps I did, and if the problem is solved or not.

In reality, what I did after your last post, was to take out the HDD and work them in Linux Ubuntu server. And after trying to save the HDD, doing some diagnosis and repairs, it was clear that one of the HDD were not ok. I tried a xfs_repair, and also some other tools, but all this tools want to do it in aggressive way.

So, I bought a new HDD and did a low level copy. And I had luck. Only 1Mb of the entire HDD were with errors, and after almost an entire day doing the copy from one side to another, I was able to mount the HDD and everything worked again.

The other issue regarding I couldn't get into my account through web portal continued... And this is not the first time that happens to me. Anyway, and after I backup my data, a compile a new capsule, and install it, and then the web portal accepts again the username and old password!!

So, thanks much for all the support, which was absolutely helpful.

Regards
Rui


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group