VMware Cloud Community
ThPa
Contributor
Contributor

How can I get rid of an 4K sectors LUN ?

Hi,

On our equallogic newly upgraded there is an option to create 4k sectors LUN's

I did so and I presented this to the esxi.

It is detected, but I can't use it as DATASTORE

The reason is simple, no support of 4k sectors by VMWare.

My mistake !

But the lun is seen under devices ...

so I looked at VMware KB: Unmounting a LUN or detaching a datastore/storage device from multiple VMware ESXi 5.x ho...

I wanted to detach it ... I can't

Basically it makes 3 checks

it takes times on "The device does not contain a diagnostic partition" which makes sense, since it can't access it

The status is on, so I wanted to turn it OFF

esxcli storage core device set --state=off -d naa.6090a04890f7de8e65353568970bc0f2

and I can't turn it OFF

I went "forward" and looked at

VMware KB: Troubleshooting the Add Storage Wizard error: Unable to read partition information from t...

But

partedUtil delete "/vmfs/devices/disks/naa.6090a04890f7de8e65353568970bc0f2" 1

gave an error.

Basically: I want to get rid of this lun the cleanest way possible

Help Smiley Sad

Regards

0 Kudos
4 Replies
crawfordm
Expert
Expert

Have tried running "esxcli storage filesystem unmount " with the correct switch ?

Please provide the error messages you received when you ran the partedutil.

------------------------------------------------------------------ If you found this answer useful please consider the use of the Helpful or Correct buttons to award points. Thanks, Marc Crawford CCNA, MCSE, MCTS, A+, Net+, Sec +, VCA-WM, VCA-DCV, VCA-Cloud, VCA-NV, VCP-NV, VCP-DCV, VCP, VCAP5-DCA http://gplus.to/marccrawford http://blog.marccrawford.com @uber_tech_geek
0 Kudos
ThPa
Contributor
Contributor

Hi

Tanks for your help

There is no filesystem

esxcli storage filesystem  list | grep "xxxx" does not give anything

but esxcli storage core device list | grep "xxxx" gives something .... then

esxcli storage core device list | more

naa.6090a04890f7de8e65353568970bc0f2

   Display Name: xxxxxxxxxxxxxxxxx

   Has Settable Display Name: true

   Size: 1572870

   Device Type: Direct-Access

   Multipath Plugin: NMP

   Devfs Path: /vmfs/devices/disks/naa.6090a04890f7de8e65353568970bc0f2

   Vendor: EQLOGIC

   Model: 100E-00

   Revision: 7.0

   SCSI Level: 5

   Is Pseudo: false

   Status: on

   Is RDM Capable: true

   Is Local: false

   Is Removable: false

   Is SSD: false

   Is Offline: false

   Is Perennially Reserved: false

   Queue Full Sample Size: 0

   Queue Full Threshold: 0

   Thin Provisioning Status: yes

...

so I typed

esxcli storage filesystem unmount -p /vmfs/devices/disks/naa.6090a04890f7de8e65353568970bc0f2

I got the prompt almost immediately

But I can still see it and

esxcli storage core device set --state=off -d naa.6090a04890f7de8e65353568970bc0f2

and get device busy

Regards

0 Kudos
crawfordm
Expert
Expert

You don't have Storage I/O control enabled on it do you?

------------------------------------------------------------------ If you found this answer useful please consider the use of the Helpful or Correct buttons to award points. Thanks, Marc Crawford CCNA, MCSE, MCTS, A+, Net+, Sec +, VCA-WM, VCA-DCV, VCA-Cloud, VCA-NV, VCP-NV, VCP-DCV, VCP, VCAP5-DCA http://gplus.to/marccrawford http://blog.marccrawford.com @uber_tech_geek
0 Kudos
ThPa
Contributor
Contributor

Well, since it's not available as datastore, I am not sure how I could have activated it.

All our datastores have storage i/o desactivated as prescribed by equallogic.

We followed the best practices for esxi 5 (RR, login time out -> 60 secs, LRO & delayed acks desactivated, ...)

So far we did this by the book

To try to get more perf  use this new 4k option and Smiley Sad

0 Kudos