Well, the Config restore did not seem to make a significant difference. I still don’t have the Storage section in Dashboard. I’m running a Factory quick restore just to make sure.
EDIT01 : Factory Quick Restore made no difference. I still have no Storage tab. MBL Duo does pass quick diagnostic.
EDIT02: Completed script procedure again. Did not wipe existing partitions in parted beforehand. Console output will be inserted below. Same complaints about Blocks Too Large, but proceeded as before.
When drives were loaded back into MBL Duo and booted up, Dashboard came up with the Storage tab. Woohoo! Major sense of relief for that. Ran Quick factory restore. Drives are now correctly recognized by model number and size. They came up in Spanned mode.
SSH:
swapon -s returns:
MyBookLiveDuo:~# swapon -s
Filename Type Size Used Priority
Running:
MyBookLiveDuo:~# mkswap /dev/md2
mkswap: /dev/md2: warning: don’t erase bootbits sectors
on whole disk. Use -f to force.
Setting up swapspace version 1, size = 500608 KiB
no label, UUID=a5e736b5-7762-439b-bf66-4fd4691df6a7
Now I get-
MyBookLiveDuo:~# swapon -s
Filename Type Size Used Priority
/dev/md2 partition 500544 3584 -1
It appears that everything is now in order! I am going to run the firmware update and then reset to RAID 1.
Update was successful. Array is now rebuilding!
@ nfodiz - KUDOS and MANY THANKS for all your work on this Guide! Once I got all the details in order in my mind things worked out GREAT! I would mark it as Accept as Solution if I could find the way to do it. In any case, BRAVO!
Console output from script running:
root@sysresccd /root % mkdir /mnt/usb
root@sysresccd /root % mount -t vfat /dev/sdb1 /mnt/usb
root@sysresccd /root % cd /mnt/usb
root@sysresccd /mnt/usb % mdadm -S /dev/md0
mdadm: stopped /dev/md0
root@sysresccd /mnt/usb % mdadm -S /dev/md2
mdadm: error opening /dev/md2: No such file or directory
root@sysresccd /mnt/usb % mdadm -S /dev/md3
mdadm: error opening /dev/md3: No such file or directory
root@sysresccd /mnt/usb % ./debrick.sh rootfs.img /dev/sda destroy
********************** DISK **********************
script will use the following disk:
Model: ATA WDC WD30EFRX-68A (scsi)
Disk /dev/sda: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
3 15.7MB 528MB 513MB primary raid
1 528MB 2576MB 2048MB ext3 primary raid
2 2576MB 4624MB 2048MB ext3 primary raid
4 4624MB 3001GB 2996GB ext4 primary raid
is this REALLY the disk you want? [y] y
********************** IMAGE **********************
********************** IMPLEMENTATION **********************
everything is now prepared!
device: /dev/sda
image_img: rootfs.img
destroy: true
this is the point of no return, continue? [y] y
32+0 records in
32+0 records out
33554432 bytes (34 MB) copied, 0.248524 s, 135 MB/s
32+0 records in
32+0 records out
33554432 bytes (34 MB) copied, 0.23149 s, 145 MB/s
32+0 records in
32+0 records out
33554432 bytes (34 MB) copied, 0.243844 s, 138 MB/s
32+0 records in
32+0 records out
33554432 bytes (34 MB) copied, 0.24067 s, 139 MB/s
Testing with pattern 0x00: done
Reading and comparing: done
GNU Parted 3.1
Using /dev/sda
Welcome to GNU Parted! Type ‘help’ to view a list of commands.
(parted) mklabel gpt
(parted) mkpart primary 528M 2576M
(parted) mkpart primary 2576M 4624M
(parted) mkpart primary 16M 528M
(parted) mkpart primary 4624M -1M
(parted) set 1 raid on
(parted) set 2 raid on
(parted) set 3 raid on
(parted) set 4 raid on
(parted) quit
Information: You may need to update /etc/fstab.
Warning: blocksize 65536 not usable on most systems.
mke2fs 1.42.7 (21-Jan-2013)
mkfs.ext4: 65536-byte blocks too big for system (max 4096)
Proceed anyway? (y,n)
Warning: 65536-byte blocks too big for system (max 4096), forced to continue
Filesystem label=
OS type: Linux
Block size=65536 (log=6)
Fragment size=65536 (log=6)
Stride=0 blocks, Stripe width=0 blocks
45565440 inodes, 45714840 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=133677056
698 block groups
65528 blocks per group, 65528 fragments per group
65280 inodes per group
Superblock backups stored on blocks:
65528, 196584, 327640, 458696, 589752, 1638200, 1769256, 3210872,
5307768, 8191000, 15923304, 22476104, 40955000
Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
destroying was done, would you like to continue with installation? [y]
mdadm: size set to 1999808K
mdadm: array /dev/md0 started.
mke2fs 1.42.7 (21-Jan-2013)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
125184 inodes, 499952 blocks
24997 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=515899392
16 block groups
32768 blocks per group, 32768 fragments per group
7824 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Checking for bad blocks (read-only test): 0.00% done, 0:00 elapsed. (0/0/0 errdone
Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
mdadm: added /dev/sda2
synchronize raid… done
copying image to disk…
3999616+0 records in
3999616+0 records out
2047803392 bytes (2.0 GB) copied, 92.9394 s, 22.0 MB/s
mdadm: stopped /dev/md0
all done! device should be debricked!