-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support long nutanix device names #1471
Comments
@dannyboy1121 has responded in the referenced forum thread with an ls -la of /dev/disk/by-id which showed that by-id mappings were present and the base device names were of the form: So the end result is a failure to accommodate the system disk by-id name of 68 chars. I propose that we double the current 64 char Disk.name db field to 128 chars; especially in light of potentially accommodating iSCSI targets which may likewise have very long by-id name references. |
@schakrava I will attempt to prepare a pr for this issue tomorrow (UK) in the hope of making it available ready for the next (pending) stable release. I have seen no other candidates for by-id name overflow and haven't noticed any reports of the same on the forum, for our current testing channel; however these more exotic mappings are the most likely to trigger this limitation, especially given their use of the long uuid4 components. |
With the move to the much longer by-id names the maximum length of device names can in some circumstances exceed the prior limit of 64 chars. Longest by-id name so far reported is 68 chars including the -part3 component.
After applying the Disk.name field length changes in:
|
…rockstor#1471 With the move to the much longer by-id names the maximum length of device names can in some circumstances exceed the prior limit of 64 chars. Longest by-id name so far reported is 68 chars including the -part3 component.
From local db access prior to migration command we have:
then after a migration command:
we have:
|
Thanks to forum member @dannyboy1121 it has come to light that serial numbers of Nutanix CE block devices (a KVM based platform) can exceed that of Rockstor's Disk.name db field, assuming the consequent by-id name uses the entire serial number. Is is not yet know however if udev is even providing the require by-id names. A request in the following forum thread has been placed to gain further information on the /dev/disk/by-id mappings that are required for all Rockstor versions from 3.8-14.02 onwards.
Please update the following forum thread for significant progress on this issue:
https://forum.rockstor.com/t/adding-virtual-disks-pool-issues/2006
The text was updated successfully, but these errors were encountered: