Problems with raid5

Re: Problems with raid5

Postby Jocko » Thu Oct 01, 2015 1:06 pm

Hi samrise,

I think you followed the b1gnas's topic.

Are you ready with the challenge to rebuild your raid for getting a raid5 with all disks ?
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Problems with raid5

Postby samrise » Thu Oct 01, 2015 4:04 pm

Yes, i followed. I already have some data on the existing raid so i'm open to grow it to sda but not to start from scratch.

Is that possible?
samrise
 
Posts: 115
Joined: Thu Jan 01, 2015 9:59 pm

Re: Problems with raid5

Postby Jocko » Thu Oct 01, 2015 4:38 pm

Maybe...

1/ fix the sda8 issue by destroyed/rebuild this partition

2/ try again to add the clean sda8 partition in the raid5 built with the 4 gpt disks
=> if that works, we need just to resize the fs on the raid5
Else, we need to move the shares from the raid5 to sda8 (I assume that all data can be stored on a single partition) and then do:
2a/ destroy the gpt table on sd[bcde]
2b/ built on them a mstable
2c/ built a degraded raid5 with 5 disks but sda8 set as missing
2d/ move the shares from sda8 to the new raid5
2e/ add sda8 in the raid5.

Are you ready to do these steps...

Note: b1gnas has some errors in dmesg. As you use the same kernel version can you post your dmesg
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Problems with raid5

Postby samrise » Thu Oct 01, 2015 8:36 pm

Ok, lets try it.
samrise
 
Posts: 115
Joined: Thu Jan 01, 2015 9:59 pm

Re: Problems with raid5

Postby Jocko » Thu Oct 01, 2015 9:07 pm

Ok,

