unMENU MyMain showing Seagate 4TB DM drives as "HPA?" and different sizes


Recommended Posts

I am building out a new system and noticed the HPA warning in MyMain of unMenu for my 4TB drives.  This is a fresh install of 5.0rc11.

 

I was surprised to not see a 4TB entry in MyMain.conf and thought maybe I had an older version.  I also thought it was odd that the drive shows up a different size when formatted and unformatted and I had to add both of them into MyMain.conf in order for the HPA warning to go away.  Just curious, why does it need both entries?

 

#-----------------------
# Used to check for HPA
#-----------------------
SetConstant(ValidPartitionSizes, "MX200G=199148512,200G=195360952,MX250G=245117344,MX300G=293057320,SG300G=293036152,320G=312571192,400G=390711352,640G=625131832, \
                                  8G=8257000,MX40G=40146592,60G=58615672,WD74G=72613024,80G=78150712,SM120G=117246496,WD120G=117220792,MX160G=160086496,160G=156290872, \
                                  3T=2930266532,4T=3907018532,4T2=3907018552")

 

Here what I see without the changes to MyMain.conf:

zSdcyFM.jpg

 

Here my version of unmenu:

kticI1R.jpg

Link to comment

It seems some of your drives show as one size, and others as the second. 

If you are sure you do not have an HPA, fine.  You've taken care if the problem, not the correct way, but one that will need you to keep fixing myMain.conf every time you check for updates in unMENU. (because it will overwrite your edited version with the original)

Link to comment

It seems some of your drives show as one size, and others as the second. 

If you are sure you do not have an HPA, fine.  You've taken care if the problem, not the correct way, but one that will need you to keep fixing myMain.conf every time you check for updates in unMENU. (because it will overwrite your edited version with the original)

See this post for the better way to disable the HPA warning for your disks.

http://lime-technology.com/forum/index.php?topic=14194.msg134248;topicseen#msg134248

Link to comment

It seems some of your drives show as one size, and others as the second. 

If you are sure you do not have an HPA, fine.  You've taken care if the problem, not the correct way, but one that will need you to keep fixing myMain.conf every time you check for updates in unMENU. (because it will overwrite your edited version with the original)

See this post for the better way to disable the HPA warning for your disks.

http://lime-technology.com/forum/index.php?topic=14194.msg134248;topicseen#msg134248

Yup, I get that and thanks for all of your hard work and the awesome tool.  :)

 

Sorry, I should have been more clear.  I plan on setting the hpa_ok to 1 for the drives.  I thought it was odd that the disks show up as one size when formatted, and another when unformatted.  I also wanted to provide feedback with info on these drives so that can get worked back into a future update, I wasn't sure what the best way to do that was.

 

What's really puzzling me is that all the drives are exactly the same size.  They were all precleared.  unRaid main, fdisk and hdparm shows them all as the same size.  MyMain doesn't. 

 

I just played around with this a little more and this is what I see in MyMain:

Parity and data drives show as 3,907,018,532 (same as unRaid main)

Unformatted and cache drives show as 3,907,018,552 (different than unRaid main)

 

I can move drives around from data to parity to cache and it stays consistent.  For example, when I take the cache drive that shows 3,907,018,552 and move it into a parity or data slot it changes to 3,907,018,532.  If I swap it back, it changes back. 

 

Any idea why I am seeing this behavior?

 

hdparm shows me that HPA is disabled:

root@defiant:~# hdparm -N /dev/sda

/dev/sda:
max sectors   = 7814037168/7814037168, HPA is disabled
root@defiant:~# hdparm -N /dev/sdb

/dev/sdb:
max sectors   = 7814037168/7814037168, HPA is disabled
root@defiant:~# hdparm -N /dev/sdc

/dev/sdc:
max sectors   = 7814037168/7814037168, HPA is disabled
root@defiant:~# hdparm -N /dev/sdd

/dev/sdd:
max sectors   = 7814037168/7814037168, HPA is disabled

 

Fdisk output:

root@defiant:~# fdisk -lu /dev/sda

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 4000.8 GB, 4000787030016 bytes
256 heads, 63 sectors/track, 484501 cylinders, total 7814037168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1  4294967295  2147483647+  ee  GPT
Partition 1 does not start on physical sector boundary.
root@defiant:~# fdisk -lu /dev/sdb

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 4000.8 GB, 4000787030016 bytes
256 heads, 63 sectors/track, 484501 cylinders, total 7814037168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1  4294967295  2147483647+  ee  GPT
Partition 1 does not start on physical sector boundary.
root@defiant:~# fdisk -lu /dev/sdc

WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdc: 4000.8 GB, 4000787030016 bytes
256 heads, 63 sectors/track, 484501 cylinders, total 7814037168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1  4294967295  2147483647+  ee  GPT
Partition 1 does not start on physical sector boundary.
root@defiant:~# fdisk -lu /dev/sdd

WARNING: GPT (GUID Partition Table) detected on '/dev/sdd'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdd: 4000.8 GB, 4000787030016 bytes
256 heads, 63 sectors/track, 484501 cylinders, total 7814037168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1  4294967295  2147483647+  ee  GPT
Partition 1 does not start on physical sector boundary.

 

UuFEUuS.jpg

 

dNQbpJN.jpg

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.