Cannot access 5big network 2

Re: Cannot access 5big network 2

Postby Jocko » Tue May 19, 2015 10:04 am

@Mijzelf

pacco wrote:OK. Maybe somehow the USB disk is only detected on boot. In that case it can shift the disk devices, which means the raid array has to be assembled from other devices.
In this case we should see it in dmesg output.

@pacco
If you fail to restore the raid post also the dmesg output
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Cannot access 5big network 2

Postby pacco » Tue May 19, 2015 10:06 am

pacco wrote:
Mijzelf wrote:
pacco wrote:I did notice one thing. When I rebooted the Lacie whilst the usb disk connected I couldn't start the RAID. I rebooted again without the usb disk, mounted the RAID and then connected the usb disk.
OK. Maybe somehow the USB disk is only detected on boot. In that case it can shift the disk devices, which means the raid array has to be assembled from other devices.
Can you redo that, and post the output of
Code: Select all
cat /proc/partitions

OK, give me a second.

Shut down the Lacie.
Connect the usb disk.
Start the kernel.
Uploaded mdadm and udevstart.
Run udevstart.
Tried to assemble the RAID.

Outcome:

Code: Select all
root@fvdw-sta-kirkwood:/ # cat /proc/partitions
major minor  #blocks  name

  31        0        500 mtdblock0
  31        1          4 mtdblock1
   8        0  976762584 sdc
   8        1          1 sdc1
   8        2  974751907 sdc2
   8        5     256977 sdc5
   8        6       8001 sdc6
   8        7       8001 sdc7
   8        8     851413 sdc8
   8        9     875511 sdc9
   8       10       8001 sdc10
   8       16  976762584 sdb
   8       17          1 sdb1
   8       18  974751907 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
   8       32  976762584 sda
   8       33          1 sda1
   8       34  974751907 sda2
   8       37     256977 sda5
   8       38       8001 sda6
   8       39       8001 sda7
   8       40     851413 sda8
   8       41     875511 sda9
   8       42       8001 sda10
   8       48  976762584 sde
   8       49          1 sde1
   8       50  974751907 sde2
   8       53     256977 sde5
   8       54       8001 sde6
   8       55       8001 sde7
   8       56     851413 sde8
   8       57     875511 sde9
   8       58       8001 sde10
   8       64  976762584 sdd
   8       65          1 sdd1
   8       66  974751907 sdd2
   8       69     256977 sdd5
   8       70       8001 sdd6
   8       71       8001 sdd7
   8       72     851413 sdd8
   8       73     875511 sdd9
   8       74       8001 sdd10

root@fvdw-sta-kirkwood:/ # mdadm --assemble /dev/md0 /dev/sd[abce]2 --run
mdadm: failed to add /dev/sde2 to /dev/md0: Invalid argument
mdadm: failed to RUN_ARRAY /dev/md0: Input/output error
mdadm: Not enough devices to start the array.