1/
- select the raid as addons volume if it is not yet the case (select the option "move the technical shares).
- if there are still some other shares on sda (Vol-A), move them on the raid volume (use the move feature available in the edit share menu)

I think it is useless to destroy all extended partition and align only sda8 will be enough;
Currently you should have
Code: Select all
/dev/sda8 409 121601 973482772+ fd Linux raid autodetect
So get a telnet access and with fdisk delete sda8 (d->8->w)
still with fdisk, set again sda8 (n -> 409 -> 121600 -> p -> w)
format sda8:
Code: Select all
busybox tftp -r mke2fs-ext3 -l /sbin/mke2fs-ext3 -g ippc
 mke2fs-ext3 -j -m 1 /dev/sda8
(ippc=ip of your laptop)

reboot the nas

2/ try to add sda8 as a spare disk in md0
Code: Select all
mdadm --manage /dev/md0 --add /dev/sda8

and if it works grow the raid
Code: Select all
mdadm --grow /dev/md0 --raid-devices=5

If that works post mdstat and detail output of your raid
Code: Select all
cat /proc/mdstat
mdadm --detail /dev/md0
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Problems with raid5

Postby samrise » Thu Oct 01, 2015 9:23 pm

So get a telnet access


You mean run standalone kernel with fvdw-console or can i do a regular ssh session?
samrise
 
Posts: 115
Joined: Thu Jan 01, 2015 9:59 pm

Re: Problems with raid5

Postby Jocko » Thu Oct 01, 2015 9:52 pm

Yes by using fvdw-sl console. (The firmware doesn't have a telnet server).

And please to post your dmesg, I need to compare your output
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Problems with raid5

Postby samrise » Fri Oct 02, 2015 4:50 pm

Dmesg from 22 days ago (last boot):

Btw, i wont be able to try those steps for the next 2 days. :(

Code: Select all
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.14.2 (root@fvdwsl-5big2.local) (gcc version 4.8.1 (GCC) ) #1 Thu Jan 8 23:24:14 CET 2015
[    0.000000] CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: LaCie 5Big1 Network
[    0.000000] Clearing invalid memory bank 0KB@0x00000000
[    0.000000] Clearing invalid memory bank 0KB@0x00000000
[    0.000000] Clearing invalid memory bank 0KB@0x00000000
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Ignoring unrecognised tag 0x41000403
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat c03de85c, node_mem_map c7efb000
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda7 ro boardType=mv88F5281 productType=5Big reset=0
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 125736K/131072K available (2809K kernel code, 158K rwdata, 848K rodata, 114K init, 206K bss, 5336K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc039a7f0   (3658 kB)
[    0.000000]       .init : 0xc039b000 - 0xc03b78c8   ( 115 kB)
[    0.000000]       .data : 0xc03b8000 - 0xc03df9e0   ( 159 kB)
[    0.000000]        .bss : 0xc03df9e0 - 0xc04135c0   ( 207 kB)
[    0.000000] NR_IRQS:64
[    0.000015] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 25769803770ns
[    1.153625] Console: colour dummy device 80x30
[    1.153662] Calibrating delay loop... 498.89 BogoMIPS (lpj=2494464)
[    1.213318] pid_max: default: 32768 minimum: 301
[    1.213526] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    1.213553] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    1.214400] CPU: Testing write buffer coherency: ok
[    1.214919] Setting up static identity map for 0x2a8b20 - 0x2a8b5c
[    1.218397] VFP support v0.3: implementor 41 architecture 1 part 10 variant 9 rev 0
[    1.219357] NET: Registered protocol family 16
[    1.220233] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    1.223426] 5big1 init started
[    1.223454] Orion ID: MV88F5281-D0. TCLK=166666667.
[    1.223515] Orion: Applying 5281 D0 WFI workaround.
[    1.223862] 5big1 init 1
[    1.223884] initial MPP regs: 00000003 00000000 00170000
[    1.223922]   final MPP regs: 00000003 00000000 00170000
[    1.223951] 5big1 init 2
[    1.223968] net5big: powering up SATA drives
[    1.223988] 5big1 init 3
[    1.224001] 5big1 init 4
[    1.224355] 5big1 init 5
[    1.225299] 5big1 init 6
[    1.225627] 5big1 init 7
[    1.225953] 5big1 init 8
[    1.226288] 5big1 init 9
[    1.226618] 5big1 init 10
[    1.227256] 5big1 init 11
[    1.227585] 5big1 init 12
[    1.227608] net5big: turning off power-off control GPIO
[    1.227631] net5big: Flash writing is not yet supported.
[    1.227645] 5big1 init end
[    1.228582] orion_gpio_is_valid: invalid GPIO 20
[    1.228606] orion_gpio_is_valid: invalid GPIO 20
[    1.228623] net5big_pci_preinit failed to gpio_request 20
[    1.229173] PCI host bridge to bus 0000:00
[    1.229217] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.229246] pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
[    1.229275] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.229337] pci 0000:00:00.0: [11ab:5281] type 00 class 0x058000
[    1.229385] pci 0000:00:00.0: reg 0x10: [mem 0xf1000000-0xf10fffff 64bit pref]
[    1.229418] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x07ffffff]
[    1.229989] PCI: bus0: Fast back to back transfers disabled
[    1.230028] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    1.230583] PCI host bridge to bus 0000:01
[    1.230626] pci_bus 0000:01: root bus resource [mem 0xe8000000-0xefffffff]
[    1.230655] pci_bus 0000:01: root bus resource [io  0x10000-0x1ffff]
[    1.230684] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[    1.230756] pci 0000:01:00.0: [11ab:5281] type 00 class 0x058000
[    1.230812] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x07ffffff 64bit pref]
[    1.230850] pci 0000:01:00.0: reg 0x18: [mem 0x10000000-0x1fffffff 64bit pref]
[    1.230888] pci 0000:01:00.0: reg 0x20: [mem 0xf1000000-0xf10fffff 64bit]
[    1.230923] pci 0000:01:00.0: reg 0x30: [mem 0xe0000000-0xe7ffffff pref]
[    1.230987] pci 0000:01:00.0: supports D1 D2
[    1.231012] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot
[    1.231578] pci 0000:01:07.0: [11ab:6081] type 00 class 0x010000
[    1.231643] pci 0000:01:07.0: reg 0x10: [mem 0x40000000-0x400fffff 64bit]
[    1.231679] pci 0000:01:07.0: reg 0x18: [io  0xf0100000-0xf01000ff]
[    1.232284] PCI: bus1: Fast back to back transfers enabled
[    1.232323] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.232402] pci 0000:01:07.0: BAR 0: assigned [mem 0xe8000000-0xe80fffff 64bit]
[    1.232444] pci 0000:01:07.0: BAR 2: assigned [io  0x10000-0x100ff]
[    1.262035] bio: create slab <bio-0> at 0
[    1.263450] vgaarb: loaded
[    1.264757] SCSI subsystem initialized
[    1.265708] libata version 3.00 loaded.
[    1.267550] usbcore: registered new interface driver usbfs
[    1.267924] usbcore: registered new interface driver hub
[    1.268353] usbcore: registered new device driver usb
[    1.271445] Switched to clocksource orion_clocksource
[    1.299447] NET: Registered protocol family 2
[    1.300314] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    1.300371] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    1.300420] TCP: Hash tables configured (established 1024 bind 1024)
[    1.300528] TCP: reno registered
[    1.300555] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    1.300609] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    1.300914] NET: Registered protocol family 1
[    1.301004] PCI: CLS 32 bytes, default 32
[    1.303740] futex hash table entries: 256 (order: -1, 3072 bytes)
[    1.304668] VFS: Disk quotas dquot_6.5.2
[    1.304768] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.305033] msgmni has been set to 245
[    1.307724] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    1.307751] io scheduler noop registered
[    1.307769] io scheduler deadline registered
[    1.307812] io scheduler cfq registered (default)
[    1.308292] mv_xor mv_xor.0: Marvell shared XOR driver
[    1.323347] mv_xor mv_xor.0: Self-test copy failed compare, disabling
[    1.334986] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.356929] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 3, base_baud = 10416666) is a 16550A
[    1.882391] console [ttyS0] enabled
[    1.905311] brd: module loaded
[    1.917788] loop: module loaded
[    1.921545] Uniform Multi-Platform E-IDE driver
[    1.926729] ide-gd driver 1.18
[    1.931233] sata_mv 0000:01:07.0: version 1.28
[    1.931894] sata_mv 0000:01:07.0: Gen-II 32 slots 8 ports SCSI mode IRQ via INTx
[    1.970929] scsi0 : sata_mv
[    1.974915] scsi1 : sata_mv
[    1.978764] scsi2 : sata_mv
[    1.982635] scsi3 : sata_mv
[    1.986513] scsi4 : sata_mv
[    1.990393] scsi5 : sata_mv
[    1.994299] scsi6 : sata_mv
[    1.998175] scsi7 : sata_mv
[    2.001815] ata1: SATA max UDMA/133 mmio m1048576@0xe8000000 port 0xe8022000 irq 52
[    2.009491] ata2: SATA max UDMA/133 mmio m1048576@0xe8000000 port 0xe8024000 irq 52
[    2.017146] ata3: SATA max UDMA/133 mmio m1048576@0xe8000000 port 0xe8026000 irq 52
[    2.024800] ata4: SATA max UDMA/133 mmio m1048576@0xe8000000 port 0xe8028000 irq 52
[    2.032432] ata5: SATA max UDMA/133 mmio m1048576@0xe8000000 port 0xe8032000 irq 52
[    2.040085] ata6: SATA max UDMA/133 mmio m1048576@0xe8000000 port 0xe8034000 irq 52
[    2.047740] ata7: SATA max UDMA/133 mmio m1048576@0xe8000000 port 0xe8036000 irq 52
[    2.055386] ata8: SATA max UDMA/133 mmio m1048576@0xe8000000 port 0xe8038000 irq 52
[    2.064914] sata_mv sata_mv.0: version 1.28
[    2.065144] sata_mv sata_mv.0: cannot get optional clkdev
[    2.072744] sata_mv sata_mv.0: slots 32 ports 5
[    2.096500] scsi8 : sata_mv
[    2.100391] scsi9 : sata_mv
[    2.104316] scsi10 : sata_mv
[    2.108300] scsi11 : sata_mv
[    2.112273] scsi12 : sata_mv
[    2.116054] ata9: SATA max UDMA/133 irq 29
[    2.120153] ata10: SATA max UDMA/133 irq 29
[    2.124364] ata11: SATA max UDMA/133 irq 29
[    2.128541] ata12: SATA max UDMA/133 irq 29
[    2.132714] ata13: SATA max UDMA/133 irq 29
[    2.138326] tun: Universal TUN/TAP device driver, 1.6
[    2.143401] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    2.149960] ipddp.c:v0.01 8/28/97 Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[    2.158926] ipddp0: Appletalk-IP Encap. mode by Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[    2.175566] libphy: orion_mdio_bus: probed
[    2.180031] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    2.265805] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:4b:88:fd:e0
[    2.276867] aoe: cannot create debugfs directory
[    2.281716] aoe: AoE v85 initialised.
[    2.286448] i2c /dev entries driver
[    2.294567] rtc-rs5c372 0-0032: rs5c372b found, 24hr, driver version 0.6
[    2.307877] rtc-rs5c372 0-0032: rtc core: registered rtc-rs5c372 as rtc0
[    2.316260] at24 0-0050: 1024 byte 24c08 EEPROM, writable, 1 bytes/write
[    2.341094] Netfilter messages via NETLINK v0.30.
[    2.346206] ipip: IPv4 over IPv4 tunneling driver
[    2.352412] TCP: cubic registered
[    2.355771] NET: Registered protocol family 17
[    2.360233] NET: Registered protocol family 5
[    2.366571] console [netcon0] enabled
[    2.370231] netconsole: network logging started
[    2.376358] rtc-rs5c372 0-0032: setting system clock to 2015-09-10 17:11:36 UTC (1441905096)
[    2.563368] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    2.603406] ata1.00: ATA-8: Hitachi HDT721010SLA360, ST6OA3AA, max UDMA/133
[    2.610355] ata1.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    2.673415] ata1.00: configured for UDMA/133
[    2.678197] scsi 0:0:0:0: Direct-Access     ATA      Hitachi HDT72101 ST6O PQ: 0 ANSI: 5
[    2.687280] fvdw1 disk index before get_sd_name = 0
[    2.692151] device-name= sata_mv
[    2.695402] fvdw2 disk index after get_sd_name = 4
[    2.700175] fvdw3 prefix[0]=s  prefix[1]=d
[    2.704270] fvdw4 diskname = sde
[    2.708487] sd 0:0:0:0: [sde] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[    2.717371] sd 0:0:0:0: [sde] Write Protect is off
[    2.722169] sd 0:0:0:0: [sde] Mode Sense: 00 3a 00 00
[    2.723295] sd 0:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.781836]  sde: sde8
[    2.786963] sd 0:0:0:0: [sde] Attached SCSI disk
[    3.203332] ata9: failed to resume link (SControl 0)
[    3.208305] ata9: SATA link down (SStatus 0 SControl 0)
[    3.223371] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    3.263426] ata2.00: ATA-8: Hitachi HDT721010SLA360, ST6OA3AA, max UDMA/133
[    3.270388] ata2.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    3.313416] ata2.00: configured for UDMA/133
[    3.318163] scsi 1:0:0:0: Direct-Access     ATA      Hitachi HDT72101 ST6O PQ: 0 ANSI: 5
[    3.327256] fvdw1 disk index before get_sd_name = 1
[    3.332123] device-name= sata_mv
[    3.335377] fvdw2 disk index after get_sd_name = 3
[    3.340149] fvdw3 prefix[0]=s  prefix[1]=d
[    3.344251] fvdw4 diskname = sdd
[    3.348445] sd 1:0:0:0: [sdd] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[    3.358028] sd 1:0:0:0: [sdd] Write Protect is off
[    3.362825] sd 1:0:0:0: [sdd] Mode Sense: 00 3a 00 00
[    3.363112] sd 1:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.401318]  sdd: sdd8
[    3.406400] sd 1:0:0:0: [sdd] Attached SCSI disk
[    3.863365] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    3.903409] ata3.00: ATA-8: Hitachi HDT721010SLA360, ST6OA3AA, max UDMA/133
[    3.910356] ata3.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    3.973415] ata3.00: configured for UDMA/133
[    3.978163] scsi 2:0:0:0: Direct-Access     ATA      Hitachi HDT72101 ST6O PQ: 0 ANSI: 5
[    3.987262] fvdw1 disk index before get_sd_name = 2
[    3.992133] device-name= sata_mv
[    3.995386] fvdw2 disk index after get_sd_name = 2
[    4.000158] fvdw3 prefix[0]=s  prefix[1]=d
[    4.004261] fvdw4 diskname = sdc
[    4.008448] sd 2:0:0:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[    4.018044] sd 2:0:0:0: [sdc] Write Protect is off
[    4.022844] sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[    4.023129] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.068513]  sdc: sdc8
[    4.073641] sd 2:0:0:0: [sdc] Attached SCSI disk
[    4.523368] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    4.563407] ata4.00: ATA-8: Hitachi HDT721010SLA360, ST6OA3AA, max UDMA/133
[    4.570357] ata4.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    4.633416] ata4.00: configured for UDMA/133
[    4.638193] scsi 3:0:0:0: Direct-Access     ATA      Hitachi HDT72101 ST6O PQ: 0 ANSI: 5
[    4.647285] fvdw1 disk index before get_sd_name = 3
[    4.652152] device-name= sata_mv
[    4.655404] fvdw2 disk index after get_sd_name = 1
[    4.660177] fvdw3 prefix[0]=s  prefix[1]=d
[    4.664279] fvdw4 diskname = sdb
[    4.668480] sd 3:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[    4.678048] sd 3:0:0:0: [sdb] Write Protect is off
[    4.682845] sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[    4.683131] sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.729955]  sdb: sdb8
[    4.735076] sd 3:0:0:0: [sdb] Attached SCSI disk
[    5.183365] ata5: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    5.223407] ata5.00: ATA-8: Hitachi HDT721010SLA360, ST6OA3AA, max UDMA/133
[    5.230357] ata5.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    5.293417] ata5.00: configured for UDMA/133
[    5.298176] scsi 4:0:0:0: Direct-Access     ATA      Hitachi HDT72101 ST6O PQ: 0 ANSI: 5
[    5.307272] fvdw1 disk index before get_sd_name = 4
[    5.312145] device-name= sata_mv
[    5.315396] fvdw2 disk index after get_sd_name = 0
[    5.320170] fvdw3 prefix[0]=s  prefix[1]=d
[    5.324271] fvdw4 diskname = sda
[    5.328480] sd 4:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[    5.338031] sd 4:0:0:0: [sda] Write Protect is off
[    5.342827] sd 4:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    5.343115] sd 4:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.389018]  sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 >
[    5.400449] sd 4:0:0:0: [sda] Attached SCSI disk
[    5.683362] ata6: SATA link down (SStatus 0 SControl 300)
[    6.033358] ata7: SATA link down (SStatus 0 SControl 300)
[    6.383362] ata8: SATA link down (SStatus 0 SControl 300)
[    7.453333] ata10: failed to resume link (SControl 0)
[    7.458389] ata10: SATA link down (SStatus 0 SControl 0)
[    8.533335] ata11: failed to resume link (SControl 0)
[    8.538390] ata11: SATA link down (SStatus 0 SControl 0)
[    9.613333] ata12: failed to resume link (SControl 0)
[    9.618388] ata12: SATA link down (SStatus 0 SControl 0)
[   10.693336] ata13: failed to resume link (SControl 0)
[   10.698398] ata13: SATA link down (SStatus 0 SControl 0)
[   10.705058] EXT3-fs (sda7): recovery required on readonly filesystem
[   10.711404] EXT3-fs (sda7): write access will be enabled during recovery
[   10.791577] kjournald starting.  Commit interval 5 seconds
[   10.815434] EXT3-fs (sda7): recovery complete
[   10.819786] EXT3-fs (sda7): mounted filesystem with ordered data mode
[   10.826275] VFS: Mounted root (ext3 filesystem) readonly on device 8:71.
[   10.833870] Freeing unused kernel memory: 112K (c039b000 - c03b7000)
[   11.104988] EXT3-fs (sda7): warning: maximal mount count reached, running e2fsck is recommended
[   11.114035] EXT3-fs (sda7): using internal journal
[   11.691577] kjournald starting.  Commit interval 5 seconds
[   11.697129] EXT3-fs (sda1): warning: maximal mount count reached, running e2fsck is recommended
[   11.706138] EXT3-fs (sda1): using internal journal
[   11.728931] EXT3-fs (sda1): recovery complete
[   11.733283] EXT3-fs (sda1): mounted filesystem with ordered data mode
[   13.171580] kjournald starting.  Commit interval 5 seconds
[   13.177158] EXT3-fs (sda5): warning: maximal mount count reached, running e2fsck is recommended
[   13.186174] EXT3-fs (sda5): using internal journal
[   13.208978] EXT3-fs (sda5): recovery complete
[   13.213352] EXT3-fs (sda5): mounted filesystem with ordered data mode
[   13.393178] random: mkswap urandom read with 114 bits of entropy available
[   13.454482] Adding 514076k swap on /dev/sda3.  Priority:-1 extents:1 across:514076k
[   14.488602] random: nonblocking pool is initialized
[   15.746409] NTFS driver 2.1.30 [Flags: R/W MODULE].
[   15.783050] fuse init (API version 7.22)
[   15.815415] usbcore: registered new interface driver usblp
[   15.863283] RPC: Registered named UNIX socket transport module.
[   15.869233] RPC: Registered udp transport module.
[   15.873934] RPC: Registered tcp transport module.
[   15.878622] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   15.959622] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   16.034165] Loading iSCSI transport class v2.0-870.
[   16.050618] iscsi: registered transport (tcp)
[   16.089261] Linux video capture interface: v2.00
[   16.197827] uvcvideo: Unable to create debugfs directory
[   16.203297] usbcore: registered new interface driver uvcvideo
[   16.209061] USB Video Class driver (1.1.1)
[   16.251059] md: linear personality registered for level -1
[   16.285348] md: raid0 personality registered for level 0
[   16.320086] md: raid1 personality registered for level 1
[   16.357566] md: raid10 personality registered for level 10
[   16.595408] raid6: int32x1     24 MB/s
[   16.764224] raid6: int32x2     37 MB/s
[   16.934321] raid6: int32x4     46 MB/s
[   17.104251] raid6: int32x8     57 MB/s
[   17.108000] raid6: using algorithm int32x8 (57 MB/s)
[   17.112948] raid6: using intx1 recovery algorithm
[   17.122673] async_tx: api initialized (async)
[   17.129314] xor: measuring software checksum speed
[   17.233325]    arm4regs  :   429.600 MB/sec
[   17.333329]    8regs     :   338.000 MB/sec
[   17.433326]    32regs    :   498.000 MB/sec
[   17.437505] xor: using function: 32regs (498.000 MB/sec)
[   17.463405] md: raid6 personality registered for level 6
[   17.468711] md: raid5 personality registered for level 5
[   17.474024] md: raid4 personality registered for level 4
[   17.514395] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: dm-devel@redhat.com
[   17.620385] device-mapper: multipath: version 1.6.0 loaded
[   17.654300] device-mapper: multipath round-robin: version 1.0.0 loaded
[   17.689224] device-mapper: multipath queue-length: version 0.1.0 loaded
[   17.723613] device-mapper: multipath service-time: version 0.2.0 loaded
[   17.883776] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   17.922733] device-mapper: raid: Loading target version 1.5.2
[   29.899604] md: bind<sdc8>
[   29.902902] md: bind<sdd8>
[   29.906245] md: bind<sde8>
[   29.909528] md: bind<sdb8>
[   29.923947] md/raid:md0: not clean -- starting background reconstruction
[   29.930662] md/raid:md0: device sdb8 operational as raid disk 0
[   29.936607] md/raid:md0: device sde8 operational as raid disk 3
[   29.942514] md/raid:md0: device sdd8 operational as raid disk 2
[   29.948432] md/raid:md0: device sdc8 operational as raid disk 1
[   29.957011] md/raid:md0: allocated 0kB
[   29.960903] md/raid:md0: raid level 5 active with 4 out of 4 devices, algorithm 2
[   29.968390] RAID conf printout:
[   29.968408]  --- level:5 rd:4 wd:4
[   29.968429]  disk 0, o:1, dev:sdb8
[   29.968449]  disk 1, o:1, dev:sdc8
[   29.968469]  disk 2, o:1, dev:sdd8
[   29.968488]  disk 3, o:1, dev:sde8
[   29.968821] md0: detected capacity change from 0 to 2991699394560
[   29.993439] md: resync of RAID array md0
[   29.997360] md: minimum _guaranteed_  speed: 1000 KB/sec/disk.
[   30.003176] md: using maximum available idle IO bandwidth (but not more than 200000 KB/sec) for resync.
[   30.012562] md: using 128k window, over a total of 973860480k.
[   30.037473]  md0: unknown partition table
[   59.231594] kjournald starting.  Commit interval 5 seconds
[   59.243856] EXT3-fs (sda8): using internal journal
[   59.283465] EXT3-fs (sda8): recovery complete
[   59.287818] EXT3-fs (sda8): mounted filesystem with ordered data mode
[   74.945632] kjournald starting.  Commit interval 5 seconds
[   75.001396] EXT3-fs (md0): using internal journal
[   75.042223] EXT3-fs (md0): recovery complete
[   75.046519] EXT3-fs (md0): mounted filesystem with ordered data mode
[   75.173690] udevd (1041): /proc/1041/oom_adj is deprecated, please use /proc/1041/oom_score_adj instead.
[   75.184617] udev: starting version 130
[   79.922979] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
[   81.585515] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
[   94.094445] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[   94.111596] NFSD: starting 90-second grace period (net c03da538)
[61666.326768] md: md0: resync done.
[61666.477535] RAID conf printout:
[61666.477562]  --- level:5 rd:4 wd:4
[61666.477584]  disk 0, o:1, dev:sdb8
[61666.477603]  disk 1, o:1, dev:sdc8
[61666.477623]  disk 2, o:1, dev:sdd8
[61666.477642]  disk 3, o:1, dev:sde8
samrise
 
