Error creating Raid 5

Re: Error creating Raid 5

Postby b1gnas » Sun Apr 19, 2015 11:56 am

Code: Select all
root@fvdwsl-base:/ # mdadm --stop /dev/md0
mdadm: fail to stop array /dev/md0: Device or resource busy
root@fvdwsl-base:/ # umount /dev/md0
umount: /dev/md0: not mounted
root@fvdwsl-base:/ # mdadm --stop /dev/md0
mdadm: fail to stop array /dev/md0: Device or resource busy


:hairpull
b1gnas
 
Posts: 145
Joined: Fri Apr 17, 2015 8:11 am

Re: Error creating Raid 5

Postby Jocko » Sun Apr 19, 2015 12:03 pm

Try again after killing noflush daemon
Code: Select all
killall noflushd
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Error creating Raid 5

Postby b1gnas » Sun Apr 19, 2015 12:19 pm

nothing

Code: Select all
root@fvdwsl-base:/ # killall noflushd
root@fvdwsl-base:/ # killall smbd
root@fvdwsl-base:/ # umount /dev/md0
umount: /dev/md0: not mounted
root@fvdwsl-base:/ # mdadm -stop /dev/md0
mdadm: -s does not set the mode, and so cannot be the first option.
root@fvdwsl-base:/ # mdadm --stop /dev/md0
mdadm: fail to stop array /dev/md0: Device or resource busy


i'm trying to reboot but it doesn't
b1gnas
 
Posts: 145
Joined: Fri Apr 17, 2015 8:11 am

Re: Error creating Raid 5

Postby Jocko » Sun Apr 19, 2015 12:23 pm

So reset only the mdadm.conf file and reboot the nas.

The raid device won't be rebuilt at booting.

In this case before building again the raid you need to erase the raid superblocks.
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Error creating Raid 5

Postby b1gnas » Sun Apr 19, 2015 1:02 pm

nada :sob

Code: Select all
root@fvdwsl-base:/ # umount /dev/sdb8
root@fvdwsl-base:/ # umount /dev/sdc8
root@fvdwsl-base:/ # umount /dev/sde8
root@fvdwsl-base:/ # umount /dev/sdf8
umount: /dev/sdf8: not found
root@fvdwsl-base:/ # umount /dev/sdd8
root@fvdwsl-base:/ # mdadm --create /dev/md0 --level=5 --raid-devices=5 missing
/dev/sdb8 /dev/sdc8 /dev/sdd8 /dev/sde8
mdadm: /dev/sdb8 appears to contain an ext2fs file system
    size=973474740K  mtime=Sun Apr 19 16:42:09 2015
mdadm: /dev/sdc8 appears to contain an ext2fs file system
    size=973474740K  mtime=Sun Apr 19 16:42:10 2015
mdadm: /dev/sdd8 appears to contain an ext2fs file system
    size=973474740K  mtime=Sun Apr 19 16:42:10 2015
mdadm: /dev/sde8 appears to contain an ext2fs file system
    size=973474740K  mtime=Sun Apr 19 16:42:10 2015
Continue creating array? yes
mdadm: array /dev/md0 started.
root@fvdwsl-base:/ # cat /proc/mdstat
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid5 sde8[4] sdd8[3] sdc8[2] sdb8[1]
      3893898496 blocks level 5, 64k chunk, algorithm 2 [5/4] [_UUUU]
     
unused devices: <none>
root@fvdwsl-base:/ # cat /etc/mdadm.0
CREATE owner=root group=root mode=0666 auto=yes
PROGRAM /usr/bin/mdadm-events
DEVICE /dev/sd[abcde]8
root@fvdwsl-base:/ # cat /etc/mdadm.0 > /etc/mdadm.conf
root@fvdwsl-base:/ # mdadm --detail --scan >> /etc/mdadm.conf
root@fvdwsl-base:/ # cat /proc/mdstat
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid5 sde8[4] sdd8[3] sdc8[2] sdb8[1]
      3893898496 blocks level 5, 64k chunk, algorithm 2 [5/4] [_UUUU]
     
unused devices: <none>
root@fvdwsl-base:/ # cat /proc/mdstat
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid5 sde8[4] sdd8[3] sdc8[2] sdb8[1]
      3893898496 blocks level 5, 64k chunk, algorithm 2 [5/4] [_UUUU]
     
unused devices: <none>
root@fvdwsl-base:/ # mke2fs -t ext3 -j -m 1 /dev/md0
mke2fs 1.42.11 (09-Jul-2014)
Creating filesystem with 973474624 4k blocks and 243376128 inodes
Filesystem UUID: 98090892-0088-4eb4-9d19-2f2de0cfe965
Superblock backups stored on blocks:
   32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
   4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
   102400000, 214990848, 512000000, 550731776, 644972544

Allocating group tables: done                           
Writing inode tables: done                           
ext2fs_mkdir: Attempt to read block from filesystem resulted in short read while creating root dir
b1gnas
 
Posts: 145
Joined: Fri Apr 17, 2015 8:11 am

Re: Error creating Raid 5