root@fvdw-sta-kirkwood:/ # dmesg
[    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) ) #10 PREEMPT Sun May 3 18:53:31 CEST 2015
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: LaCie 5Big Network v2
[    0.000000] Ignoring unrecognised tag 0x41000403
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c093325c, node_mem_map dfbfb000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    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: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 netconsole=6666@192.168.10.6/,6666@192.168.10.10/
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 510100K/524288K available (5750K kernel code, 222K rwdata, 1548K rodata, 1861K init, 232K bss, 14188K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0728cd8   (7300 kB)
[    0.000000]       .init : 0xc0729000 - 0xc08fa4dc   (1862 kB)
[    0.000000]       .data : 0xc08fc000 - 0xc0933ac0   ( 223 kB)
[    0.000000]        .bss : 0xc0933acc - 0xc096dba8   ( 233 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:114
[    0.000011] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 25769803770ns
[   17.308296] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
[   17.398270] pid_max: default: 32768 minimum: 301
[   17.398407] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   17.398426] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   17.398967] CPU: Testing write buffer coherency: ok
[   17.399278] Setting up static identity map for 0x5770c0 - 0x577118
[   17.401898] VFP support v0.3: not present
[   17.402432] xor: measuring software checksum speed
[   17.498301]    arm4regs  :  1088.400 MB/sec
[   17.598263]    8regs     :   654.400 MB/sec
[   17.698254]    32regs    :   905.600 MB/sec
[   17.698271] xor: using function: arm4regs (1088.400 MB/sec)
[   17.698288] pinctrl core: initialized pinctrl subsystem
[   17.698403] NET: Registered protocol family 16
[   17.698758] DMA: preallocated 256 KiB pool for atomic coherent allocations
[   17.701484] Kirkwood: MV88F6281-A0, TCLK=166666667.
[   17.701508] Feroceon L2: Enabling L2
[   17.701546] Feroceon L2: Cache support initialised.
[   17.702634] mv_usb_init 1
[   17.702653] mv_usb_init 2 devnum = 0
[   17.702666] init function mv_usb_init finished
[   17.702674] initial MPP regs: 01112222 00003311 33331100 33003333 00000033 00000000 00000000
[   17.702705]   final MPP regs: 01112222 00003311 33331100 33003333 00000033 00000000 00000000
[   17.702891]  orion-ehci registered
[   17.704715] orion_gpio_is_valid: invalid GPIO 7
[   17.728934] bio: create slab <bio-0> at 0
[   17.899439] raid6: int32x1     95 MB/s
[   18.068425] raid6: int32x2    123 MB/s
[   18.238408] raid6: int32x4    120 MB/s
[   18.408360] raid6: int32x8    128 MB/s
[   18.408370] raid6: using algorithm int32x8 (128 MB/s)
[   18.408378] raid6: using intx1 recovery algorithm
[   18.409212] SCSI subsystem initialized
[   18.409673] libata version 3.00 loaded.
[   18.410539] usbcore: registered new interface driver usbfs
[   18.410720] usbcore: registered new interface driver hub
[   18.410913] usbcore: registered new device driver usb
[   18.413396] cfg80211: Calling CRDA to update world regulatory domain
[   18.413638] Switched to clocksource orion_clocksource
[   18.415941] NET: Registered protocol family 2
[   18.416404] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[   18.416464] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[   18.416515] TCP: Hash tables configured (established 4096 bind 4096)
[   18.416570] TCP: reno registered
[   18.416584] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   18.416605] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   18.416766] NET: Registered protocol family 1
[   18.417046] RPC: Registered named UNIX socket transport module.
[   18.417057] RPC: Registered udp transport module.
[   18.417064] RPC: Registered tcp transport module.
[   18.417071] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   18.417082] PCI: CLS 0 bytes, default 32
[   18.556601] NetWinder Floating Point Emulator V0.97 (double precision)
[   18.556727] gpio-usb-probe-4b err=0
[   18.556744] gpio-usb gpio-usb: USB GPIO's initialized
[   18.558220] futex hash table entries: 256 (order: -1, 3072 bytes)
[   18.656289] VFS: Disk quotas dquot_6.5.2
[   18.656340] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   18.656776] NFS: Registering the id_resolver key type
[   18.656838] Key type id_resolver registered
[   18.656848] Key type id_legacy registered
[   18.656866] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[   18.656902] NTFS driver 2.1.30 [Flags: R/W].
[   18.656933] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[   18.657082] fuse init (API version 7.22)
[   18.657644] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
[   18.658052] msgmni has been set to 996
[   18.659219] async_tx: api initialized (async)
[   18.659409] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[   18.659421] io scheduler noop registered
[   18.659429] io scheduler deadline registered
[   18.659454] io scheduler cfq registered (default)
[   18.659842] mv_xor mv_xor.0: Marvell shared XOR driver
[   18.698279] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   18.738274] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   18.738521] mv_xor mv_xor.1: Marvell shared XOR driver
[   18.778274] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[   18.818273] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[   18.824134] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   18.845232] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 10416666) is a 16550A
[   19.386664] console [ttyS0] enabled
[   19.399504] brd: module loaded
[   19.407123] loop: module loaded
[   19.411778] sata_mv sata_mv.0: version 1.28
[   19.411841] sata_mv sata_mv.0: cannot get optional clkdev
[   19.417308] sata_mv sata_mv.0: slots 32 ports 2
[   19.424910] scsi0 : sata_mv
[   19.428649] scsi1 : sata_mv
[   19.431870] ata1: SATA max UDMA/133 irq 21
[   19.435946] ata2: SATA max UDMA/133 irq 21
[   19.442736] m25p80 spi0.0: mx25l4005a (512 Kbytes)
[   19.447686] Creating 2 MTD partitions on "spi_flash":
[   19.452805] 0x000000000000-0x00000007d000 : "u-boot"
[   19.459027] 0x00000007e000-0x00000007f000 : "u-boot-env"
[   19.465599] tun: Universal TUN/TAP device driver, 1.6
[   19.470682] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   19.476998] ipddp.c:v0.01 8/28/97 Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[   19.485232] ipddp0: Appletalk-IP Encap. mode by Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[   19.501609] libphy: orion_mdio_bus: probed
[   19.505854] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   19.589920] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:4b:90:e4:ca
[   19.679946] mv643xx_eth_port mv643xx_eth_port.1 eth1: port 0 with MAC address 00:d0:4b:90:e4:cb
[   19.688784] PPP generic driver version 2.4.2
[   19.693354] PPP Deflate Compression module registered
[   19.698447] PPP MPPE Compression module registered
[   19.703214] NET: Registered protocol family 24
[   19.707826] usbcore: registered new interface driver rtl8187
[   19.713527] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[   19.721108] usbcore: registered new interface driver pegasus
[   19.726934] usbcore: registered new interface driver asix
[   19.732494] usbcore: registered new interface driver ax88179_178a
[   19.738752] usbcore: registered new interface driver cdc_ether
[   19.744729] usbcore: registered new interface driver net1080
[   19.750572] usbcore: registered new interface driver cdc_subset
[   19.756637] usbcore: registered new interface driver zaurus
[   19.762412] usbcore: registered new interface driver ipheth
[   19.768168] usbcore: registered new interface driver cdc_ncm
[   19.774829] aoe: cannot create debugfs directory
[   19.779631] aoe: AoE v85 initialised.
[   19.783342] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   19.789974] ehci-pci: EHCI PCI platform driver
[   19.794748] usbcore: registered new interface driver usb-storage
[   19.801289] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[   19.807268] i2c /dev entries driver
[   19.811763] at24 0-0050: 512 byte 24c04 EEPROM, writable, 16 bytes/write
[   19.834356] md: linear personality registered for level -1
[   19.839857] md: raid0 personality registered for level 0
[   19.845143] md: raid1 personality registered for level 1
[   19.850535] md: raid10 personality registered for level 10
[   19.856141] md: raid6 personality registered for level 6
[   19.861470] md: raid5 personality registered for level 5
[   19.866752] md: raid4 personality registered for level 4
[   19.872260] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: dm-devel@redhat.com
[   19.880910] device-mapper: multipath: version 1.6.0 loaded
[   19.886374] device-mapper: multipath round-robin: version 1.0.0 loaded
[   19.892911] device-mapper: multipath queue-length: version 0.1.0 loaded
[   19.899522] device-mapper: multipath service-time: version 0.2.0 loaded
[   19.906165] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   19.912255] device-mapper: raid: Loading target version 1.5.2
[   19.922130] ipip: IPv4 over IPv4 tunneling driver
[   19.927588] TCP: cubic registered
[   19.931010] NET: Registered protocol family 10
[   19.936356] sit: IPv6 over IPv4 tunneling driver
[   19.941862] NET: Registered protocol family 17
[   19.946300] NET: Registered protocol family 5
[   19.950708] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   19.957810] ata1.15: Port Multiplier 1.2, 0x11ab:0x4140 r193, 4 ports, feat 0x5/0x1f
[   19.965724] Key type dns_resolver registered
[   19.972695] netpoll: netconsole: local port 6666
[   19.977293] netpoll: netconsole: local IPv4 address 192.168.10.6
[   19.984264] netpoll: netconsole: interface 'eth0'
[   19.989888] netpoll: netconsole: remote port 6666
[   19.994573] netpoll: netconsole: remote IPv4 address 192.168.10.10
[   20.002363] netpoll: netconsole: remote ethernet address ff:ff:ff:ff:ff:ff
[   20.010280] netpoll: netconsole: device eth0 not up yet, forcing it
[   20.018800] ata1.00: hard resetting link
[   20.099032] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   20.369005] ata1.01: hard resetting link
[   20.878496] ata1.02: hard resetting link
[   21.388492] ata1.03: hard resetting link
[   21.846199] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
[   21.855929] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   21.865018] console [netcon0] enabled
[   21.868734] netconsole: network logging started
[   21.873729] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   21.880862] rtc-mv rtc-mv: setting system clock to 2015-05-19 10:00:40 UTC (1432029640)
[   21.918478] ata1.01: ATA-7: SAMSUNG HD103SI, 1AG01118, max UDMA7
[   21.924487] ata1.01: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   21.948454] ata1.01: configured for UDMA/133
[   21.968323] ata1.02: ATA-8: MB1000GCEEK, HPG1, max UDMA/133
[   21.973885] ata1.02: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   21.998332] ata1.02: configured for UDMA/133
[   22.018442] ata1.03: ATA-7: SAMSUNG HD103SI, 1AG01118, max UDMA7
[   22.024438] ata1.03: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   22.048449] ata1.03: configured for UDMA/133
[   22.052900] ata1: EH complete
[   22.068508] scsi 0:1:0:0: Direct-Access     ATA      SAMSUNG HD103SI  1AG0 PQ: 0 ANSI: 5
[   22.077090] fvdw1 disk index before get_sd_name = 0
[   22.082020] device-name= sata_mv
[   22.085255] fvdw2 disk index after get_sd_name = 2
[   22.090078] fvdw3 prefix[0]=s  prefix[1]=d
[   22.094172] fvdw4 diskname = sdc
[   22.097883] sd 0:1:0:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[   22.106117] scsi 0:2:0:0: Direct-Access     ATA      MB1000GCEEK      HPG1 PQ: 0 ANSI: 5
[   22.114514] sd 0:1:0:0: [sdc] Write Protect is off
[   22.119745] sd 0:1:0:0: [sdc] Mode Sense: 00 3a 00 00
[   22.119867] sd 0:1:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   22.129022] fvdw1 disk index before get_sd_name = 1
[   22.133902] device-name= sata_mv
[   22.137128] fvdw2 disk index after get_sd_name = 1
[   22.142892] fvdw3 prefix[0]=s  prefix[1]=d
[   22.146992] fvdw4 diskname = sdb
[   22.150781] sd 0:2:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[   22.159261] scsi 0:3:0:0: Direct-Access     ATA      SAMSUNG HD103SI  1AG0 PQ: 0 ANSI: 5
[   22.167723] sd 0:2:0:0: [sdb] Write Protect is off
[   22.172976] sd 0:2:0:0: [sdb] Mode Sense: 00 3a 00 00
[   22.173104] sd 0:2:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   22.182428] fvdw1 disk index before get_sd_name = 2
[   22.187424] device-name= sata_mv
[   22.190707] fvdw2 disk index after get_sd_name = 0
[   22.195488] fvdw3 prefix[0]=s  prefix[1]=d
[   22.200608] fvdw4 diskname = sda
[   22.204324] sd 0:3:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[   22.212020]  sdc: sdc1 < sdc5 sdc6 sdc7 sdc8 sdc9 sdc10 > sdc2
[   22.219699] sd 0:3:0:0: [sda] Write Protect is off
[   22.225257] sd 0:3:0:0: [sda] Mode Sense: 00 3a 00 00
[   22.225381] sd 0:3:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   22.235845] sd 0:1:0:0: [sdc] Attached SCSI disk
[   22.259752]  sdb: sdb1 < sdb5 sdb6 sdb7 sdb8 sdb9 sdb10 > sdb2
[   22.268483] sd 0:2:0:0: [sdb] Attached SCSI disk
[   22.287621]  sda: sda1 < sda5 sda6 sda7 sda8 sda9 sda10 > sda2
[   22.296154] sd 0:3:0:0: [sda] Attached SCSI disk
[   22.728251] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   22.735190] ata2.15: Port Multiplier 1.2, 0x11ab:0x4140 r193, 4 ports, feat 0x5/0x1f
[   22.750774] ata2.00: hard resetting link
[   23.098976] ata2.01: hard resetting link
[   23.608493] ata2.02: hard resetting link
[   24.118499] ata2.03: hard resetting link
[   24.488454] ata2.01: ATA-7: SAMSUNG HD103SI, 1AG01118, max UDMA7
[   24.494460] ata2.01: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   24.518454] ata2.01: configured for UDMA/133
[   24.538440] ata2.02: ATA-7: SAMSUNG HD103SI, 1AG01118, max UDMA7
[   24.544432] ata2.02: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   24.568451] ata2.02: configured for UDMA/133
[   24.572904] ata2: EH complete
[   24.588538] scsi 1:1:0:0: Direct-Access     ATA      SAMSUNG HD103SI  1AG0 PQ: 0 ANSI: 5
[   24.597201] fvdw1 disk index before get_sd_name = 3
[   24.602134] device-name= sata_mv
[   24.605363] fvdw2 disk index after get_sd_name = 4
[   24.610185] fvdw3 prefix[0]=s  prefix[1]=d
[   24.614278] fvdw4 diskname = sde
[   24.618001] sd 1:1:0:0: [sde] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[   24.626239] scsi 1:2:0:0: Direct-Access     ATA      SAMSUNG HD103SI  1AG0 PQ: 0 ANSI: 5
[   24.634624] sd 1:1:0:0: [sde] Write Protect is off
[   24.639857] sd 1:1:0:0: [sde] Mode Sense: 00 3a 00 00
[   24.639980] sd 1:1:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   24.649135] fvdw1 disk index before get_sd_name = 4
[   24.654008] device-name= sata_mv
[   24.657234] fvdw2 disk index after get_sd_name = 3
[   24.663009] fvdw3 prefix[0]=s  prefix[1]=d
[   24.667108] fvdw4 diskname = sdd
[   24.670876] sd 1:2:0:0: [sdd] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[   24.679398] sd 1:2:0:0: [sdd] Write Protect is off
[   24.684195] sd 1:2:0:0: [sdd] Mode Sense: 00 3a 00 00
[   24.684307] sd 1:2:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   24.729787]  sde: sde1 < sde5 sde6 sde7 sde8 sde9 sde10 > sde2
[   24.738378] sd 1:1:0:0: [sde] Attached SCSI disk
[   24.751225]  sdd: sdd1 < sdd5 sdd6 sdd7 sdd8 sdd9 sdd10 > sdd2
[   24.759770] sd 1:2:0:0: [sdd] Attached SCSI disk
[   24.769760] Freeing unused kernel memory: 1860K (c0729000 - c08fa000)
[  210.970192] random: nonblocking pool is initialized
[  389.945817] md: md0 stopped.
[  389.952109] md: bind<sdb2>
[  389.955340] md: bind<sdc2>
[  389.958574] md: sde2 has same UUID but different superblock to sdc2
[  389.964844] md: sde2 has different UUID to sdc2
[  389.969415] md: export_rdev(sde2)
[  389.973368] md: bind<sda2>
[  389.977207] md/raid:md0: device sda2 operational as raid disk 0
[  389.983207] md/raid:md0: device sdc2 operational as raid disk 2
[  389.989164] md/raid:md0: device sdb2 operational as raid disk 1
[  389.996576] md/raid:md0: allocated 0kB
[  390.000432] md/raid:md0: not enough operational devices (2/5 failed)
[  390.006811] RAID conf printout:
[  390.006821]  --- level:5 rd:5 wd:3
[  390.006831]  disk 0, o:1, dev:sda2
[  390.006839]  disk 1, o:1, dev:sdb2
[  390.006847]  disk 2, o:1, dev:sdc2
[  390.007926] md/raid:md0: failed to run raid set.
[  390.012595] md: pers->run() failed ...


