raid 0 restaurar inicialização

0

Parece que meu sistema não inicializa da próxima vez:

[root@master /]# fdisk -l
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

Disk /dev/sda: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt
Disk identifier: 4E18D342-BF38-4888-A059-A1E0DC477619


#         Start          End    Size  Type            Name
 2         4096     33556479     16G  Linux RAID      primary
 3     33556480    167772159     64G  Linux RAID      primary
 4    167782400    201310207     16G  Linux RAID      primary
 5    201324544   3907018751    1.7T  Linux RAID      primary
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt
Disk identifier: 5E302B86-E741-46C7-BC47-1317E2EA94D4


#         Start          End    Size  Type            Name
 2         4096     33556479     16G  Linux RAID      primary
 3     33556480    167772159     64G  Linux RAID      primary
 4    167782400    201310207     16G  Linux RAID      primary
 5    201324544   3907018751    1.7T  Linux RAID      primary

Disk /dev/md2: 17.2 GB, 17178755072 bytes, 33552256 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/md3: 137.4 GB, 137435807744 bytes, 268429312 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes


Disk /dev/md5: 3794.6 GB, 3794629820416 bytes, 7411386368 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes


Disk /dev/md0: 34.3 GB, 34313601024 bytes, 67018752 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 131072 bytes

[root@master /]# df -v
Filesystem      1K-blocks       Used Available Use% Mounted on
/dev/md2         16765888    6368280  10397608  38% /
devtmpfs         16361096          0  16361096   0% /dev
tmpfs            16373208         12  16373196   1% /dev/shm
tmpfs            16373208    1639952  14733256  11% /run
tmpfs            16373208          0  16373208   0% /sys/fs/cgroup
/dev/md3        134144000   15614628 118529372  12% /var
/dev/md5       3703874528 3313917192 389957336  90% /home
tmpfs             3274644          0   3274644   0% /run/user/0
/dev/md0         33491968      33336  33458632   1% /tmp
[root@master /]# cat /proc/mdstat
Personalities : [raid1] [raid0] [raid6] [raid5] [raid4]
md0 : active raid0 sdb4[1] sda4[0]
      33509376 blocks super 1.2 64k chunks

md5 : active raid0 sdb5[1] sda5[0]
      3705693184 blocks 512k chunks

md3 : active raid0 sdb3[1] sda3[0]
      134214656 blocks 512k chunks

md2 : active raid1 sdb2[1] sda2[0]
      16776128 blocks [2/2] [UU]

unused devices: <none>
[root@master /]# fdisk -l
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

Disk /dev/sda: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt
Disk identifier: 4E18D342-BF38-4888-A059-A1E0DC477619


#         Start          End    Size  Type            Name
 2         4096     33556479     16G  Linux RAID      primary
 3     33556480    167772159     64G  Linux RAID      primary
 4    167782400    201310207     16G  Linux RAID      primary
 5    201324544   3907018751    1.7T  Linux RAID      primary
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt
Disk identifier: 5E302B86-E741-46C7-BC47-1317E2EA94D4


#         Start          End    Size  Type            Name
 2         4096     33556479     16G  Linux RAID      primary
 3     33556480    167772159     64G  Linux RAID      primary
 4    167782400    201310207     16G  Linux RAID      primary
 5    201324544   3907018751    1.7T  Linux RAID      primary

Disk /dev/md2: 17.2 GB, 17178755072 bytes, 33552256 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/md3: 137.4 GB, 137435807744 bytes, 268429312 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes


Disk /dev/md5: 3794.6 GB, 3794629820416 bytes, 7411386368 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes


Disk /dev/md0: 34.3 GB, 34313601024 bytes, 67018752 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 131072 bytes

[root@master /]# fdisk /dev/md2
Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table
Building a new DOS disklabel with disk identifier 0x13aef350.

Command (m for help): m
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition
   g   create a new empty GPT partition table
   G   create an IRIX (SGI) partition table
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print the partition table
   q   quit without saving changes
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)

Command (m for help): a
No partition is defined yet!
a: unknown command

Após várias partições eu perdi o flag de inicialização, não consigo encontrar o caminho para restre no fdisk. Raid Array de /dev/md2 (stripe), montado / , por que não consigo adicionar o flag de inicialização?

    
por vagiz 01.09.2018 / 16:21

0 respostas