Failed Drive Replacement

Re: Failed Drive Replacement

Postby Jocko » Mon Jun 12, 2017 6:45 pm

You just need to use exactly the same name for the share as the folder name.

But you can not do this on the technical share (tr-daemon and tr-downloads) as these names are reserved.
if you do not have some torrent files on downloading, you must re-install transmission
Jocko
Site Admin - expert
 
Posts: 11564
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Failed Drive Replacement

Postby hvymetal86 » Mon Jun 12, 2017 6:57 pm

I had active torrents running at the time of the firmware update. I just checked its web interface and its up and working properly. It looks like there's a newer version though. If I stop it, upgrade, and then restart it will the upgrade wipe out my settings and active torrents?
hvymetal86
Donator VIP
Donator VIP
 
Posts: 121
Joined: Mon May 11, 2015 3:42 pm

Re: Failed Drive Replacement

Postby Jocko » Mon Jun 12, 2017 7:03 pm

Install or update transmission client will remove the torrent files.

So do
Code: Select all
mv /share/1100/tr-daemon /share/1100/tr-daemon.org
mv /share/1100/tr-downloads /share/1100/tr-downloads.org

Install again transmission (do not start it)

You should see two new folders (tr-downloads; tr-daemon) in /share/1100.
So overwrite them by the original folders
Code: Select all
mv /share/1100/tr-daemon.org /share/1100/tr-daemon
mv /share/1100/tr-downloads.org /share/1100/tr-downloads
Jocko
Site Admin - expert
 
Posts: 11564
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Failed Drive Replacement

Postby hvymetal86 » Mon Jun 12, 2017 7:09 pm

Awesome thanks! I'll be doing that and re-creating the shares tonight and will update again once done. After that comes the drive replacement.
hvymetal86
Donator VIP
Donator VIP
 
Posts: 121
Joined: Mon May 11, 2015 3:42 pm

Re: Failed Drive Replacement

Postby hvymetal86 » Tue Jun 13, 2017 12:02 pm

Shares were all successfully recreated, transmission was updated w/o losing the settings or active torrents list. I'm now ready to do the drive replacement.
hvymetal86
Donator VIP
Donator VIP
 
Posts: 121
Joined: Mon May 11, 2015 3:42 pm

Re: Failed Drive Replacement

Postby Jocko » Tue Jun 13, 2017 3:50 pm

Hi hvymetal

Nice!

Now the next step should be easy. (I assume you did not install on some partitions a kernel image)
So:
- stop the nas
- put in the middle slot (sdc), the new disk
- start the nas
- go the setup disk
Then:
Either the new disk is listed on the disks/volumes and then click on the related link "reset" to initialize the disk
or if it is missing (<=> no partition table on the disk), click on the button "Initialize Hard Disks and Volumes". Then the new disk should be listed (and so select it to initialize it)

On both cases you need to select the partition table (=> gpt table with a disk size 3TB) and as fs : ext3 or ext4 (It does not matter as it will be included later in a raid)
After this step, a partition table should be created and also a single data volume

Then the last step is to include the new single volume (Vol-C) in your degraded raid volume.
Still from the disk setup menu:
- click on the link of your raid volume (which opens the edit volume menu)
- on the raid section, to repair your raid, select the new single volume (Vol-C) to add it on the raid

That's all
Jocko
Site Admin - expert
 
Posts: 11564
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Failed Drive Replacement

Postby hvymetal86 » Wed Jun 14, 2017 5:27 am

I first tried resetting sdc using "GPT" and "ext3" settings. Chose ext3 just because the RAID volume is that for consistency, even though it doesn't matter once added to the array.
Log from Web GUI of resetting sdc:
Code: Select all
NAS server in Setup Mode

(re-)Start the setup task :   Reset internal disk(s)

Started on:   14 June 2017, 01:00:50
Ended at:   14 June 2017, 01:01:25
Setup task reset.sh is now running
Found disk: sdc(W1F086KE)
Delete the partiton table on sdc: OK
Create a new partiton gpt table on sdc:
=>Creating gpt partition table succeeded
Format partition sdc8 with file system ext3:
=>mke2fs 1.42.11 (09-Jul-2014)
Filesystem too small for a journal
Discarding device blocks: done
Creating filesystem with 1024 1k blocks and 128 inodes
Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
=>Fail (set ext3 file system on sdc8 failed)
It also gave this pop-up window after failure:
https://drive.google.com/open?id=0B5x7lw1_KgjVMjkyVmZKcmVYZlE