Took out the usb disk and tried to assemble the RAID.

Code: Select all
root@fvdw-sta-kirkwood:/ # mdadm --assemble /dev/md0 /dev/sd[abce]2 --run
mdadm: /dev/sda2 is busy - skipping
mdadm: /dev/sdb2 is busy - skipping
mdadm: /dev/sdc2 is busy - skipping
mdadm: /dev/md0 is already in use.
pacco
 
Posts: 76
Joined: Tue Apr 28, 2015 1:27 pm

Re: Cannot access 5big network 2

Postby Jocko » Tue May 19, 2015 10:13 am

You fail to create the raid because you do an error in your command : you forgot to add the letter 'd'.

So as sde2 has a bad status, mdadm can not restore the raid (2 faulty disks).

Before starting udevstart sde is physically the device sdd and so you can build the raid in this case.


I think also that some dev node are missing in /dev. you need to build the nodes sef and sef1...
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Cannot access 5big network 2

Postby pacco » Tue May 19, 2015 10:16 am

Jocko wrote:You fail to create the raid because you do an error in your command : you forgot to add the letter 'd'.

So as sde2 has a bad status, mdadm can not restore the raid (2 faulty disks).

Before starting udevstart sde is physically the device sdd and so you can build the raid in this case.


I think also that some dev node are missing in /dev. you need to build the nodes sef and sef1...

