如何安装从单盘 ZyXEL NAS 中提取的硬盘?

如何安装从单盘 ZyXEL NAS 中提取的硬盘?

格帕特

Gparted 信息和警告:

<i>Filesystem volume name:   <none>
Last mounted on:          /i-data/f128dac5
Filesystem UUID:          c2f55399-a8ab-400b-a144-d605ceb58c9d
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags:         unsigned_directory_hash 
Default mount options:    (none)
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              122068992
Block count:              488249472
Reserved block count:     0
Free blocks:              480389347
Free inodes:              122066932
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      907
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
Flex block group size:    16
Filesystem created:       Fri May 25 16:45:58 2012
Last mount time:          Wed Dec 31 17:14:27 2014
Last write time:          Wed Dec 31 17:29:55 2014
Mount count:              369
Maximum mount count:      21
Last checked:             Fri May 25 16:58:00 2012
Check interval:           15552000 (6 months)
Next check after:         Wed Nov 21 15:58:00 2012
Lifetime writes:          2351 GB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:           256
Required extra isize:     28
Desired extra isize:      28
Journal inode:            8
Default directory hash:   half_md4
Directory Hash Seed:      bc641083-df73-4c0a-8560-ac502897cba0
Journal backup:           inode blocks</i>

<i>dumpe2fs 1.42.12 (29-Aug-2014)
dumpe2fs: A block group is missing an inode table while reading journal inode</i>

<i>Unable to read the contents of this file system!
Because of this some operations may be unavailable.
The cause might be a missing software package.
The following list of software packages is required for ext4 file system support:  e2fsprogs v1.41+.</i>

e2fsprogs已安装,版本为1.42。它在 Debian 8.3 上。

答案1

首先,如果您没有mdadm(手册页)已安装,您需要立即安装:

sudo apt-get install mdadm

假设驱动器的名称是/dev/sdx,我们对第二个分区感兴趣,假设系统上已经有一些阵列,因此我们将其命名为/dev/md9,我们按如下方式组装单驱动器阵列:

sudo mdadm --assemble --force /dev/md9 /dev/sdx2

如果一切顺利,请为安装点创建一些目录,例如:

sudo mkdir --mode=755 /mnt/zyxelnas

最后按如下方式挂载:

sudo mount /dev/md9 /mnt/zyxelnas

相关内容