Isilon
Posts
Unsolved
This post is more than 5 years old
4 Posts
0
5419
July 15th, 2016 02:00
Disk size
Want to check the physical disk size of Isilon Node.
Howwe check ?
Responses(3)
No Events found!
Unsolved
This post is more than 5 years old
4 Posts
0
5419
Want to check the physical disk size of Isilon Node.
Howwe check ?
Top
kipcranford
125 Posts
1
July 15th, 2016 10:00
I'll start by saying that this is (or seems to be) a lot harder than it should be.
There are several ways to figure out the drive size based on things like the model string, the output of 'isi devices' to get the bay layout, etc, but most require some pre-knowlege (e.g. exact SSD number and capacity) to really be sure of the number. And these other ways might be fine and easy if you do know that information; what I present below should be valid if you really have no pre-knowledge of the makeup of the node.
WARNING: Below I suggest using the output of a sysctl. In this instance that's fine and safe. As a best practice, though, it's generally not a good idea to be playing around with sysctls unless explicitly told it's ok.
In any event, if you don't mind dipping into the CLI you can take a look at some information that OneFS has squirreled away about drive sizes. Do this:
isilon-node# sysctl efs.gmp.infos | less
efs.gmp.infos: {
use_count = 1
info 0xfffff80331b63800 = {
devid = 1
group = <3,24>: { 1:0-21,24-25, 2:0-20,23-24, 3:0-21,24-25, smb: 1-3, nfs: 1-3, all_enabled_protocols: 1-3 }
online = 1
node_infos = {
1 => {
used_inodes = 103163548
free_inodes = 39443221886
total_inodes = 40909369766
free_ssd_blocks = 185745811
total_ssd_blocks = 193457902
free_blocks = 3266325110
total_blocks = 3387003686
free_blocks_frac = 0.964370107
free_inodes_frac = 0.964161073
power = 1000
physmem = 67080304
ec_gen = 0x100020000000a
has_ssd = true
load = 0
online = 1
drive_infos = {
0 => {
used_inodes = 200387
free_inodes = 1690929732
total_inodes = 1753305622
used_blocks = 5157533
free_blocks = 139988495
total_blocks = 145161172
free_blocks_frac = 0.964365973
free_inodes_frac = 0.964423834
is_ssd = false
load = 0
purpose = STORAGE
},
...
...
You're interested in the "drive_infos" block, which lists information about each drive in the chassis. You can see in my example that the first entry is an HDD and has 145161172 total blocks. A block in OneFS is and has always been 8 KiB. So:
145161172 * 8192 = 1189160321024 bytes/drive
Thus each drive is about:
1189160321024 / 1000^4 = 1.18 TB
You can verify this by the model string and some inference:
isilon-node# isi_hw_status -ic | grep Prod
Product: S210-2U-Dual-256GB-2x1GE-2x10GE SFP+-26TB-1638GB SSD
(my cluster is an s210 with 24 bays/chassis, with 22 HDD + 2 SSD, which you could have determined with 'isi devices')
26 TB / 22 drives = 1.18 TB/drive
which is probably reported in quotes and such as a 1.2 TB drive (these are SAS drives).
pulkitkaul
4 Posts
0
July 17th, 2016 23:00
Thanks for Sharing the Information.
This really helped me confirming the disk size.
Regards
Pulkit Kaul.
Anonymous
5 Practitioner
5 Practitioner
•
274.2K Posts
1
November 21st, 2017 18:00
In my cluster, my physical disk size is 1TB. The web GUI shows the drive detail is 1953525168 blks.
So I guess the size/blk here is 512 bytes.
1953525168 * 512 = 1000204886016 bytes
1000204886016 / 1000^4 = 1TB