So please advise me what to do next!

Reboot. Build the array. Start udevstart, build nodes and connect usb disk? How do I build the nodes?
pacco
 
Posts: 76
Joined: Tue Apr 28, 2015 1:27 pm

Re: Cannot access 5big network 2

Postby Jocko » Tue May 19, 2015 10:17 am

To build them do
Code: Select all
mknod -m 666 /dev/sef b 8 80
mknod -m 666 /dev/sef1 b 8 81


if you have several partitions
Code: Select all
mknod -m 666 /dev/sefx b 8 8x
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Cannot access 5big network 2

Postby Mijzelf » Tue May 19, 2015 10:19 am

Jocko wrote:Before starting udevstart sde is physically the device sdd and so you can build the raid in this case.
Thanks for that snipped. I was doubting my sanity.
I think also that some dev node are missing in /dev. you need to build the nodes sef and sef1...
sef? Don't you mean sdf?
How will that help if the kernel doesn't detect the disk?
Mijzelf
 
Posts: 254
Joined: Wed Nov 21, 2012 9:12 am

Re: Cannot access 5big network 2

Postby Jocko » Tue May 19, 2015 10:22 am

To summarize, the right sequence is:
1/upload mdadm and udevstart
2/start udevstart
3/build the raid
Code: Select all
mdadm --assemble /dev/[abcde]2