Postby Jocko » Sun Apr 19, 2015 1:13 pm

:scratch
Jocko wrote:Before rebuilding the raid, use the SMART menu to check if there is nothing wrong with these 2 disks.
Did you check your disks ?(attributes table and short test)

What happens if you try to format sdc8
Code: Select all
mke2fs -t ext3 -j -m 1 /dev/sdc8
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Error creating Raid 5

Postby Jocko » Sun Apr 19, 2015 1:23 pm

Reread your mdstat output, there is something amazing, you should have a line [>....................] recovery = xx% (xxxxx/xxxxxx) finish=xxmin speed=xxxxxK/sec
and it seems to be missing :?

So can you post the dmesg output.


---edit---
post also output of lsmod.
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Error creating Raid 5

Postby b1gnas » Sun Apr 19, 2015 2:09 pm

i deleted the raid again, then

Code: Select all
root@fvdwsl-base:/ # mke2fs -t ext3 -j -m 1 /dev/sdc8
mke2fs 1.42.11 (09-Jul-2014)
/dev/sdc8 contains a ext3 file system
   last mounted on Sun Apr 19 17:27:58 2015
Proceed anyway? (y,n) y
/dev/sdc8 is mounted; will not make a filesystem here!
root@fvdwsl-base:/ # umount /dev/sdc8
root@fvdwsl-base:/ # mke2fs -t ext3 -j -m 1 /dev/sdc8
mke2fs 1.42.11 (09-Jul-2014)
/dev/sdc8 contains a ext3 file system
   last mounted on Sun Apr 19 17:27:58 2015
Proceed anyway? (y,n) y
Creating filesystem with 243368685 4k blocks and 60850176 inodes
Filesystem UUID: 65ee5455-2221-453a-9646-69021ae35b75
Superblock backups stored on blocks:
   32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
   4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
   102400000, 214990848

Allocating group tables: done                           
Writing inode tables: done                           
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done     


Code: Select all
root@fvdwsl-base:/ # dmesg
Booting Linux on physical CPU 0x0
Linux version 3.9.5 (root@fvdwsl-5big2.local) (gcc version 4.8.1 (GCC) ) #25 Thu Feb 27 22:22:32 GMT+1 2014
CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: LaCie 5Big1 Network
Clearing invalid memory bank 0KB@0x00000000
Clearing invalid memory bank 0KB@0x00000000
Clearing invalid memory bank 0KB@0x00000000
Ignoring unrecognised tag 0x00000000
Ignoring unrecognised tag 0x00000000
Ignoring unrecognised tag 0x00000000
Ignoring unrecognised tag 0x41000403
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat c039aed8, node_mem_map c03cb000
  Normal zone: 256 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 32768 pages, LIFO batch:7
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: console=ttyS0,115200 root=/dev/sda7 ro boardType=mv88F5281 productType=5Big reset=0
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
__ex_table already sorted, skipping sort
Memory: 128MB = 128MB total
Memory: 126024k/126024k available, 5048k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc0355fdc   (3384 kB)
      .init : 0xc0356000 - 0xc0374ebc   ( 124 kB)
      .data : 0xc0376000 - 0xc039bee0   ( 152 kB)
       .bss : 0xc039bee0 - 0xc03ca8dc   ( 187 kB)
NR_IRQS:64
sched_clock: 32 bits at 166MHz, resolution 5ns, wraps every 25769ms
Console: colour dummy device 80x30
Calibrating delay loop... 498.89 BogoMIPS (lpj=2494464)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0xc028ffc8 - 0xc0290004
NET: Registered protocol family 16
DMA: preallocated 1024 KiB pool for atomic coherent allocations
Register Driver 'dummy'
5big1 init started
Orion ID: MV88F5281-D0. TCLK=166666667.
Orion: Applying 5281 D0 WFI workaround.
5big1 init 1
initial MPP regs: 00000003 00000000 00170000
  final MPP regs: 00000003 00000000 00170000
