Opened 8 years ago

Closed 6 years ago

#748 closed enhancement (invalid)

scan_smart_devices: glob(3) aborted matching pattern /dev/discs/disc

Reported by: psk Owned by:
Priority: major Milestone:
Component: all Version: 6.5
Keywords: linux Cc:

Description

with smartctl options --scan or --scan-open I get the error message:
'scan_smart_devices: glob(3) aborted matching pattern /dev/discs/disc*'

The subdirectory in my installation is: /dev/disks

How can I change the directory, where smartctl is looking for?

Change History (4)

comment:1 by Christian Franke, 8 years ago

Keywords: linux added; scan scan-open aborted matching pattern removed
Milestone: unscheduled
Type: defectenhancement

Specifying patterns for device scanning is not yet possible (see ticket #64).

The scan for /dev/discs/disc* was originally added ~13 years ago (r1201). It is only done if no /dev/sd[a-z] are found. This could possibly be removed now.

Devices below /dev/disks are not scanned yet. This should possibly be added for systems without corresponding /dev/sd* entries.

Please provide info about your Linux kernel and distribution version and a sample directory listing of /dev/disks (ls -lR /dev/disks or find /dev/disks -ls).

comment:2 by psk, 8 years ago

I have GalliumOS (variant of Xubuntu) running from an external USB stick now on /dev/sda; kernel version is 4.7.
Hardware is Acer Chromebook C720 (chromeOS is wiped) with Intel CPUs and Intel SATA/SCSI drivers.

My internal SSD cannot be accessed any more after a hard reset (after system hang up), and is not shown under /dev/sd*

ls -lR /dev/disk gives:
/dev/disk:
insgesamt 0
drwxr-xr-x 2 root root 80 Okt 8 09:35 by-id
drwxr-xr-x 2 root root 60 Okt 8 09:35 by-partuuid
drwxr-xr-x 2 root root 80 Okt 8 09:35 by-path
drwxr-xr-x 2 root root 60 Okt 8 09:35 by-uuid

/dev/disk/by-id:
insgesamt 0
lrwxrwxrwx 1 root root 9 Okt 8 11:30 usb-Intenso_Premium_Line_1218000000000082-0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Okt 8 11:30 usb-Intenso_Premium_Line_1218000000000082-0:0-part1 -> ../../sda1

/dev/disk/by-partuuid:
insgesamt 0
lrwxrwxrwx 1 root root 10 Okt 8 11:30 31c94934-1b89-451c-87a7-34e443a21fc6 -> ../../sda1

/dev/disk/by-path:
insgesamt 0
lrwxrwxrwx 1 root root 9 Okt 8 11:30 pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Okt 8 11:30 pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0-part1 -> ../../sda1

/dev/disk/by-uuid:
insgesamt 0
lrwxrwxrwx 1 root root 10 Okt 8 11:30 c1e529ee-734b-4738-bba4-e22fbd2c8420 -> ../../sda1

I need some access to the internal SSD somehow.

comment:3 by Christian Franke, 8 years ago

Milestone: unscheduledundecided

Adding /dev/disk to device scan would not help as it only contains links to /dev/sda*. If the SSD no longer appears as a /dev node, there is possibly something wrong with the controller or SSD. Or a BIOS setting for the controller has changed. Check the kernel log for error messages regarding the SATA controller. Run vendor specific diagnostic tool. Smartctl cannot provide any info when the kernel is unable to access the device.

comment:4 by Christian Franke, 6 years ago

Milestone: undecided
Resolution: invalid
Status: newclosed

Device does not appear below /dev. Not a smartctl bug.

Note: See TracTickets for help on using tickets.