Disk WWN Number incremented by 1 in proxmox

deepcloud

Member
Feb 12, 2021
67
11
13
India
deepcloud.in
Dear Members,

Firstly I am new to Proxmox and it seems to be a great product. Congrats to the Team at proxmox for coming up with such a wonderful product. We are a startup and once we have some funds we will certainly buy a subscription soon.

We have bought some drives. - 6TB Toshiba 12Gbps SAS 3.5" Enterprise HDD and the WWN number of the drive is shown as the serial number in Proxmox VE and not the actual serial number of the drive for the SAS Drives and the actual serial number of the drive for the SSD which is strange but manageable once known.

I came across a strange issue / bug in proxmox or maybe I am reading it wrongly. The WWN Number being reported gets incremented by one. for eg. if the WWN number is ABCD1234 on the drive it will reported as ABCD1235 in proxmox or if the actual WWN number is ABCD12EB on the drive it will reported as ABCD12EC.

I could figure this out as i had drives with different numbers/digits ending for all the drives but think about the scenario where you have 10 drives with WWN numbers as ABCD1211, ABCD1212. ABCD1213, ABCD1214, ABCD1215. ABCD1216, ABCD1217, ABCD1218, ABCD1219, ABCD1220. Now imagine a situation where lets say ABCD1214 fails and since the drive being reported in proxmox is ABCD1215 you remove the wrong drive and its a RAID 5. all your data is lost. This is either being read wrongly by me or is a serious bug that needs to be corrected.

I have attached the pictures of the physical drives and the proxmox drive listing to prove my point.

Regards

Preet
 

Attachments

  • proxmox-disk-1.JPG
    proxmox-disk-1.JPG
    27 KB · Views: 13
  • proxmox-disk-2.JPG
    proxmox-disk-2.JPG
    26.4 KB · Views: 11
  • proxmox-disk-3.JPG
    proxmox-disk-3.JPG
    26.9 KB · Views: 12
  • Proxmox-disk-list.JPG
    Proxmox-disk-list.JPG
    35.9 KB · Views: 13
What does smartctl report for the disks serial numbers?

Code:
smartctl -i /dev/sdX
 
Hi Aron,

Here you go

compare the results against the - attachment in the post which shows the sticker on the physical drives.

root@bs01:~# smartctl -i /dev/sdh
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-5.3.10-1-pve] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor: TOSHIBA
Product: MG04SCA60EE
Revision: 0103
Compliance: SPC-4
User Capacity: 6,001,175,126,016 bytes [6.00 TB]
Logical block size: 512 bytes
Physical block size: 4096 bytes
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Logical Unit id: 0x50000397182b0335
Serial number: 66G0A089FWWB
Device type: disk
Transport protocol: SAS (SPL-3)
Local Time is: Fri Feb 12 16:56:44 2021 IST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Temperature Warning: Disabled or Not Supported

==============================================================

root@bs01:~# smartctl -i /dev/sdf
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-5.3.10-1-pve] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor: TOSHIBA
Product: MG04SCA60EE
Revision: 0103
Compliance: SPC-4
User Capacity: 6,001,175,126,016 bytes [6.00 TB]
Logical block size: 512 bytes
Physical block size: 4096 bytes
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Logical Unit id: 0x50000397182b0341
Serial number: 66G0A08BFWWB
Device type: disk
Transport protocol: SAS (SPL-3)
Local Time is: Fri Feb 12 16:58:59 2021 IST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Temperature Warning: Disabled or Not Supported

===========================================================

root@bs01:~# smartctl -i /dev/sdg
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-5.3.10-1-pve] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor: TOSHIBA
Product: MG04SCA60EE
Revision: 0103
Compliance: SPC-4
User Capacity: 6,001,175,126,016 bytes [6.00 TB]
Logical block size: 512 bytes
Physical block size: 4096 bytes
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Logical Unit id: 0x50000397182b02e5
Serial number: 66G0A07VFWWB
Device type: disk
Transport protocol: SAS (SPL-3)
Local Time is: Fri Feb 12 16:59:47 2021 IST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Temperature Warning: Disabled or Not Supported

Thanks

Preet
 
Last edited:
i have checked here a normal sata disk, and the wwn matches the smartctl/udev/etc. output, so it looks like not a general issue

maybe the label printer in the factory was off by one? alternatively the sas driver/ sas controller could be the issue
 
Hello this problem is not there on the SATA SSD disks. it matches. I agree.

I dont think its a factory print issue. as its from different batch of disks i think

Could be a controller issue or a proxmox issue.

i will check further and report
 
dcorp,
it looks like I have a similar problem. The difference is, my wwn ids are NOT off by one, but seem to completely different for the last 5 chars. I have gone through about 10 disks in the last year (a mix of 1TB and 2TB Seagate SAS drives) and none of them have ever matched. It would be interesting to see if anyone else has this issue...it seems like its probably the controller.
 
I have seen the same issue as OP on Toshiba SAS drives only. My Hitachi SAS drives are correct. The WWN number returned by /dev/disk/by-id/ and smartctl is 1 higher than what is printed on the label. Note the serial number matches.

Code:
# smartctl -i /dev/disk/by-id/wwn-0x500003992892bdf1
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.11.22-1-pve] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               TOSHIBA
Product:              MG04SCA40ENY
Revision:             EG03
Compliance:           SPC-4
User Capacity:        4,000,787,030,016 bytes [4.00 TB]
Logical block size:   512 bytes
Formatted with type 2 protection
8 bytes of protection information per logical block
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x500003992892bdf1
Serial number:        19R0A424F74E
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Sat Jul 10 12:51:58 2021 CDT
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Disabled or Not Supported

IMG_2872-small.jpg
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!