5big1 init 2
net5big: powering up SATA drives
5big1 init 3
5big1 init 4
5big1 init 5
5big1 init 6
5big1 init 7
5big1 init 8
5big1 init 9
5big1 init 10
5big1 init 11
5big1 init 12
net5big: turning off power-off control GPIO
net5big: Flash writing is not yet supported.
5big1 init end
orion_gpio_is_valid: invalid GPIO 20
orion_gpio_is_valid: invalid GPIO 20
net5big_pci_preinit failed to gpio_request 20
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0000:00:00.0: [11ab:5281] type 00 class 0x058000
pci 0000:00:00.0: reg 10: [mem 0xf1000000-0xf10fffff 64bit pref]
pci 0000:00:00.0: reg 18: [mem 0x00000000-0x07ffffff]
PCI: bus0: Fast back to back transfers disabled
pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
PCI host bridge to bus 0000:01
pci_bus 0000:01: root bus resource [mem 0xe8000000-0xefffffff]
pci_bus 0000:01: root bus resource [io  0x10000-0x1ffff]
pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
pci 0000:01:00.0: [11ab:5281] type 00 class 0x058000
pci 0000:01:00.0: reg 10: [mem 0x00000000-0x07ffffff 64bit pref]
pci 0000:01:00.0: reg 18: [mem 0x10000000-0x1fffffff 64bit pref]
pci 0000:01:00.0: reg 20: [mem 0xf1000000-0xf10fffff 64bit]
pci 0000:01:00.0: reg 30: [mem 0xe0000000-0xe7ffffff pref]
pci 0000:01:00.0: supports D1 D2
pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot
pci 0000:01:07.0: [11ab:6081] type 00 class 0x010000
pci 0000:01:07.0: reg 10: [mem 0x40000000-0x400fffff 64bit]
pci 0000:01:07.0: reg 18: [io  0xf0100000-0xf01000ff]
PCI: bus1: Fast back to back transfers enabled
pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
pci 0000:01:07.0: BAR 0: assigned [mem 0xe8000000-0xe80fffff 64bit]
pci 0000:01:07.0: BAR 2: assigned [io  0x10000-0x100ff]
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
libata version 3.00 loaded.
Register Driver 'Generic PHY'
Register Driver 'usbfs'
usbcore: registered new interface driver usbfs
Register Driver 'hub'
usbcore: registered new interface driver hub
Register Driver 'usb'
usbcore: registered new device driver usb
Register Driver 'i2c-gpio'
Switching to clocksource orion_clocksource
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
PCI: CLS 32 bytes, default 32
Register Driver 'alarmtimer'
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
msgmni has been set to 246
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Register Driver 'mv_xor'
mv_xor mv_xor.0: Marvell shared XOR driver
mv_xor mv_xor.0: Self-test copy failed compare, disabling
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
Register Driver 'serial8250'
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 3) is a 16550A
console [ttyS0] enabled
Register Driver 'serial'
brd: module loaded
loop: module loaded
Register Driver 'at24'
Register Driver 'eeprom'
Register Driver 'sd'
Register Driver 'ahci'
Register Driver 'sata_mv'
sata_mv 0000:01:07.0: version 1.28
sata_mv 0000:01:07.0: Gen-II 32 slots 8 ports SCSI mode IRQ via INTx
scsi0 : sata_mv
scsi1 : sata_mv
scsi2 : sata_mv
scsi3 : sata_mv
scsi4 : sata_mv
scsi5 : sata_mv
scsi6 : sata_mv
scsi7 : sata_mv
ata1: SATA max UDMA/133 mmio m1048576@0xe8000000 port 0xe8022000 irq 52
ata2: SATA max UDMA/133 mmio m1048576@0xe8000000 port 0xe8024000 irq 52
ata3: SATA max UDMA/133 mmio m1048576@0xe8000000 port 0xe8026000 irq 52
ata4: SATA max UDMA/133 mmio m1048576@0xe8000000 port 0xe8028000 irq 52
ata5: SATA max UDMA/133 mmio m1048576@0xe8000000 port 0xe8032000 irq 52
ata6: SATA max UDMA/133 mmio m1048576@0xe8000000 port 0xe8034000 irq 52
ata7: SATA max UDMA/133 mmio m1048576@0xe8000000 port 0xe8036000 irq 52
ata8: SATA max UDMA/133 mmio m1048576@0xe8000000 port 0xe8038000 irq 52
Register Driver 'sata_mv'
sata_mv sata_mv.0: version 1.28
sata_mv sata_mv.0: cannot get optional clkdev
sata_mv sata_mv.0: slots 32 ports 5
scsi8 : sata_mv
scsi9 : sata_mv
scsi10 : sata_mv
scsi11 : sata_mv
scsi12 : sata_mv
ata9: SATA max UDMA/133 irq 29
ata10: SATA max UDMA/133 irq 29
ata11: SATA max UDMA/133 irq 29
ata12: SATA max UDMA/133 irq 29
ata13: SATA max UDMA/133 irq 29
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ipddp.c:v0.01 8/28/97 Bradford W. Johnson <johns393@maroon.tc.umn.edu>
ipddp0: Appletalk-IP Encap. mode by Bradford W. Johnson <johns393@maroon.tc.umn.edu>
Register Driver 'mv643xx_eth'
mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
libphy: mv643xx_eth smi: probed
Register Driver 'mv643xx_eth_port'
mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:4b:86:ea:3a
mousedev: PS/2 mouse device common for all mice
Register Driver 'rtc-ds1307'
Register Driver 'rtc-ds1374'
Register Driver 'rtc-rs5c372'
i2c /dev entries driver
Register Driver 'mv64xxx_i2c'
rtc-rs5c372 0-0032: rs5c372b found, 24hr, driver version 0.6
rtc-rs5c372 0-0032: rtc core: registered rtc-rs5c372 as rtc0
at24 0-0050: 1024 byte 24c08 EEPROM, writable, 1 bytes/write
Register Driver 'g762'
g762 probe started
g762 probe 1
g762 probe 2
g762 probe 3
g762 probe 4
g762 probe 5
g762 probe 6
g762 probe 7
Register Driver 'gpio-fan'
Register Driver 'lm75'
Register Driver 'lm77'
Register Driver 'leds-gpio'
Register Driver 'mv_crypto'
Netfilter messages via NETLINK v0.30.
IPv4 over IPv4 tunneling driver
TCP: cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 5
VFP support v0.3: implementor 41 architecture 1 part 10 variant 9 rev 0
console [netcon0] enabled
netconsole: network logging started
rtc-rs5c372 0-0032: setting system clock to 2015-04-19 15:26:45 UTC (1429457205)
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATA-8: ST31000340AS, SD15, max UDMA/133
ata1.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata1.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access     ATA      ST31000340AS     SD15 PQ: 0 ANSI: 5
fvdw1 disk index before get_sd_name = 0
device-name= sata_mv
fvdw2 disk index after get_sd_name = 4
fvdw3 prefix[0]=s  prefix[1]=d
fvdw4 diskname = sde
sd 0:0:0:0: [sde] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
sd 0:0:0:0: [sde] Write Protect is off
sd 0:0:0:0: [sde] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sde: sde4 < sde5 sde6 sde7 sde8 >
sd 0:0:0:0: [sde] Attached SCSI disk
ata9: failed to resume link (SControl 0)
ata9: SATA link down (SStatus 0 SControl 0)
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.00: ATA-8: Hitachi HDT721010SLA360, ST6OA3AA, max UDMA/133
ata2.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata2.00: configured for UDMA/133
scsi 1:0:0:0: Direct-Access     ATA      Hitachi HDT72101 ST6O PQ: 0 ANSI: 5
fvdw1 disk index before get_sd_name = 1
device-name= sata_mv
fvdw2 disk index after get_sd_name = 3
fvdw3 prefix[0]=s  prefix[1]=d
fvdw4 diskname = sdd
sd 1:0:0:0: [sdd] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
sd 1:0:0:0: [sdd] Write Protect is off
sd 1:0:0:0: [sdd] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdd: sdd4 < sdd5 sdd6 sdd7 sdd8 >
sd 1:0:0:0: [sdd] Attached SCSI disk
ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata3.00: ATA-8: Hitachi HDT721010SLA360, ST6OA3AA, max UDMA/133
ata3.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata3.00: configured for UDMA/133
scsi 2:0:0:0: Direct-Access     ATA      Hitachi HDT72101 ST6O PQ: 0 ANSI: 5
fvdw1 disk index before get_sd_name = 2
device-name= sata_mv
fvdw2 disk index after get_sd_name = 2
fvdw3 prefix[0]=s  prefix[1]=d
fvdw4 diskname = sdc
sd 2:0:0:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
sd 2:0:0:0: [sdc] Write Protect is off
sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdc: sdc4 < sdc5 sdc6 sdc7 sdc8 >
sd 2:0:0:0: [sdc] Attached SCSI disk
ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata4.00: ATA-9: ST1000DM003-1ER162, CC45, max UDMA/133
ata4.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata4.00: configured for UDMA/133
scsi 3:0:0:0: Direct-Access     ATA      ST1000DM003-1ER1 CC45 PQ: 0 ANSI: 5
fvdw1 disk index before get_sd_name = 3
device-name= sata_mv
fvdw2 disk index after get_sd_name = 1
fvdw3 prefix[0]=s  prefix[1]=d
fvdw4 diskname = sdb
sd 3:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
sd 3:0:0:0: [sdb] 4096-byte physical blocks
sd 3:0:0:0: [sdb] Write Protect is off
sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdb: sdb4 < sdb5 sdb6 sdb7 sdb8 >
sd 3:0:0:0: [sdb] Attached SCSI disk
ata5: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata5.00: ATA-8: ST31000333AS, LC15, max UDMA/133
ata5.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata5.00: configured for UDMA/133
scsi 4:0:0:0: Direct-Access     ATA      ST31000333AS     LC15 PQ: 0 ANSI: 5
fvdw1 disk index before get_sd_name = 4
device-name= sata_mv
fvdw2 disk index after get_sd_name = 0
fvdw3 prefix[0]=s  prefix[1]=d
fvdw4 diskname = sda
sd 4:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
sd 4:0:0:0: [sda] Write Protect is off
sd 4:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 4:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 >
sd 4:0:0:0: [sda] Attached SCSI disk
ata6: SATA link down (SStatus 0 SControl 300)
ata7: SATA link down (SStatus 0 SControl 300)
ata8: SATA link down (SStatus 0 SControl 300)
ata10: failed to resume link (SControl 0)
ata10: SATA link down (SStatus 0 SControl 0)
ata11: failed to resume link (SControl 0)
ata11: SATA link down (SStatus 0 SControl 0)
ata12: failed to resume link (SControl 0)
ata12: SATA link down (SStatus 0 SControl 0)
ata13: failed to resume link (SControl 0)
ata13: SATA link down (SStatus 0 SControl 0)
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda7): mounted filesystem with ordered data mode
VFS: Mounted root (ext3 filesystem) readonly on device 8:71.
Freeing init memory: 120K
EXT3-fs (sda7): warning: checktime reached, running e2fsck is recommended
EXT3-fs (sda7): using internal journal
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda1): warning: checktime reached, running e2fsck is recommended
EXT3-fs (sda1): using internal journal
EXT3-fs (sda1): recovery complete
EXT3-fs (sda1): mounted filesystem with ordered data mode
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda5): warning: checktime reached, running e2fsck is recommended
EXT3-fs (sda5): using internal journal
EXT3-fs (sda5): recovery complete
EXT3-fs (sda5): mounted filesystem with ordered data mode
Adding 514076k swap on /dev/sda3.  Priority:-1 extents:1 across:514076k
NTFS driver 2.1.30 [Flags: R/W MODULE].
fuse init (API version 7.21)
Register Driver 'usblp'
usbcore: registered new interface driver usblp
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
iSCSI Enterprise Target Software - version trunk
iscsi_trgt: Registered io type fileio
iscsi_trgt: Registered io type blockio
iscsi_trgt: Registered io type nullio
Loading iSCSI transport class v2.0-870.
iscsi: registered transport (tcp)
Linux video capture interface: v2.00
uvcvideo: Unable to create debugfs directory
Register Driver 'uvcvideo'
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
raid6: int32x1     24 MB/s
raid6: int32x2     37 MB/s
raid6: int32x4     44 MB/s
raid6: int32x8     56 MB/s
raid6: using algorithm int32x8 (56 MB/s)
raid6: using intx1 recovery algorithm
async_tx: api initialized (async)
xor: measuring software checksum speed
   arm4regs  :   429.200 MB/sec
   8regs     :   336.800 MB/sec
   32regs    :   496.800 MB/sec