Posts: 115
Joined: Thu Jan 01, 2015 9:59 pm

Re: Problems with raid5

Postby Jocko » Fri Oct 02, 2015 5:14 pm

Thank you for this output.

So no ata port error reported and disks link up with 3Gb/s

This may mean that either there is an issue with the sata cables on b1gnas's 5big1 or a bad kernel support with his barracuda disks.


samrise wrote:Btw, i wont be able to try those steps for the next 2 days.
So more information next week :tapfoot
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Problems with raid5

Postby samrise » Sat Oct 03, 2015 11:17 pm

Ok, so i started it.

I changed sda8 using standalone kernel and all went well. After that i rebooted to regular kernel and:

Code: Select all
root@nas:/ # fdisk /dev/sda

The number of cylinders for this disk is set to 121601.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               9          72      514080  83 Linux
/dev/sda2              73         136      514080  83 Linux
/dev/sda3             137         200      514080  82 Linux swap
/dev/sda4             201      121601   975153532+  5 Extended
/dev/sda5             209         312      835380  83 Linux
/dev/sda6             321         328       64260  83 Linux
/dev/sda7             337         400      514080  83 Linux
/dev/sda8             409      121600   973474740  83 Linux

Command (m for help): q

root@nas:/ # mdadm --manage /dev/md0 --add /dev/sda8
mdadm: Cannot open /dev/sda8: Device or resource busy
root@nas:/ # umount /dev/sda8
root@nas:/ # mdadm --manage /dev/md0 --add /dev/sda8
mdadm: add new device failed for /dev/sda8 as 4: Invalid argument
root@nas:/ #
samrise
 
Posts: 115
Joined: Thu Jan 01, 2015 9:59 pm

PreviousNext

Return to Lacie 5Big Network vs1

Who is online

Users browsing this forum: No registered users and 11 guests