Назад | Перейти на главную страницу

ошибка монтирования, специального устройства не существует

У меня есть Linux-сервер Debian:

Distributor ID: Debian
Description:    Debian GNU/Linux 7.1 (wheezy)
Release:    7.1
Codename:   wheezy

К моему серверу подключено несколько жестких устройств, которые смонтированы в моей системе в разных каталогах. Все работало нормально, пока устройство не было физически отключено от сервера без отключения. После повторного подключения девайса надоело его монтировать: Это мой /etc/fstab содержимое файла (это первая конфигурация устройства и она работала раньше):

/dev/cciss/c0d1p1         /var/www/vhosts/    ext4        defaults,acl    0       1
/dev/cciss/c0d2p1       /home/samba/        ext4    defaults,acl    0       1

Мое устройство cciss содержит :(ls /dev/cciss/)

c0d0  c0d0p1  c0d0p2  c0d0p5  c0d1  c0d2  c0d2p1

Я хотел сесть /dev/cciss/c0d1p1 поэтому я попробовал:

mount /dev/cciss/c0d1p1 

и я получаю такой результат:

mount: special device /dev/cciss/c0d1p1 does not exist

fdisk -l не показывает запись для /dev/cciss/c0d1 также blkid дал мне:

/dev/cciss/c0d0p5: UUID="4d144db1-bypl-43d0-b5cb-e857ab8b7f14" TYPE="swap" 
/dev/cciss/c0d2p1: UUID="d0fdfteb-e9eb-4t8c-bf5e-374613e29btr" TYPE="ext4" 
/dev/cciss/c0d0p1: UUID="78sa9u1d-8d17-44be-9116-758ez1k24d27" TYPE="ext4" 

Я попытался fdisk -l /dev/cciss/ и это дает мне такой результат:

last_lba(): I don't know how to handle files with mode 40755

pvs -a показывает мне ошибку при чтении устройства /dev/cciss/c0d1. Вывод:

  /dev/cciss/c0d1: read failed after 0 of 4096 at 0: Input/output error
  /dev/cciss/c0d1: read failed after 0 of 4096 at 750122696704: Input/output error
  /dev/cciss/c0d1: read failed after 0 of 4096 at 750122811392: Input/output error
  /dev/cciss/c0d1: read failed after 0 of 4096 at 4096: Input/output error
  PV                VG   Fmt Attr PSize PFree
  /dev/cciss/c0d0p5          ---     0     0 
  /dev/cciss/c0d1            ---     0     0 
  /dev/cciss/c0d2p1          ---     0     0 
  /dev/root                  ---     0     0 

Я не совсем понял проблему, но думаю, что после отключения устройства его нужно снова перенастроить, и я должен определить разделы перед установкой устройства. Я подумал, что, возможно, в моем случае имя VolumeGroup будет неправильным, поэтому я попробовал:lvscan:

  /dev/cciss/c0d1: read failed after 0 of 4096 at 0: Input/output error
  /dev/cciss/c0d1: read failed after 0 of 4096 at 750122696704: Input/output error
  /dev/cciss/c0d1: read failed after 0 of 4096 at 750122811392: Input/output error
  /dev/cciss/c0d1: read failed after 0 of 4096 at 4096: Input/output error
  No volume groups found

также pvscan; vgchange -ay дал мне:

/dev/cciss/c0d1: read failed after 0 of 4096 at 0: Input/output error
  /dev/cciss/c0d1: read failed after 0 of 4096 at 750122696704: Input/output error
  /dev/cciss/c0d1: read failed after 0 of 4096 at 750122811392: Input/output error
  /dev/cciss/c0d1: read failed after 0 of 4096 at 4096: Input/output error
  No matching physical volumes found
  /dev/cciss/c0d1: read failed after 0 of 4096 at 0: Input/output error
  /dev/cciss/c0d1: read failed after 0 of 4096 at 750122696704: Input/output error
  /dev/cciss/c0d1: read failed after 0 of 4096 at 750122811392: Input/output error
  /dev/cciss/c0d1: read failed after 0 of 4096 at 4096: Input/output error
  No volume groups found

Что такое ввод? Как определить группу томов для моего устройства и, точнее, что я должен делать перед установкой моего устройства?