xor: using function: 32regs (496.800 MB/sec)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
md: raid10 personality registered for level 10
ata4.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x6 frozen
ata4.00: failed command: READ FPDMA QUEUED
ata4.00: cmd 60/20:00:00:00:00/00:00:00:00:00/40 tag 0 ncq 16384 in
         res 40/00:01:09:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
ata4.00: status: { DRDY }
ata4: hard resetting link
ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata4.00: configured for UDMA/133
ata4: EH complete
EXT3-fs (sda8): (no)user_xattr options not supported
EXT3-fs (sda8): (no)acl options not supported
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda8): warning: checktime reached, running e2fsck is recommended
EXT3-fs (sda8): using internal journal
EXT3-fs (sda8): recovery complete
EXT3-fs (sda8): mounted filesystem with ordered data mode
EXT3-fs (sdc8): (no)user_xattr options not supported
EXT3-fs (sdc8): (no)acl options not supported
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sdc8): using internal journal
EXT3-fs (sdc8): mounted filesystem with ordered data mode
EXT3-fs (sdd8): (no)user_xattr options not supported
EXT3-fs (sdd8): (no)acl options not supported
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sdd8): using internal journal
EXT3-fs (sdd8): mounted filesystem with ordered data mode
EXT3-fs (sde8): (no)user_xattr options not supported
EXT3-fs (sde8): (no)acl options not supported
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sde8): using internal journal
EXT3-fs (sde8): mounted filesystem with ordered data mode
udevd (991): /proc/991/oom_adj is deprecated, please use /proc/991/oom_score_adj instead.
udev: starting version 130
mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
ata4.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x6 frozen
ata4.00: failed command: READ FPDMA QUEUED
ata4.00: cmd 60/00:00:98:03:64/02:00:00:00:00/40 tag 0 ncq 262144 in
         res 40/00:ff:00:00:00/00:00:00:00:00/40 Emask 0x4 (timeout)
