Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

4940

April 29th, 2016 05:00

How to check if drive is HDD or SSD

I have Isilon8 simulator installed and have HDD on my virtual machine. I tried to emulate SSD on this machine by editing  vm config as :

scsi0:8.virtualSSD = 1

the config was made OK, i reboot the VM and my settings are preserved,

Now, i want to check is SSD is in fact emulated or not.

usually for any linux machine, i would do :

cat /sys/block/sda/queue/rotational


and based on the value it outputs, i could say if its HDD or SSD but i cannot use the same thing in OneFS.


Any help is appreciated.


Thanks,

117 Posts

April 29th, 2016 09:00

Try isi_drivenum -A.  Last column should have HDD or SSD.  Example from a 7.1.1.4 Virtual Isilon:

Bay 1     Bank 0 (Front)    Port 0          Exp 0     PHY 0     Unit 0      Lnum 0     Active      Guid 03f296ca559cb22254b43334000dd2b9   WWN 0   Locn 0,0,0     VMware Virtual disk   FW:1.0        SN:                 exp 2000000     real 8203125     efs 5998592     /dev/da1   Tech SAS HDD

450 Posts

April 29th, 2016 10:00

By default in newer versions of OneFS SSD is used as L3 cache by default, so the output of isi stat -q will show 0GB of SSD.  Change it in the UI to Metadata Read for this node pool, and i'll flush the content of L3 cache on SSD, and swap it to Metadata R/O which will take a while.  Again just a guess i've never tried simulating this in a virtual cluster before.

~Chris Klosterman

chris.klosterman@emc.com  

twitter: @croaking

April 29th, 2016 10:00

Thanks for the response.

I tried the command and got output like this :

B8-1# isi_drivenum -A

isi_drivenum: Reading GUID from /dev/da8s1e: No such file or directory

Bay  1   Bank 0 (Front)    Port 0x200      Exp 0     PHY 0     Unit 512    Lnum N/A   N/A         Guid N/A   WWN 0000000000000000   Physical Block Size: 512 Logical Block Size: 512    Locn 0,0,0     VMware Virtual disk   FW:1.0        SN:                 exp 0           real 1048576     efs 0           IFSpart N/A       /dev/da1   Tech SAS SSD

Bay  2   Bank 0 (Front)    Port 0x201      Exp 0     PHY 1     Unit 513    Lnum 5     Active      Guid 7b499ed06ad153ff57232aeb000eaf70   WWN 0000000000000000   Physical Block Size: 512 Logical Block Size: 512    Locn 1,0,0     VMware Virtual disk   FW:1.0        SN:                 exp 8388608     real 8589934     efs 6385664     IFSpart 2203648   /dev/da2   Tech SAS HDD

so, i have my Bay1 that shows SSD in the end which is great.

Now, i will have to move on to my next struggle

How can i make my cluster use SSD as well. At the moment , i see in my oneFS web UI, Storage usage , only HDD% and HDD usage and SSD is 0.

same thing as i can see form my Isilon cli as well like this :

B8-1# isi storagepool list

Name          Nodes  Requested Protection  HDD     Total   %     SSD  Total  %

----------------------------------------------------------------------------------

v200_24gb_2gb 1-3    +2d:1n                337.82M 30.432G 1.08% 0    0      0.00%

----------------------------------------------------------------------------------

Total: 1                                   337.82M 30.432G 1.08% 0    0      0.00%

How can i make the cluster to use SSD disk ?

1.2K Posts

May 6th, 2016 03:00

Using L3 cache on virtual Isilon nodes is... even more "unsupported" than running the nodes as provided in the vmdks.

But it can be done -- interested (anyone), or have you figured it out already?

-- Peter

No Events found!

Top