Contents of file mentioned by "More detail in:"
Code: Select all
root@HvyMtlNAS:/ # cat /etc/.setup.fs/setupjob.log
<b>Setup task reset.sh is now running</b><br>
Found disk: sdc(W1F086KE) <br>
Delete the partiton table on sdc: OK<br>
Create a new partiton gpt table on sdc: <br>
=>Creating gpt partition table succeeded<br>
Format partition sdc8 with file system ext3: <br>
=>mke2fs 1.42.11 (09-Jul-2014)

Filesystem too small for a journal
Discarding device blocks: done
Creating filesystem with 1024 1k blocks and 128 inodes

Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done

=><span style="color:red;"><b>Fail (set ext3 file system on sdc8 failed)</b></sp                      an><br>
<br><b>Setup task reset.sh is restarting</b><br>
Found disk: sdc(W1F086KE) <br>
Format partition sdc8 with file system ext3: <br>
=>mke2fs 1.42.11 (09-Jul-2014)

Filesystem too small for a journal
Discarding device blocks: done
Creating filesystem with 1024 1k blocks and 128 inodes

Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done

=><span style="color:red;"><b>Fail (set ext3 file system on sdc8 failed)</b></sp                      an><br>
root@HvyMtlNAS:/ #
So then I retried it using settings of "GPT" and "ext4" and it was successful. Log from Web GUI of resetting sdc:
Code: Select all
Setup task reset.sh is now running
Found disk: sdc(W1F086KE)
Delete the partiton table on sdc: OK
Create a new partiton gpt table on sdc:
=>Creating gpt partition table succeeded
Format partition sdc8 with file system ext4:
=>mke2fs 1.42.11 (09-Jul-2014)
Creating filesystem with 732566129 4k blocks and 183148544 inodes
Filesystem UUID: f3ab0e89-a1e4-4df6-acab-3416a77eff71
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
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
=>Formatting sdc8 succeeded
Update partition type on sdc8: OK
Remove orphan shares: OK
Setup task reset.sh is ended
I'm not sure what about ext3 it didn't like, but I thought I'd gather all the info from it in case it would be helpful to you for development. Ext4 reset finished pop-up:
https://drive.google.com/open?id=0B5x7lw1_KgjVNmh6M2EyVGctRzA

For the ext4 setting this was the contents of file mentioned by "More detail in:"
Code: Select all
root@HvyMtlNAS:/ # cat /etc/.setup.fs/setupjob.log
<b>Setup task reset.sh is now running</b><br>
Found disk: sdc(W1F086KE) <br>
Delete the partiton table on sdc: OK<br>
Create a new partiton gpt table on sdc: <br>
=>Creating gpt partition table succeeded<br>
Format partition sdc8 with file system ext4: <br>
=>mke2fs 1.42.11 (09-Jul-2014)
Creating filesystem with 732566129 4k blocks and 183148544 inodes
Filesystem UUID: f3ab0e89-a1e4-4df6-acab-3416a77eff71
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
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

=>Formatting sdc8 succeeded<br>
Update partition type on sdc8: OK<br>
Remove orphan shares: OK<br>
<b>Setup task reset.sh is ended</b><br>
root@HvyMtlNAS:/ #
After adding sdc it is showing recovery status in Disk Setup initially:
Code: Select all
clean, degraded, recovering completed: 0.0%, estimated time: 3149.5min
And then a few minutes later it showed (slow) progress:
Code: Select all
clean, degraded, recovering completed: 0.2%, estimated time: 3194.1min
Something I noticed in the changelog for 17.0 and again in the edit menu of the RAID array is ext4. Can I use the convert feature (obviously after the RAID is healthy again) to convert the format type from ext3 to ext4 WITHOUT losing data? Thought of this because of the benefits the changelog mentioned.
hvymetal86
Donator VIP
Donator VIP
 
Posts: 121
Joined: Mon May 11, 2015 3:42 pm

Re: Failed Drive Replacement