ata4.00: status: { DRDY }
ata4: hard resetting link
ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata4.00: configured for UDMA/133
ata4.00: device reported invalid CHS sector 0
ata4: EH complete
ata4.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x6 frozen
ata4.00: failed command: READ FPDMA QUEUED
ata4.00: cmd 60/00:00:98:03:64/02:00:00:00:00/40 tag 0 ncq 262144 in
         res 40/00:ff:00:00:00/00:00:00:00:00/40 Emask 0x4 (timeout)
ata4.00: status: { DRDY }
ata4: hard resetting link
ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata4.00: configured for UDMA/133
ata4.00: device reported invalid CHS sector 0
ata4: EH complete
ata4.00: NCQ disabled due to excessive errors
ata4.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x6 frozen
ata4.00: failed command: READ FPDMA QUEUED
ata4.00: cmd 60/00:00:98:05:64/01:00:00:00:00/40 tag 0 ncq 131072 in
         res 40/00:ff:00:00:00/00:00:00:00:00/40 Emask 0x4 (timeout)
ata4.00: status: { DRDY }
ata4: hard resetting link
ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata4.00: configured for UDMA/133
ata4.00: device reported invalid CHS sector 0
ata4: EH complete
ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata4.00: failed command: IDENTIFY DEVICE
ata4.00: cmd ec/00:01:00:00:00/00:00:00:00:00/00 tag 0 pio 512 in
         res 40/00:ff:00:00:00/00:00:00:00:00/40 Emask 0x4 (timeout)
