Quantcast
Channel: All System Administration posts
Viewing all articles
Browse latest Browse all 1179

Re: ls: cannot access /sys/bus/scsi/devices/1:0:1:0/: No such file or directory

$
0
0

All the files in /sys are virtual constructs, based on the kernel data structures.

You may have some storage devices that used to be accessible through the /sys/class/scsi_host/host1 storage controller, but have been yanked away. If /sys/class/scsi_host/host1 is a SAN HBA, it might be that the storage admin has un-presented some LUNs.

 

Use "lsscsi" or the files in /sys/class/scsi_host/host1 to identify what the second storage controller actually is.

It probably isn't the Smart Array controller: the first storage controller is #0, the second is #1.

 

If the disks are some un-presented SAN LUNs you no longer need, first find out which /dev/sd* device(s) correspond to them, then use a command like "echo 1 >/sys/block/sdX/device/delete" to tell the system that those devices have been removed on purpose and aren't coming back. Or just reboot.


Viewing all articles
Browse latest Browse all 1179

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>