→ Applies to: SynetoOS 5.x
lshw -class disk command lists all the disk devices in the system, providing details such as the model and the manufacturer, which can help to physically identify the device.
Exploring /dev/disk/: This directory contains symbolic links to all disks, organized by ID, label, UUID, and path. These links can help you identify the physical device based on various attributes.
Step 1. Connect to SynetoOS appliance via SSH as admin
ssh admin@<your_ip_address_or_hostname>
Step 2. Get root privileges
sudo su -
Managing disks
List disk devices
sudo lshw -class diskEXAMPLE OUTPUT
*-disk:12 description: SCSI Disk product: ST8000NM018B vendor: SEAGATE physical id: 0.c.0 bus info: scsi@34:0.12.0 logical name: /dev/sdv version: E002 serial: WWZ333EY0000E34797QQ size: 7452GiB (8001GB) capacity: 20TiB (22TB) capabilities: 7200rpm partitioned partitioned:dos configuration: ansiversion=7 logicalsectorsize=4096 sectorsize=4096
Explore /dev/disk/ directory
ls -l /dev/disk/by-id/EXAMPLE OUTPUT
lrwxrwxrwx 1 root root 10 Feb 11 09:36 scsi-35000c500f5ea1487-part9 -> ../../sdv9
Identifier Description scsi- The disk is using the SCSI/SAS protocol. 35000c500f5ea1487 The unique serial identifier from the manufacturer. -part9 Partition 9 from the disk (not the whole drive) ../../sdv9 System path (/dev/sdv9)
Check newly inserted disk
dmesgEXAMPLE OUTPUT
- Command used
- Uptime in seconds since last boot
- Last disk event
- Disk name
Identify disk
ls -l /dev/sdz*ls -l /dev/disk/by-id/ | grep sdzEXAMPLE OUTPUT
[root@syneto-os-af3c2a4d support]# ls -l /dev/sdz* brw-rw---- 1 root disk 65, 144 Mar 1 10:53 /dev/sdz brw-rw---- 1 root disk 65, 145 Mar 1 10:53 /dev/sdz1 brw-rw---- 1 root disk 65, 153 Mar 1 10:53 /dev/sdz9 [root@syneto-os-af3c2a4d support]# ls -l /dev/disk/by-id/ | grep sdz lrwxrwxrwx 1 root root 9 Mar 1 10:53 scsi-35000c500eea758d7 -> ../../sdz lrwxrwxrwx 1 root root 10 Mar 1 10:53 scsi-35000c500eea758d7-part1 -> ../../sdz1 lrwxrwxrwx 1 root root 10 Mar 1 10:53 scsi-35000c500eea758d7-part9 -> ../../sdz9 lrwxrwxrwx 1 root root 9 Mar 1 10:53 scsi-SSEAGATE_ST8000NM018B_WWZ0FJJ00000E2385V3G -> ../../sdz lrwxrwxrwx 1 root root 10 Mar 1 10:53 scsi-SSEAGATE_ST8000NM018B_WWZ0FJJ00000E2385V3G-part1 -> ../../sdz1 lrwxrwxrwx 1 root root 10 Mar 1 10:53 scsi-SSEAGATE_ST8000NM018B_WWZ0FJJ00000E2385V3G-part9 -> ../../sdz9 lrwxrwxrwx 1 root root 9 Mar 1 10:53 wwn-0x5000c500eea758d7 -> ../../sdz lrwxrwxrwx 1 root root 10 Mar 1 10:53 wwn-0x5000c500eea758d7-part1 -> ../../sdz1 lrwxrwxrwx 1 root root 10 Mar 1 10:53 wwn-0x5000c500eea758d7-part9 -> ../../sdz9
Identifier Description sdz Physical Disk Name 8.00 TB (7.28 TiB) Disk Size wwn-0x5000c500eea758d7 WWN ID scsi-35000c500eea758d7 SCSI ID Seagate ST8000NM018B Hardware Model