ata4.00: status: { DRDY }
ata4: hard resetting link
ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata4.00: configured for UDMA/133
ata4: EH complete
ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata4.00: failed command: IDENTIFY DEVICE
ata4.00: cmd ec/00:01:00:00:00/00:00:00:00:00/00 tag 0 pio 512 in
         res 40/00:01:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata4.00: status: { DRDY }
ata4: hard resetting link
ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata4.00: configured for UDMA/133
ata4: EH complete
ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata4.00: failed command: SMART
ata4.00: cmd b0/d0:01:00:4f:c2/00:00:00:00:00/00 tag 0 pio 512 in
         res 40/00:01:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata4.00: status: { DRDY }
ata4: hard resetting link
ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata4.00: configured for UDMA/133
ata4: EH complete
root@fvdwsl-base:/ #


Code: Select all
root@fvdwsl-base:/ # lsmod
raid10 38932 0 - Live 0xbf255000
raid456 57610 0 - Live 0xbf241000
async_raid6_recov 4754 1 raid456, Live 0xbf23c000
async_memcpy 1168 2 raid456,async_raid6_recov, Live 0xbf238000
async_pq 3686 2 raid456,async_raid6_recov, Live 0xbf234000
async_xor 2557 3 raid456,async_raid6_recov,async_pq, Live 0xbf230000
xor 3821 1 async_xor, Live 0xbf22c000
async_tx 1948 5 raid456,async_raid6_recov,async_memcpy,async_pq,async_xor, Live 0xbf228000
raid6_pq 83250 2 async_raid6_recov,async_pq, Live 0xbf210000
raid1 25990 0 - Live 0xbf205000
raid0 6859 0 - Live 0xbf200000
md_mod 97860 4 raid10,raid456,raid1,raid0, Live 0xbf1df000
uvcvideo 60902 0 - Live 0xbf1ca000
videobuf2_vmalloc 2469 1 uvcvideo, Live 0xbf1c6000
videobuf2_memops 1256 1 videobuf2_vmalloc, Live 0xbf1c2000
videobuf2_core 22544 1 uvcvideo, Live 0xbf1b8000
v4l2_common 8288 0 - Live 0xbf1b1000
v4l2_int_device 1906 0 - Live 0xbf1ad000
videodev 85579 3 uvcvideo,videobuf2_core,v4l2_common, Live 0xbf18f000
iscsi_tcp 7345 0 - Live 0xbf189000
libiscsi_tcp 11130 1 iscsi_tcp, Live 0xbf182000
libiscsi 29755 2 iscsi_tcp,libiscsi_tcp, Live 0xbf174000
scsi_transport_iscsi 32871 2 iscsi_tcp,libiscsi, Live 0xbf163000
iscsi_trgt 96019 0 - Live 0xbf143000 (O)
nfsd 81372 1 - Live 0xbf126000
exportfs 2825 1 nfsd, Live 0xbf122000
nfs 104468 0 - Live 0xbf0f9000
lockd 57065 2 nfsd,nfs, Live 0xbf0e3000
sunrpc 156449 3 nfsd,nfs,lockd, Live 0xbf0a9000
usblp 9297 0 - Live 0xbf0a2000
fuse 60769 0 - Live 0xbf08b000
ntfs 202409 0 - Live 0xbf050000
isofs 21978 0 - Live 0xbf046000
cifs 234559 0 - Live 0xbf000000
root@fvdwsl-base:/ #


Code: Select all
SMART Information and device Tests

Disks:   sda
 
Model:   Seagate Barracuda 7200.11
Device:   ST31000333AS
Smart status:   Enabled
Health Test:   PASSED




SMART Attributes Status
Id   Attribute Name   Flag   Value   Worst value   Threshold   Tipo   Stato   Raw data
1   Raw_Read_Error_Rate   0x000f   119   096   006   Pre-fail   Ok   216809652
3   Spin_Up_Time   0x0003   092   092   000   Pre-fail   Ok   0
4   Start_Stop_Count   0x0032   097   097   020   Old_age   Ok   3220
5   Reallocated_Sector_Ct   0x0033   100   100   036   Pre-fail   Ok   4
7   Seek_Error_Rate   0x000f   075   060   030   Pre-fail   Ok   35830214
9   Power_On_Hours   0x0032   089   089   000   Old_age   Ok   10142
10   Spin_Retry_Count   0x0013   100   100   097   Pre-fail   Ok   3
12   Power_Cycle_Count   0x0032   100   037   020   Old_age   Ok   691
184   End-to-End_Error   0x0032   100   100   099   Old_age   Ok   0
187   Reported_Uncorrect   0x0032   100   100   000   Old_age   Ok   0
188   Command_Timeout   0x0032   100   099   000   Old_age   Ok   1
189   High_Fly_Writes   0x003a   001   001   000   Old_age   Ok   905
190   Airflow_Temperature_Cel   0x0022   056   037   045   Old_age   In_the_past   44 (9 202 44 42 0)
194   Temperature_Celsius   0x0022   044   063   000   Old_age   Ok   44 (0 14 0 0 0)
195   Hardware_ECC_Recovered   0x001a   037   023   000   Old_age   Ok   216809652
197   Current_Pending_Sector   0x0012   100   100   000   Old_age   Ok   0
198   Offline_Uncorrectable   0x0010   100   100   000   Old_age   Ok   0
199   UDMA_CRC_Error_Count   0x003e   200   200   000   Old_age   Ok   0


