LINUX.ORG.RU
ФорумAdmin

Centos 7 Добавление диска

 ,


0

2

Здравствуйте, нужно добавить диск (sdc 8:32 0 1.8T 0 disk) в /home/disk1.

[root@localhost ~]# lsblk
NAME      MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda         8:0    0 223.6G  0 disk
├─sda1      8:1    0    20G  0 part
│ └─md126   9:126  0    20G  0 raid1 /
├─sda2      8:2    0    10G  0 part
│ └─md127   9:127  0    10G  0 raid1 [SWAP]
├─sda3      8:3    0     5G  0 part
│ └─md124   9:124  0     5G  0 raid1 /var
├─sda4      8:4    0     1K  0 part
├─sda5      8:5    0     1G  0 part
│ └─md125   9:125  0     1G  0 raid1 /boot
└─sda6      8:6    0 187.6G  0 part
  └─md123   9:123  0 187.4G  0 raid1 /home
sdb         8:16   0 223.6G  0 disk
├─sdb1      8:17   0    20G  0 part
│ └─md126   9:126  0    20G  0 raid1 /
├─sdb2      8:18   0    10G  0 part
│ └─md127   9:127  0    10G  0 raid1 [SWAP]
├─sdb3      8:19   0     5G  0 part
│ └─md124   9:124  0     5G  0 raid1 /var
├─sdb4      8:20   0     1K  0 part
├─sdb5      8:21   0     1G  0 part
│ └─md125   9:125  0     1G  0 raid1 /boot
└─sdb6      8:22   0 187.6G  0 part
  └─md123   9:123  0 187.4G  0 raid1 /home
sdc         8:32   0   1.8T  0 disk
sdd         8:48   0   1.8T  0 disk
Но не получается.
[root@localhost ~]# fdisk /dev/sdc
fdisk: cannot open /dev/sdc: Input/output error



Последнее исправление: cetjs2 (всего исправлений: 1)

Ответ на: комментарий от Nurmukh
[root@localhost ~]# lsscsi -g
[0:0:0:0]    disk    ATA      INTEL SSDSC2BB24 0140  /dev/sda   /dev/sg0
[1:0:0:0]    disk    ATA      INTEL SSDSC2BB24 0140  /dev/sdb   /dev/sg1
[2:0:0:0]    disk    ATA      HGST HUS724020AL AA70  /dev/sdc   /dev/sg2
[3:0:0:0]    disk    ATA      HGST HUS724020AL AA70  /dev/sdd   /dev/sg3
dsfgjkhs
() автор топика
Ответ на: комментарий от Ivan_qrt

[root@localhost ~]# fdisk /dev/sdc fdisk: cannot open /dev/sdc: Input/output error [root@localhost ~]# journalctl -ke

[root@localhost ~]# journalctl -ke]

Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: status: { DRDY ERR }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: error: { ABRT }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: configured for UDMA/133
Aug 31 13:35:58 localhost.localdomain kernel: ata3: EH complete
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: irq_stat 0x40000001
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: failed command: READ DMA EXT
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: cmd 25/00:08:00:88:e0/00:00:e8:00:00/e0 tag 0 dma 4096 in
                                                       res 51/04:08:00:88:e0/00:00:e8:00:00/08 Emask 0x1 (device error)
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: status: { DRDY ERR }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: error: { ABRT }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: configured for UDMA/133
Aug 31 13:35:58 localhost.localdomain kernel: ata3: EH complete
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: irq_stat 0x40000001
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: failed command: READ DMA EXT
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: cmd 25/00:08:00:88:e0/00:00:e8:00:00/e0 tag 1 dma 4096 in
                                                       res 51/04:08:00:88:e0/00:00:e8:00:00/08 Emask 0x1 (device error)
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: status: { DRDY ERR }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: error: { ABRT }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: configured for UDMA/133
Aug 31 13:35:58 localhost.localdomain kernel: ata3: EH complete
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: irq_stat 0x40000001
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: failed command: READ DMA EXT
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: cmd 25/00:08:00:88:e0/00:00:e8:00:00/e0 tag 2 dma 4096 in
                                                       res 51/04:08:00:88:e0/00:00:e8:00:00/08 Emask 0x1 (device error)
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: status: { DRDY ERR }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: error: { ABRT }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: configured for UDMA/133
Aug 31 13:35:58 localhost.localdomain kernel: ata3: EH complete
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: irq_stat 0x40000001
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: failed command: READ DMA EXT
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: cmd 25/00:08:00:88:e0/00:00:e8:00:00/e0 tag 3 dma 4096 in
                                                       res 51/04:08:00:88:e0/00:00:e8:00:00/08 Emask 0x1 (device error)
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: status: { DRDY ERR }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: error: { ABRT }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: configured for UDMA/133
Aug 31 13:35:58 localhost.localdomain kernel: ata3: EH complete
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: irq_stat 0x40000001
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: failed command: READ DMA EXT
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: cmd 25/00:08:00:88:e0/00:00:e8:00:00/e0 tag 4 dma 4096 in
                                                       res 51/04:08:00:88:e0/00:00:e8:00:00/08 Emask 0x1 (device error)
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: status: { DRDY ERR }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: error: { ABRT }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: configured for UDMA/133
Aug 31 13:35:58 localhost.localdomain kernel: ata3: EH complete
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: irq_stat 0x40000001
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: failed command: READ DMA EXT
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: cmd 25/00:08:00:88:e0/00:00:e8:00:00/e0 tag 5 dma 4096 in
                                                       res 51/04:08:00:88:e0/00:00:e8:00:00/08 Emask 0x1 (device error)
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: status: { DRDY ERR }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: error: { ABRT }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: configured for UDMA/133
Aug 31 13:35:58 localhost.localdomain kernel: ata3: EH complete

dsfgjkhs
() автор топика
Ответ на: комментарий от Difrex
[root@localhost ~]# smartctl -a /dev/sdc
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.10.0-514.26.2.el7.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     HGST HUS724020ALA640
Serial Number:    PN1134P5JV37ZW
LU WWN Device Id: 5 000cca 24ee80ce2
Firmware Version: MF6OAA70
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    7200 rpm
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Thu Aug 31 13:59:38 2017 MSK
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82) Offline data collection activity
                                        was completed without error.
                                        Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever
                                        been run.
Total time to complete Offline
data collection:                (   24) seconds.
Offline data collection
capabilities:                    (0x5b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        No Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   1) minutes.
Extended self-test routine
recommended polling time:        ( 319) minutes.
SCT capabilities:              (0x003d) SCT Status supported.
                                        SCT Error Recovery Control supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   100   100   016    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   136   136   054    Pre-fail  Offline      -       83
  3 Spin_Up_Time            0x0007   125   125   024    Pre-fail  Always       -       498 (Average 501)
  4 Start_Stop_Count        0x0012   100   100   000    Old_age   Always       -       13
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   140   140   020    Pre-fail  Offline      -       26
  9 Power_On_Hours          0x0012   100   100   000    Old_age   Always       -       4293
 10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       13
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       190
193 Load_Cycle_Count        0x0012   100   100   000    Old_age   Always       -       190
194 Temperature_Celsius     0x0002   187   187   000    Old_age   Always       -       32 (Min/Max 24/44)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
dsfgjkhs
() автор топика
Ответ на: комментарий от Ivan_qrt
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: irq_stat 0x40000001
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: failed command: READ DMA EXT
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: cmd 25/00:08:00:88:e0/00:00:e8:00:00/e0 tag 0 dma 4096 in
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: status: { DRDY ERR }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: error: { ABRT }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: configured for UDMA/133
Aug 31 13:35:58 localhost.localdomain kernel: ata3: EH complete
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: irq_stat 0x40000001
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: failed command: READ DMA EXT
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: cmd 25/00:08:00:88:e0/00:00:e8:00:00/e0 tag 1 dma 4096 in
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: status: { DRDY ERR }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: error: { ABRT }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: configured for UDMA/133
Aug 31 13:35:58 localhost.localdomain kernel: ata3: EH complete
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: irq_stat 0x40000001
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: failed command: READ DMA EXT
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: cmd 25/00:08:00:88:e0/00:00:e8:00:00/e0 tag 2 dma 4096 in
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: status: { DRDY ERR }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: error: { ABRT }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: configured for UDMA/133
Aug 31 13:35:58 localhost.localdomain kernel: ata3: EH complete
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: irq_stat 0x40000001
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: failed command: READ DMA EXT
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: cmd 25/00:08:00:88:e0/00:00:e8:00:00/e0 tag 3 dma 4096 in
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: status: { DRDY ERR }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: error: { ABRT }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: configured for UDMA/133
Aug 31 13:35:58 localhost.localdomain kernel: ata3: EH complete
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: irq_stat 0x40000001
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: failed command: READ DMA EXT
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: cmd 25/00:08:00:88:e0/00:00:e8:00:00/e0 tag 4 dma 4096 in
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: status: { DRDY ERR }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: error: { ABRT }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: configured for UDMA/133
Aug 31 13:35:58 localhost.localdomain kernel: ata3: EH complete
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: irq_stat 0x40000001
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: failed command: READ DMA EXT
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: cmd 25/00:08:00:88:e0/00:00:e8:00:00/e0 tag 5 dma 4096 in
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: status: { DRDY ERR }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: error: { ABRT }
Aug 31 13:35:58 localhost.localdomain kernel: ata3.00: configured for UDMA/133
Aug 31 13:35:58 localhost.localdomain kernel: ata3: EH complete
dsfgjkhs
() автор топика
Ответ на: комментарий от dsfgjkhs

Сохранение логов на диск в journald не включено? Что-то логи не полные.

Включить их: # mkdir /var/log/journal, если в /etc/systemd/journald.conf ничего не менял.

Дальше ребут, пробуешь fdisk и выкладываешь тоже самое.

Попробуй воткнуть винт в другой комп, проверить рабочий ли он.

Если рабочий, то проверь настройки сата портов в биосе, возможно там что-то нашаманено.

Ivan_qrt ★★★★★
()
Ответ на: комментарий от dsfgjkhs

Диски рабочие должны быть.

Должны быть или рабочие?

Может ли быть проблема с тем что я их не разметил сразу, при установке ОС?

Нет.

Ivan_qrt ★★★★★
()

SATA кабель попробуй заменить.

Black_Shadow ★★★★★
()
Ответ на: комментарий от Ivan_qrt

Сервер, в котором они стоят, в аренде. Физического доступа к нему нет, но арендодатель клянётся что диски рабочие.

dsfgjkhs
() автор топика
Ответ на: комментарий от dsfgjkhs

Физического доступа к нему нет

Ну тогда не знаю, чем тебе помочь. Попроси арендодателя поменять шлейфы, как советовали выше.

Попробуй включить сохранение логов и выложить # journalctl -kb после перезагрузки куда-нибудь на пастбин, может там что-нибудь полезное найдётся.

Ivan_qrt ★★★★★
()
Ответ на: комментарий от Ivan_qrt

Проблема решена заменой дисков. Всех благодарю за оказанное внимание.

dsfgjkhs
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.