Postby Jocko » Wed Jun 14, 2017 8:24 am

Hi hvymetal

:thumbup

Otherwise I expected a faster recovery speed :scratch but may be low if you have many I/O accesses on the disk. (maybe transmission is running or something else)
Can you post again
Code: Select all
cat /proc/mdstat
dmesg


Amazing you failed to use ext3. I need to see if we use the right command for large disk (>2TB)

hvymetal86 wrote:Something I noticed in the changelog for 17.0 and again in the edit menu of the RAID array is ext4.
yes it is here you may convert the raid fs to ext4
Jocko
Site Admin - expert
 
Posts: 11564
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Failed Drive Replacement

Postby hvymetal86 » Wed Jun 14, 2017 12:23 pm

Transmission was running (set to autostart). I stopped it manually and then refreshed the GUI at the shown intervals to show change over time:
Code: Select all
clean, degraded, recovering completed: 12.9%, estimated time: 2637.9min
+3 min real time
clean, degraded, recovering completed: 13.0%, estimated time: 2693.7min
+3 min real time
clean, degraded, recovering completed: 13.1%, estimated time: 2537.4min
+7 min real time
clean, degraded, recovering completed: 13.3%, estimated time: 2677.6min


After those data points I ran the commands you requested:
Code: Select all
root@HvyMtlNAS:/ # cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
md0 : active raid5 sdc8[5] sda8[0] sde8[4] sdd8[3] sdb8[1]
      7802449920 blocks level 5, 64k chunk, algorithm 2 [5/4] [UU_UU]
      [==>..................]  recovery = 13.4% (261763072/1950612480) finish=2619.6min speed=10744K/sec