Code: Select all
SMART Information and device Tests

Disks:   sdb
 
Model:   Seagate Barracuda 7200.14 (AF)
Device:   ST1000DM003-1ER162
Smart status:   Enabled
Health Test:   PASSED




SMART Attributes Status
Id   Attribute Name   Flag   Value   Worst value   Threshold   Tipo   Stato   Raw data
1   Raw_Read_Error_Rate   0x000f   108   100   006   Pre-fail   Ok   15215776
3   Spin_Up_Time   0x0003   098   097   000   Pre-fail   Ok   0
4   Start_Stop_Count   0x0032   100   100   020   Old_age   Ok   40
5   Reallocated_Sector_Ct   0x0033   100   100   010   Pre-fail   Ok   0
7   Seek_Error_Rate   0x000f   100   253   030   Pre-fail   Ok   107044
9   Power_On_Hours   0x0032   100   100   000   Old_age   Ok   27
10   Spin_Retry_Count   0x0013   100   100   097   Pre-fail   Ok   0
12   Power_Cycle_Count   0x0032   100   100   020   Old_age   Ok   31
183   Runtime_Bad_Block   0x0032   093   093   000   Old_age   Ok   7
184   End-to-End_Error   0x0032   100   100   099   Old_age   Ok   0
187   Reported_Uncorrect   0x0032   100   100   000   Old_age   Ok   0
188   Command_Timeout   0x0032   088   088   000   Old_age   Ok   35 35 38
189   High_Fly_Writes   0x003a   100   100   000   Old_age   Ok   0
190   Airflow_Temperature_Cel   0x0022   062   057   045   Old_age   Ok   38 (Min/Max 36/38)
191   G-Sense_Error_Rate   0x0032   100   100   000   Old_age   Ok   0
192   Power-Off_Retract_Count   0x0032   100   100   000   Old_age   Ok   17
193   Load_Cycle_Count   0x0032   100   100   000   Old_age   Ok   119
194   Temperature_Celsius   0x0022   038   043   000   Old_age   Ok   38 (0 18 0 0 0)
197   Current_Pending_Sector   0x0012   100   100   000   Old_age   Ok   0
198   Offline_Uncorrectable   0x0010   100   100   000   Old_age   Ok   0
199   UDMA_CRC_Error_Count   0x003e   198   198   000   Old_age   Ok   16
240   Head_Flying_Hours   0x0000   100   253   000   Old_age   Ok   5h+06m+25.574s
241   Total_LBAs_Written   0x0000   100   253   000   Old_age   Ok   76299410
242   Total_LBAs_Read   0x0000   100   253   000   Old_age   Ok   10367466


Code: Select all
SMART Information and device Tests

Disks:   sdc
 
Model:   Hitachi Deskstar 7K1000.B
Device:   Hitachi HDT721010SLA360
Smart status:   Enabled
Health Test:   PASSED




SMART Attributes Status
Id   Attribute Name   Flag   Value   Worst value   Threshold   Tipo   Stato   Raw data
1   Raw_Read_Error_Rate   0x000b   100   100   016   Pre-fail   Ok   0
2   Throughput_Performance   0x0005   129   129   054   Pre-fail   Ok   125
3   Spin_Up_Time   0x0007   120   120   024   Pre-fail   Ok   476 (Average 475)
4   Start_Stop_Count   0x0012   100   100   000   Old_age   Ok   83
5   Reallocated_Sector_Ct   0x0033   100   100   005   Pre-fail   Ok   0
7   Seek_Error_Rate   0x000b   100   100   067   Pre-fail   Ok   0
8   Seek_Time_Performance   0x0005   125   125   020   Pre-fail   Ok   33
9   Power_On_Hours   0x0012   100   100   000   Old_age   Ok   2207
10   Spin_Retry_Count   0x0013   100   100   060   Pre-fail   Ok   0
12   Power_Cycle_Count   0x0032   100   100   000   Old_age   Ok   77
192   Power-Off_Retract_Count   0x0032   100   100   000   Old_age   Ok   87
193   Load_Cycle_Count   0x0012   100   100   000   Old_age   Ok   87
194   Temperature_Celsius   0x0002   153   153   000   Old_age   Ok   39 (Min/Max 23/67)
196   Reallocated_Event_Count   0x0032   100   100   000   Old_age   Ok   0
197   Current_Pending_Sector   0x0022   100   100   000   Old_age   Ok   0
198   Offline_Uncorrectable   0x0008   100   100   000   Old_age   Ok   0
199   UDMA_CRC_Error_Count   0x000a   200   200   000   Old_age   Ok   0


Code: Select all
SMART Information and device Tests

Disks:   sdd
 
