Имя пользователя:
Пароль:
 

Показать сообщение отдельно

Аватара для Falcon99

Пользователь


Сообщения: 106
Благодарности: 1

Профиль | Отправить PM | Цитировать


Сейчас уже запустил spare через
Код: Выделить весь код
mdadm /dev/md0 --add /dev/sdk
и процесс идет:
Код: Выделить весь код
N12000:~# mdadm --detail /dev/md0
/dev/md0:
        Version : 1.2
  Creation Time : Wed Jan 15 10:39:13 2014
     Raid Level : raid10
     Array Size : 23426222976 (22340.99 GiB 23988.45 GB)
  Used Dev Size : 3904370496 (3723.50 GiB 3998.08 GB)
   Raid Devices : 12
  Total Devices : 12
    Persistence : Superblock is persistent

    Update Time : Mon Mar 11 15:43:10 2019
          State : clean, degraded, recovering
 Active Devices : 11
Working Devices : 12
 Failed Devices : 0
  Spare Devices : 1

         Layout : near=2
     Chunk Size : 64K

 Rebuild Status : 46% complete

           Name : N12000:0  (local to host N12000)
           UUID : 10a5d87c:3a8c2422:f89f1d35:f7cd8007
         Events : 2824035

    Number   Major   Minor   RaidDevice State
      12       8        2        0      active sync   /dev/sda2
      15       8       18        1      active sync   /dev/sdb2
       2       8       34        2      active sync   /dev/sdc2
       3       8       50        3      active sync   /dev/sdd2
      13       8      146        4      active sync   /dev/sdj2
       5       8       82        5      active sync   /dev/sdf2
       6       8       98        6      active sync   /dev/sdg2
       7       8      114        7      active sync   /dev/sdh2
       8       8      130        8      active sync   /dev/sdi2
      14       8       66        9      active sync   /dev/sde2
      16       8      160       10      spare rebuilding   /dev/sdk
      11       8      178       11      active sync   /dev/sdl2
Вывод данных:
Код: Выделить весь код
N12000:~# lsblk
-sh: lsblk: command not found
Код: Выделить весь код
N12000:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root               124.0M     47.0M     76.9M  38% /
tmpfs                     3.9G     79.1M      3.8G   2% /dev/shm
tmpfs                     3.9G     79.1M      3.8G   2% /var
/dev/loop0              802.2M     71.4M    730.8M   9% /rom
/dev/loop1                7.3M      7.3M         0 100% /img
/dev/loop2                8.3M      8.3M         0 100% /usr/lib64
/dev/loop3              256.0K    256.0K         0 100% /usr/share/zoneinfo
/dev/loop4               55.0M     55.0M         0 100% /opt
/dev/sdaaa4              22.9M    385.0K     22.5M   2% /syslog
/dev/sdaaa2              22.9M    841.0K     22.1M   4% /etc
/dev/md50               507.3M    248.0K    507.1M   0% /raidsys/0
/dev/md0                 21.7T     15.5T      6.3T  71% /raid0
Код: Выделить весь код
N12000:~# parted -s /dev/sda print
-sh: parted: command not found
Код: Выделить весь код
N12000:~# gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.6.9

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 7814037168 sectors, 3.6 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 3E323482-854C-44C2-AA80-3DEA7AB5EBC4
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 7814037134
Partitions will be aligned on 2048-sector boundaries
Total free space is 50797 sectors (24.8 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048         4196351   2.0 GiB     FD00  Linux RAID
   2         5244928      7813988351   3.6 TiB     FD00  Linux RAID
   3         4196352         5244927   512.0 MiB   FD00  Linux RAID
Код: Выделить весь код
N12000:~# gdisk -l /dev/sdk
GPT fdisk (gdisk) version 0.6.9

Partition table scan:
  MBR: not present
  BSD: not present
  APM: not present
  GPT: not present

Creating new GPT entries.
Disk /dev/sdk: 7814037168 sectors, 3.6 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 0F1D4F6F-4F6D-4999-9278-3CA766608B84
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 7814037134
Partitions will be aligned on 2048-sector boundaries
Total free space is 7814037101 sectors (3.6 TiB)

Number  Start (sector)    End (sector)  Size       Code  Name
N12000:~# gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.6.9

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 7814037168 sectors, 3.6 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 3E323482-854C-44C2-AA80-3DEA7AB5EBC4
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 7814037134
Partitions will be aligned on 2048-sector boundaries
Total free space is 50797 sectors (24.8 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048         4196351   2.0 GiB     FD00  Linux RAID
   2         5244928      7813988351   3.6 TiB     FD00  Linux RAID
   3         4196352         5244927   512.0 MiB   FD00  Linux RAID
Код: Выделить весь код
N12000:~# lscpu
-sh: lscpu: command not found
Бэкапа нет, просто нет столько свободного места для резервного копирования, но данные вроде доступны.

Отправлено: 15:56, 11-03-2019 | #4