4/ build the nodes
Code: Select all
mknod -m 666 /dev/sef b 8 80
...

5/plug the usb drives

Then check your /proc/partitions

@Mijzelf
with Lacie, kernel name for usb device is se[a-z][0-9] and we keep this behaviour in the kernel
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Cannot access 5big network 2

Postby pacco » Tue May 19, 2015 10:25 am

Just restarted. First just the RAID working and then started udevstart.
Still no usb disk. Could it have anything to do with the disk being a usb3.0 disk?

Please advise me what to do!
pacco
 
Posts: 76
Joined: Tue Apr 28, 2015 1:27 pm

Re: Cannot access 5big network 2

Postby pacco » Tue May 19, 2015 10:25 am

Jocko wrote:To summarize, the right sequence is:
1/upload mdadm and udevstart
2/start udevstart
3/build the raid
Code: Select all
mdadm --assemble /[dev/abcde]2

4/ build the nodes
Code: Select all
mknod -m 666 /dev/sef b 8 80
...

5/plug the usb drives

Then check your /proc/partitions

@Mijzelf
with Lacie, kernel name for usb device is se[a-z][0-9] and we keep this behaviour in the kernel

Will do! Just a moment.
pacco
 
Posts: 76
Joined: Tue Apr 28, 2015 1:27 pm

Re: Cannot access 5big network 2

Postby Mijzelf » Tue May 19, 2015 10:26 am

pacco wrote:Could it have anything to do with the disk being a usb3.0 disk?
Maybe. Does the other Lacie detect it?
Mijzelf
 
Posts: 254
Joined: Wed Nov 21, 2012 9:12 am

PreviousNext

Return to Lacie 5big Network vs2

Who is online

Users browsing this forum: No registered users and 2 guests

cron