| 
 盒子内截图 
 
 
各位前辈好 
 
朋友给了一个mybooklive duo的空盒子,盒子给我前是能正常使用的。我自己的一块1T硬盘放到盒子里面,并按方法2重装系统(用my book live duo的固件,用方法2 的sh脚本)。 
 
重装后,可以用http://mybookliveduo/UI/访问到盒子界面,可以在里面直行“恢复出厂设置”和“重启等操作”,但是始终硬盘空间显示为0,提示“数据卷加载失败,储存设备故障”。然后盒子红灯常亮 
 
请教这种情况怎么办,谢谢,操作如下 
 
 
root@ubuntu:/mnt/usb# bash ./debricker.sh /dev/sdb rootfs.img destroy 
********************** DISK           ********************** 
script will use the following disk:  
Model: KINGSHAR KS-HDD160 (scsi) 
Disk /dev/sdb: 1000GB 
Sector size (logical/physical): 512B/512B 
Partition Table: gpt 
Disk Flags:  
Number  Start   End     Size    File system  Name     Flags 
 3      15.7MB  528MB   513MB                primary 
 1      528MB   2576MB  2048MB  ext3         primary  raid 
 2      2576MB  4624MB  2048MB  ext3         primary  raid 
 4      4624MB  1000GB  996GB                primary 
is this REALLY the disk you want? [y] y 
********************** IMAGE          ********************** 
swap.c:12:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 
 main(int argc, char *argv[]) 
 ^ 
swap.c: In function ‘main’: 
swap.c:32:9: warning: implicit declaration of function ‘lseek64’ [-Wimplicit-function-declaration] 
     if (lseek64(fd, offset, 0) < 0LL) { 
         ^ 
********************** IMPLEMENTATION ********************** 
everything is now prepared! 
device:       /dev/sdb 
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, 32 MiB) copied, 0.0820438 s, 409 MB/s 
32+0 records in 
32+0 records out 
33554432 bytes (34 MB, 32 MiB) copied, 0.56959 s, 58.9 MB/s 
32+0 records in 
32+0 records out 
33554432 bytes (34 MB, 32 MiB) copied, 0.0481245 s, 697 MB/s 
32+0 records in 
32+0 records out 
33554432 bytes (34 MB, 32 MiB) copied, 0.555603 s, 60.4 MB/s 
Testing with pattern 0x00: done                                                  
Reading and comparing: done                                                  
GNU Parted 3.2 
Using /dev/sdb 
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) quit                                                              
Information: You may need to update /etc/fstab. 
Warning: blocksize 65536 not usable on most systems.                       
mke2fs 1.42.13 (17-May-2015) 
mkfs.ext4: 65536-byte blocks too big for system (max 4096) 
Proceed anyway? (y,n) y 
Warning: 65536-byte blocks too big for system (max 4096), forced to continue 
Creating filesystem with 15191280 64k blocks and 15144960 inodes 
Filesystem UUID: 40ce2dc6-11b8-4a59-8a7c-d2013d530da1 
Superblock backups stored on blocks:  
 65528, 196584, 327640, 458696, 589752, 1638200, 1769256, 3210872,  
 5307768, 8191000 
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] y 
mdadm: size set to 1999808K 
mdadm: array /dev/md0 started. 
mke2fs 1.42.13 (17-May-2015) 
Creating filesystem with 499952 4k blocks and 125184 inodes 
Filesystem UUID: ae17d1f9-3039-402c-987e-7033d3043938 
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/sdb2 
synchronize raid... done 
copying image to disk...  
3999616+0 records in 
3999616+0 records out 
2047803392 bytes (2.0 GB, 1.9 GiB) copied, 212.391 s, 9.6 MB/s 
mdadm: stopped /dev/md0 
all done! device should be debricked! 
 
 
 
 
 |   
 
 
 
 |