Good summary of sg3_utils:
http://www.ndwiki.org/wiki/User:Tingo/sg3_utils
root@pve:~# apt-get update
Get:1 http://security.debian.org buster/updates InRelease [65.4 kB]
Get:2 http://security.debian.org buster/updates/main amd64 Packages [243 kB]
Get:3 http://security.debian.org buster/updates/main Translation-en [133 kB]
Get:4 http://ftp.debian.org/debian buster InRelease [121 kB]
Get:5 http://ftp.debian.org/debian buster-updates InRelease [51.9 kB]
Get:6 http://ftp.debian.org/debian buster/main amd64 Packages [7,906 kB]
Get:7 http://ftp.debian.org/debian buster/main Translation-en [5,968 kB]
Get:8 http://ftp.debian.org/debian buster/contrib amd64 Packages [50.5 kB]
Get:9 http://ftp.debian.org/debian buster/contrib Translation-en [44.5 kB]
Get:10 http://ftp.debian.org/debian buster-updates/main amd64 Packages [7,856 B]
Get:11 http://ftp.debian.org/debian buster-updates/main Translation-en [5,672 B]
Err:12 https://enterprise.proxmox.com/debian/pve buster InRelease
401 Unauthorized [IP: 51.79.159.216 443]
Reading package lists... Done
E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/buster/InRelease 401 Unauthorized [IP: 51.79.159.216 443]
E: The repository 'https://enterprise.proxmox.com/debian/pve buster InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@pve:~# sg_scan -i
/dev/sg0: scsi0 channel=0 id=0 lun=0 [em]
TSSTcorp DVD+-RW TS-L633C D250 [rmb=1 cmdq=0 pqual=0 pdev=0x5]
/dev/sg1: scsi2 channel=2 id=0 lun=0
DELL PERC H700 2.10 [rmb=0 cmdq=1 pqual=0 pdev=0x0]
/dev/sg2: scsi3 channel=0 id=0 lun=0
HITACHI HUC10606 CLAR600 C260 [rmb=0 cmdq=1 pqual=0 pdev=0x0]
/dev/sg3: scsi3 channel=0 id=1 lun=0
HITACHI HUC10606 CLAR600 C260 [rmb=0 cmdq=1 pqual=0 pdev=0x0]
/dev/sg4: scsi3 channel=0 id=2 lun=0
HITACHI HUC10606 CLAR600 C260 [rmb=0 cmdq=1 pqual=0 pdev=0x0]
/dev/sg5: scsi3 channel=0 id=3 lun=0
HITACHI HUC10606 CLAR600 C260 [rmb=0 cmdq=1 pqual=0 pdev=0x0]
/dev/sg6: scsi3 channel=0 id=4 lun=0
HITACHI HUC10606 CLAR600 C330 [rmb=0 cmdq=1 pqual=0 pdev=0x0]
/dev/sg7: scsi3 channel=0 id=5 lun=0
EMC ESES Enclosure 0001 [rmb=0 cmdq=1 pqual=0 pdev=0xd]
root@pve:~# apt-get install sg3-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libsgutils2-2
The following NEW packages will be installed:
libsgutils2-2 sg3-utils
0 upgraded, 2 newly installed, 0 to remove and 44 not upgraded.
Need to get 949 kB of archives.
After this operation, 2,951 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ftp.debian.org/debian buster/main amd64 libsgutils2-2 amd64 1.44-1 [112 kB]
Get:2 http://ftp.debian.org/debian buster/main amd64 sg3-utils amd64 1.44-1 [837 kB]
Fetched 949 kB in 2s (536 kB/s)
Selecting previously unselected package libsgutils2-2.
(Reading database ... 44066 files and directories currently installed.)
Preparing to unpack .../libsgutils2-2_1.44-1_amd64.deb ...
Unpacking libsgutils2-2 (1.44-1) ...
Selecting previously unselected package sg3-utils.
Preparing to unpack .../sg3-utils_1.44-1_amd64.deb ...
Unpacking sg3-utils (1.44-1) ...
Setting up libsgutils2-2 (1.44-1) ...
Setting up sg3-utils (1.44-1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10) ...
No comments:
Post a Comment