Model:   Hitachi Deskstar 7K1000.B
Device:   Hitachi HDT721010SLA360
Smart status:   Enabled
Health Test:   PASSED




SMART Attributes Status
Id   Attribute Name   Flag   Value   Worst value   Threshold   Tipo   Stato   Raw data
1   Raw_Read_Error_Rate   0x000b   100   100   016   Pre-fail   Ok   0
2   Throughput_Performance   0x0005   131   131   054   Pre-fail   Ok   116
3   Spin_Up_Time   0x0007   119   119   024   Pre-fail   Ok   474 (Average 485)
4   Start_Stop_Count   0x0012   100   100   000   Old_age   Ok   80
5   Reallocated_Sector_Ct   0x0033   100   100   005   Pre-fail   Ok   0
7   Seek_Error_Rate   0x000b   100   100   067   Pre-fail   Ok   0
8   Seek_Time_Performance   0x0005   123   123   020   Pre-fail   Ok   34
9   Power_On_Hours   0x0012   100   100   000   Old_age   Ok   2207
10   Spin_Retry_Count   0x0013   100   100   060   Pre-fail   Ok   0
12   Power_Cycle_Count   0x0032   100   100   000   Old_age   Ok   77
192   Power-Off_Retract_Count   0x0032   100   100   000   Old_age   Ok   82
193   Load_Cycle_Count   0x0012   100   100   000   Old_age   Ok   82
194   Temperature_Celsius   0x0002   157   157   000   Old_age   Ok   38 (Min/Max 23/67)
196   Reallocated_Event_Count   0x0032   100   100   000   Old_age   Ok   0
197   Current_Pending_Sector   0x0022   100   100   000   Old_age   Ok   0
198   Offline_Uncorrectable   0x0008   100   100   000   Old_age   Ok   0
199   UDMA_CRC_Error_Count   0x000a   200   200   000   Old_age   Ok   0


Code: Select all
SMART Information and device Tests

Disks:   sde
 
Model:   Seagate Barracuda 7200.11
Device:   ST31000340AS
Smart status:   Enabled
Health Test:   PASSED




SMART Attributes Status
Id   Attribute Name   Flag   Value   Worst value   Threshold   Tipo   Stato   Raw data
1   Raw_Read_Error_Rate   0x000f   119   099   006   Pre-fail   Ok   217811054
3   Spin_Up_Time   0x0003   092   090   000   Pre-fail   Ok   0
4   Start_Stop_Count   0x0032   100   100   020   Old_age   Ok   236
5   Reallocated_Sector_Ct   0x0033   100   100   036   Pre-fail   Ok   0
7   Seek_Error_Rate   0x000f   059   058   030   Pre-fail   Ok   17183354637
9   Power_On_Hours   0x0032   100   100   000   Old_age   Ok   411
10   Spin_Retry_Count   0x0013   100   100   097   Pre-fail   Ok   3
12   Power_Cycle_Count   0x0032   100   100   020   Old_age   Ok   189
184   End-to-End_Error   0x0032   100   100   099   Old_age   Ok   0
187   Reported_Uncorrect   0x0032   100   100   000   Old_age   Ok   0
188   Command_Timeout   0x0032   100   099   000   Old_age   Ok   1
189   High_Fly_Writes   0x003a   100   100   000   Old_age   Ok   0
190   Airflow_Temperature_Cel   0x0022   066   042   045   Old_age   In_the_past   34 (0 134 44 34 0)
194   Temperature_Celsius   0x0022   034   058   000   Old_age   Ok   34 (0 14 0 0 0)
195   Hardware_ECC_Recovered   0x001a   041   033   000   Old_age   Ok   217811054
197   Current_Pending_Sector   0x0012   100   100   000   Old_age   Ok   0
198   Offline_Uncorrectable   0x0010   100   100   000   Old_age   Ok   0
199   UDMA_CRC_Error_Count   0x003e   200   200   000   Old_age   Ok   0
b1gnas
 
Posts: 145
Joined: Fri Apr 17, 2015 8:11 am

Re: Error creating Raid 5

Postby Jocko » Sun Apr 19, 2015 2:29 pm

I am sorry but currently I don't understand this error :scratch and I have no more idea.

On the kernel size, I find no error with raid feature but there is other errors in the dmesg, need to talk about them with fvdw.
On the disks, I note that the disks where a failure status was detected by mdstat are both Hitachi Deskstar 7K1000.B

Did you run a short self test on them ?

Can you try to do a raid5 with 3 devices with one missing: missing(sda8)-sdb8 and sde8 and see what happens when you format it
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Error creating Raid 5

Postby b1gnas » Sun Apr 19, 2015 8:12 pm

Code: Select all
=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     10148         -

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%        33         -

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%      2213         -
# 2  Short offline       Completed without error       00%      2207         -

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%      2213         -

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%       417         -


I made gpt partition table for all disks exept sda and tried again but same error when formatting.
b1gnas
 
Posts: 145
Joined: Fri Apr 17, 2015 8:11 am

PreviousNext

Return to Lacie 5Big Network vs1

Who is online

Users browsing this forum: No registered users and 3 guests