unused devices: <none>
root@HvyMtlNAS:/ #
Code: Select all
root@HvyMtlNAS:/ # dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.6.6 (root@fvdwsl-5big2.local) (gcc version 4.9.3 (GCC) ) #7 PREEMPT Sun May 7 11:50:52 CEST 2017
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005317f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: LaCie 5Big Network Nand 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 c0962e18, node_mem_map dfbfa000
[    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 root=/dev/sda7 ro reset=0 productType=BIG5_KW cap=gpt,lba64
[    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: 509736K/524288K available (7113K kernel code, 328K rwdata, 1940K rodata, 200K init, 395K bss, 14552K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc08df8e8   (9055 kB)
[    0.000000]       .init : 0xc08e0000 - 0xc0912000   ( 200 kB)
[    0.000000]       .data : 0xc0912000 - 0xc0964320   ( 329 kB)
[    0.000000]        .bss : 0xc0964320 - 0xc09c7004   ( 396 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:114
[    0.000000] Switching to timer-based delay loop, resolution 6ns
[    0.000009] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[    0.166135] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns
[    0.166419] Console: colour dummy device 80x30
[    0.166449] Calibrating delay loop (skipped), value calculated using timer frequency.. 333.33 BogoMIPS (lpj=1666666)
[    0.166470] pid_max: default: 32768 minimum: 301
[    0.166609] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.166629] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.167210] CPU: Testing write buffer coherency: ok
[    0.167572] Setting up static identity map for 0x81e0 - 0x8238
[    0.170779] VFP support v0.3: not present
[    0.171249] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.171390] xor: measuring software checksum speed
[    0.266397]    arm4regs  :  1088.400 MB/sec
[    0.366208]    8regs     :   653.600 MB/sec
[    0.466210]    32regs    :   904.800 MB/sec
[    0.466227] xor: using function: arm4regs (1088.400 MB/sec)
[    0.466268] pinctrl core: initialized pinctrl subsystem
[    0.467148] NET: Registered protocol family 16
[    0.467663] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.470463] Kirkwood: MV88F6281-A1, TCLK=166666667.
[    0.470494] Feroceon L2: Enabling L2
[    0.470533] Feroceon L2: Cache support initialised.
[    0.471685] kirkwood_init: create proc tsinfo proc
[    0.471708] tsinfo: create proc tsinfo vendor successfully
[    0.471716] mv_usb_init 1
[    0.471727] mv_usb_init 2 devnum = 0
[    0.471737] init function mv_usb_init finished
[    0.471745] initial MPP regs: 01111111 00003311 33331100 33003333 00000033 00000000 00000000
[    0.471779]   final MPP regs: 01111111 00003311 33331100 33003333 00000033 00000000 00000000
[    0.472432]  orion-ehci registered
[    0.474283] orion_gpio_is_valid: invalid GPIO 7
[    0.686815] raid6: int32x1  gen()   101 MB/s
[    0.856516] raid6: int32x1  xor()    63 MB/s
[    1.026540] raid6: int32x2  gen()   133 MB/s
[    1.196266] raid6: int32x2  xor()    84 MB/s
[    1.366516] raid6: int32x4  gen()   133 MB/s
[    1.536391] raid6: int32x4  xor()    90 MB/s
[    1.706279] raid6: int32x8  gen()   121 MB/s
[    1.876282] raid6: int32x8  xor()    80 MB/s
[    1.876292] raid6: using algorithm int32x2 gen() 133 MB/s
[    1.876300] raid6: .... xor() 84 MB/s, rmw enabled
[    1.876308] raid6: using intx1 recovery algorithm
[    1.876614] vgaarb: loaded
[    1.877076] SCSI subsystem initialized
[    1.877361] libata version 3.00 loaded.
[    1.877914] usbcore: registered new interface driver usbfs
[    1.878045] usbcore: registered new interface driver hub
[    1.878159] usbcore: registered new device driver usb
[    1.878449] Linux video capture interface: v2.00
[    1.881854] clocksource: Switched to clocksource orion_clocksource
[    1.882015] VFS: Disk quotas dquot_6.6.0
[    1.882072] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.898265] NET: Registered protocol family 2
[    1.898938] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    1.898998] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    1.899051] TCP: Hash tables configured (established 4096 bind 4096)
[    1.899114] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    1.899138] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    1.899319] NET: Registered protocol family 1
[    1.900071] RPC: Registered named UNIX socket transport module.
[    1.900084] RPC: Registered udp transport module.
[    1.900091] RPC: Registered tcp transport module.
[    1.900098] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.900122] PCI: CLS 0 bytes, default 32
[    1.900378] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.900514] gpio-usb-probe-4b err=0
[    1.900529] gpio-usb gpio-usb: USB GPIO's initialized
[    1.901779] futex hash table entries: 256 (order: -1, 3072 bytes)
[    1.902334] workingset: timestamp_bits=29 max_order=17 bucket_order=0
[    1.903199] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.903572] ntfs: driver 2.1.32 [Flags: R/W].
[    1.903630] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.903814] fuse init (API version 7.24)
[    1.904319] JFS: nTxBlock = 3982, nTxLock = 31858
[    1.905817] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    1.910584] async_tx: api initialized (async)
[    1.910684] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.910702] io scheduler noop registered
[    1.910717] io scheduler deadline registered
[    1.910748] io scheduler cfq registered (default)
[    1.910968] mv_xor mv_xor.0: Marvell shared XOR driver
[    1.946891] mv_xor mv_xor.0: Marvell XOR (Registers Mode): ( xor cpy )
[    1.948731] mv_xor mv_xor.1: Marvell shared XOR driver
[    1.986844] mv_xor mv_xor.1: Marvell XOR (Registers Mode): ( xor cpy )
[    1.994971] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.996605] console [ttyS0] disabled
[    2.016778] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 10416666) is a 16550A
[    2.617813] console [ttyS0] enabled
[    2.636380] brd: module loaded
[    2.647064] loop: module loaded
[    2.650590] sata_mv sata_mv.0: version 1.28
[    2.650655] sata_mv sata_mv.0: cannot get optional clkdev
[    2.656133] sata_mv sata_mv.0: slots 32 ports 2
[    2.664894] scsi host0: sata_mv
[    2.668766] scsi host1: sata_mv
[    2.672299] ata1: SATA max UDMA/133 irq 21
[    2.676603] ata2: SATA max UDMA/133 irq 21
[    2.681945] nand: Could not find valid ONFI parameter page; aborting
[    2.688977] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    2.695300] nand: Hynix NAND 256MiB 3,3V 8-bit
[    2.699797] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.707425] Scanning device for bad blocks
[    2.721275] Bad eraseblock 117 at 0x000000ea0000
[    2.727248] Bad eraseblock 134 at 0x0000010c0000
[    2.890800] Creating 3 MTD partitions on "orion_nand":
[    2.895918] 0x000000000000-0x000000100000 : "u-boot"
[    2.902141] 0x000000100000-0x000001100000 : "uImage"
[    2.908673] 0x000001100000-0x000010000000 : "root"
[    2.917775] tun: Universal TUN/TAP device driver, 1.6
[    2.922809] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    2.930020] ipddp.c:v0.01 8/28/97 Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[    2.938415] ipddp0: Appletalk-IP Encap. mode by Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[    2.954874] libphy: orion_mdio_bus: probed
[    2.959175] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    3.166195] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    3.186277] ata1.15: Port Multiplier 1.2, 0x11ab:0x4140 r193, 4 ports, feat 0x5/0x1f
[    3.211662] ata1.00: hard resetting link
[    3.556977] ata1.01: hard resetting link
[    4.056454] ata1.02: hard resetting link
[    4.083216] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:4b:93:4a:84
[    4.556457] ata1.03: hard resetting link
[    5.076236] ata1.01: ATA-8: ST3000DM001-9YN166, CC4C, max UDMA/133
[    5.086278] ata1.01: 5860533168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    5.126260] ata1.01: configured for UDMA/133
[    5.146238] ata1.02: ATA-8: TOSHIBA DT01ACA200, MX4OABB0, max UDMA/133
[    5.152735] ata1.02: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    5.203016] mv643xx_eth_port mv643xx_eth_port.1 eth1: port 0 with MAC address 00:d0:4b:93:4a:85
[    5.211765] ata1.02: configured for UDMA/133
[    5.216600] PPP generic driver version 2.4.2
[    5.221202] PPP Deflate Compression module registered
[    5.226325] ata1.03: ATA-9: ST2000DM001-1ER164, CC45, max UDMA/133
[    5.226332] ata1.03: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    5.239687] PPP MPPE Compression module registered
[    5.244463] NET: Registered protocol family 24
[    5.249314] usbcore: registered new interface driver rt2500usb
[    5.255350] usbcore: registered new interface driver rt73usb
[    5.261152] ata1.03: configured for UDMA/133
[    5.261353] ata1: EH complete
[    5.268962] scsi 0:1:0:0: Direct-Access     ATA      ST3000DM001-9YN1 CC4C PQ: 0 ANSI: 5
[    5.277380] usbcore: registered new interface driver rt2800usb
[    5.283420] usbcore: registered new interface driver rtl8187
[    5.289328] usbcore: registered new interface driver rtl8192cu
[    5.295148] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[    5.302718] usbcore: registered new interface driver pegasus
[    5.308827] fvdw1 disk index before get_sd_name = 0
[    5.308831] device-name= sata_mv
[    5.308835] fvdw2 disk index after get_sd_name = 2
[    5.308838] fvdw3 prefix[0]=s  prefix[1]=d
[    5.308840] fvdw4 diskname = sdc
[    5.309594] sd 0:1:0:0: [sdc] 5860533168 512-byte logical blocks: (3.00 TB/2.73 TiB)
[    5.309603] sd 0:1:0:0: [sdc] 4096-byte physical blocks
[    5.309851] sd 0:1:0:0: [sdc] Write Protect is off
[    5.309862] sd 0:1:0:0: [sdc] Mode Sense: 00 3a 00 00
[    5.309970] sd 0:1:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.311438] scsi 0:2:0:0: Direct-Access     ATA      TOSHIBA DT01ACA2 ABB0 PQ: 0 ANSI: 5
[    5.368085] fvdw1 disk index before get_sd_name = 1
[    5.368089] device-name= sata_mv
[    5.368092] fvdw2 disk index after get_sd_name = 1
[    5.368095] fvdw3 prefix[0]=s  prefix[1]=d
[    5.368098] fvdw4 diskname = sdb
[    5.368918] sd 0:2:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    5.368962] sd 0:2:0:0: [sdb] 4096-byte physical blocks
[    5.369352] sd 0:2:0:0: [sdb] Write Protect is off
[    5.369392] sd 0:2:0:0: [sdb] Mode Sense: 00 3a 00 00
[    5.369697]  sdc: sdc8
[    5.370506] sd 0:2:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.371794] sd 0:1:0:0: [sdc] Attached SCSI disk
[    5.377202] scsi 0:3:0:0: Direct-Access     ATA      ST2000DM001-1ER1 CC45 PQ: 0 ANSI: 5
[    5.436232]  sdb: sdb8
[    5.439407] fvdw1 disk index before get_sd_name = 2
[    5.444263] device-name= sata_mv
[    5.447649] usbcore: registered new interface driver asix
[    5.447795] usbcore: registered new interface driver ax88179_178a
[    5.447917] usbcore: registered new interface driver cdc_ether
[    5.448037] usbcore: registered new interface driver net1080
[    5.448155] usbcore: registered new interface driver plusb
[    5.448282] usbcore: registered new interface driver cdc_subset
[    5.448402] usbcore: registered new interface driver zaurus
[    5.448552] usbcore: registered new interface driver ipheth
[    5.448695] usbcore: registered new interface driver cdc_ncm
[    5.449938] sd 0:2:0:0: [sdb] Attached SCSI disk
[    5.451034] aoe: cannot create debugfs directory
[    5.451428] aoe: AoE v85 initialised.
[    5.451898] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[    5.452036] i2c /dev entries driver
[    5.452826] at24 0-0050: 512 byte 24c04 EEPROM, writable, 16 bytes/write
[    5.453006] uvcvideo: Unable to create debugfs directory
[    5.453100] usbcore: registered new interface driver uvcvideo
[    5.453103] USB Video Class driver (1.1.1)
[    5.453115] gspca_main: v2.14.0 registered
[    5.453202] usbcore: registered new interface driver Philips webcam
[    5.560056] fvdw2 disk index after get_sd_name = 0
[    5.564828] fvdw3 prefix[0]=s  prefix[1]=d
[    5.568935] fvdw4 diskname = sda
[    5.572561] sd 0:3:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    5.580960] sd 0:3:0:0: [sda] 4096-byte physical blocks
[    5.586501] sd 0:3:0:0: [sda] Write Protect is off
[    5.591284] sd 0:3:0:0: [sda] Mode Sense: 00 3a 00 00
[    5.591402] sd 0:3:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.606023] md: linear personality registered for level -1
[    5.611953] md: raid0 personality registered for level 0
[    5.617302] md: raid1 personality registered for level 1
[    5.622740] md: raid10 personality registered for level 10
[    5.629038] md: raid6 personality registered for level 6
[    5.634326] md: raid5 personality registered for level 5
[    5.639777] md: raid4 personality registered for level 4
[    5.645308] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[    5.654163] device-mapper: multipath: version 1.11.0 loaded
[    5.659858] device-mapper: multipath round-robin: version 1.1.0 loaded
[    5.666502] device-mapper: multipath queue-length: version 0.2.0 loaded
[    5.673189] device-mapper: multipath service-time: version 0.3.0 loaded
[    5.680092]  sda: sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8
[    5.682693] sd 0:3:0:0: [sda] Attached SCSI disk
[    5.693197] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    5.699334] device-mapper: raid: Loading target version 1.7.0
[    5.708302] Netfilter messages via NETLINK v0.30.
[    5.713002] nfnl_acct: registering with nfnetlink.
[    5.718721] nf_conntrack version 0.5.0 (7964 buckets, 31856 max)
[    5.725405] ipip: IPv4 over IPv4 tunneling driver
[    5.731178] ip_tables: (C) 2000-2006 Netfilter Core Team
[    5.736862] NET: Registered protocol family 10
[    5.742482] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    5.748261] sit: IPv6 over IPv4 tunneling driver
[    5.753748] NET: Registered protocol family 17
[    5.758432] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    5.771049] Bridge firewalling registered
[    5.775188] NET: Registered protocol family 5
[    5.780810] console [netcon0] enabled
[    5.784454] netconsole: network logging started
[    5.789735] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    5.796851] rtc-mv rtc-mv: setting system clock to 2017-06-14 05:13:07 UTC (1497417187)
[    6.066194] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    6.073136] ata2.15: Port Multiplier 1.2, 0x11ab:0x4140 r193, 4 ports, feat 0x5/0x1f
[    6.090089] ata2.00: hard resetting link
[    6.416942] ata2.01: hard resetting link
[    6.906444] ata2.02: hard resetting link
[    7.396449] ata2.03: hard resetting link
[    7.746232] ata2.01: ATA-8: TOSHIBA DT01ACA200, MX4OABB0, max UDMA/133
[    7.752737] ata2.01: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    7.786234] ata2.01: configured for UDMA/133
[    7.806225] ata2.02: ATA-9: ST2000DM001-1ER164, CC45, max UDMA/133
[    7.812379] ata2.02: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    7.846234] ata2.02: configured for UDMA/133
[    7.850671] ata2: EH complete
[    7.866537] scsi 1:1:0:0: Direct-Access     ATA      TOSHIBA DT01ACA2 ABB0 PQ: 0 ANSI: 5
[    7.926721] fvdw1 disk index before get_sd_name = 3
[    7.931582] device-name= sata_mv
[    7.934795] fvdw2 disk index after get_sd_name = 4
[    7.939705] fvdw3 prefix[0]=s  prefix[1]=d
[    7.943780] fvdw4 diskname = sde
[    7.947384] sd 1:1:0:0: [sde] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    7.955096] sd 1:1:0:0: [sde] 4096-byte physical blocks
[    7.961004] scsi 1:2:0:0: Direct-Access     ATA      ST2000DM001-1ER1 CC45 PQ: 0 ANSI: 5
[    7.969639] sd 1:1:0:0: [sde] Write Protect is off
[    7.974416] sd 1:1:0:0: [sde] Mode Sense: 00 3a 00 00
[    7.974525] sd 1:1:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    8.026627] fvdw1 disk index before get_sd_name = 4
[    8.032057] device-name= sata_mv
[    8.032346]  sde: sde8
[    8.037947] fvdw2 disk index after get_sd_name = 3
[    8.037951] fvdw3 prefix[0]=s  prefix[1]=d
[    8.037954] fvdw4 diskname = sdd
[    8.038343] sd 1:2:0:0: [sdd] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    8.038351] sd 1:2:0:0: [sdd] 4096-byte physical blocks
[    8.038597] sd 1:2:0:0: [sdd] Write Protect is off
[    8.038608] sd 1:2:0:0: [sdd] Mode Sense: 00 3a 00 00
[    8.038715] sd 1:2:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    8.081110] sd 1:1:0:0: [sde] Attached SCSI disk
[    8.126758]  sdd: sdd8
[    8.130289] sd 1:2:0:0: [sdd] Attached SCSI disk
[    8.134945] md: Skipping autodetection of RAID arrays. (raid=autodetect will force)
[    8.166574] EXT4-fs (sda7): mounting ext3 file system using the ext4 subsystem
[    8.193183] EXT4-fs (sda7): mounted filesystem with ordered data mode. Opts: (null)
[    8.200898] VFS: Mounted root (ext3 filesystem) readonly on device 8:39.
[    8.208248] Freeing unused kernel memory: 200K (c08e0000 - c0912000)
[    8.214575] This architecture does not have kernel memory protection.
[    8.432826] EXT4-fs (sda7): warning: maximal mount count reached, running e2fsck is recommended
[    8.496260] EXT4-fs (sda7): re-mounted. Opts: (null)
[    8.774386] EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystem
[    9.746457] EXT4-fs (sda2): warning: checktime reached, running e2fsck is recommended
[    9.786452] EXT4-fs (sda2): recovery complete
[    9.826254] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[   10.081915] EXT4-fs (sda2): re-mounted. Opts: (null)
[   10.566010] random: nonblocking pool is initialized
[   10.872434] EXT4-fs (sda5): mounting ext3 file system using the ext4 subsystem
[   11.186475] EXT4-fs (sda5): warning: maximal mount count reached, running e2fsck is recommended
[   11.226457] EXT4-fs (sda5): recovery complete
[   11.256338] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
[   11.383456] Adding 524284k swap on /dev/sda3.  Priority:-1 extents:1 across:524284k
[   11.828547] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   11.835767] ehci-orion: EHCI orion driver
[   11.839973] orion-ehci orion-ehci.0: EHCI Host Controller
[   11.845375] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   11.853141] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   11.876188] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   11.882234] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   11.889012] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   11.896213] usb usb1: Product: EHCI Host Controller
[   11.901068] usb usb1: Manufacturer: Linux 4.6.6 ehci_hcd
[   11.906368] usb usb1: SerialNumber: orion-ehci.0
[   11.911555] hub 1-0:1.0: USB hub found
[   11.915316] hub 1-0:1.0: 1 port detected
[   11.933796] usbcore: registered new interface driver usb-storage
[   11.951564] usbcore: registered new interface driver usblp
[   11.983646] Loading iSCSI transport class v2.0-870.
[   11.993706] iscsi: registered transport (tcp)
[   12.236255] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   12.396815] usb 1-1: New USB device found, idVendor=0424, idProduct=2512
[   12.403495] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   12.426854] hub 1-1:1.0: USB hub found
[   12.435951] hub 1-1:1.0: 2 ports detected
[   23.768549] udevd (1081): /proc/1081/oom_adj is deprecated, please use /proc/1081/oom_score_adj instead.
[   23.778137] udev: starting version 130
[   31.759727] md: md0 stopped.
[   31.765841] md: bind<sdb8>
[   31.769113] md: bind<sdd8>
[   31.772227] md: bind<sde8>
[   31.775417] md: bind<sda8>
[   31.806886] md/raid:md0: device sda8 operational as raid disk 0
[   31.812786] md/raid:md0: device sde8 operational as raid disk 4
[   31.818732] md/raid:md0: device sdd8 operational as raid disk 3
[   31.824622] md/raid:md0: device sdb8 operational as raid disk 1
[   31.832232] md/raid:md0: allocated 5320kB
[   31.836335] md/raid:md0: raid level 5 active with 4 out of 5 devices, algorithm 2
[   31.843782] RAID conf printout:
[   31.843791]  --- level:5 rd:5 wd:4
[   31.843800]  disk 0, o:1, dev:sda8
[   31.843808]  disk 1, o:1, dev:sdb8
[   31.843817]  disk 3, o:1, dev:sdd8
[   31.843825]  disk 4, o:1, dev:sde8
[   31.850356] md0: detected capacity change from 0 to 7989708718080
[   46.380338] EXT4-fs (sdc8): mounted filesystem with ordered data mode. Opts: user_xattr,acl,nodelalloc
[   46.491400] EXT4-fs (md0): mounting ext3 file system using the ext4 subsystem
[   47.258473] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: user_xattr,acl
[   49.749286] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
[   49.755358] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   52.258895] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   52.268736] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  205.299212] md: bind<sdc8>
[  205.416333] RAID conf printout:
[  205.416351]  --- level:5 rd:5 wd:4
[  205.416361]  disk 0, o:1, dev:sda8
[  205.416370]  disk 1, o:1, dev:sdb8
[  205.416378]  disk 2, o:1, dev:sdc8
[  205.416386]  disk 3, o:1, dev:sdd8
[  205.416395]  disk 4, o:1, dev:sde8
[  205.429507] md: recovery of RAID array md0
[  205.433594] md: minimum _guaranteed_  speed: 1000 KB/sec/disk.
[  205.456566] md: using maximum available idle IO bandwidth (but not more than 10000 KB/sec) for recovery.
[  205.466015] md: using 128k window, over a total of 1950612480k.
root@HvyMtlNAS:/ #
hvymetal86
Donator VIP
Donator VIP
 
Posts: 121
Joined: Mon May 11, 2015 3:42 pm

Re: Failed Drive Replacement

Postby Jocko » Wed Jun 14, 2017 12:53 pm

Hi

Use 10k/s as max speed limit is useful only when the raid is reshaping (with a faster speed, you lose all access on the nas: you have some memory allocation errors which kill successively the running servers: apache; samba; dropbear;...) but on a recovery state you can use a bigger value. (I need to fix that on a next patch).

So restore the default value
Code: Select all
echo 200000 >/sys/block/md0/md/sync_speed_max
wait a few seconds and you should read a faster synchronization speed
Code: Select all
cat /proc/mdstat
Jocko
Site Admin - expert
 
Posts: 11564
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

PreviousNext

Return to Lacie 5big Network vs2

Who is online

Users browsing this forum: No registered users and 14 guests