Article 6NW25 fdisk: cannot open /dev/sda: No such file or directory

fdisk: cannot open /dev/sda: No such file or directory

by
mfoley
from LinuxQuestions.org on (#6NW25)
I have a problem ... of my own making. I have several drives in hot-swap bays that are RAID-5 array members. I yanked sda from the system while running, then later plugged back in. Now, the system doesn't see sda at all:
Code:# fdisk -l /dev/sda
fdisk: cannot open /dev/sda: No such file or directoryI've powered the system off/on, but still sda is not showing. I tried:
Code:echo 1 >/sys/block/sda/device/delete
-bash: /sys/block/sda/device/delete: No such file or directoryWhich is suppose to cause a re-scan of drives. That didn't work. 'cat /proc/partitions' does not show sda. I've tried some other diagnostics I've found when searching:
Code:# ls -l /dev/disk/by-* # does not show sda

# df -T /dev
Filesystem Type 1K-blocks Used Available Use% Mounted on
devtmpfs devtmpfs 8145324 0 8145324 0% /dev

partprobe

lsblk -f # does not show sdaI can't reboot right now as the system is doing LAN-wide backups. I can try that later, but since the system has already been rebooted I don't think that will help.

Another suggestion is:
Code:cd /dev
sudo MAKEDEV sdaDoes that seem like a good idea? Would I also have to MAKEDEV sda1? BTW I have no MAKEDEV or makedev on my distro.

I have no other ideas.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments