Category Archives: Storage

Adding ‘unclean’ drive to ESXi

Adding some older hard drive from refurbished laptop to my lab ESXi host, I followed the usual steps, Configuration/Storage/Add Storage, format as VMFS-5. The drive was recognized, everything looked hunky dory, till the following error appear in the end.

Vim.Host.DiskPartitionInfo.Spec
Call "HostStorageSystem.ComputeDiskPartitionInfo" for object "storageSystem"

datastore1The reason is that the disk held an existing windows installation with multiple partitions, and ESXi did not like that. You need to manuallky delete the partitions and this can be done from ESXi CLI. Jump on DCUI or temporaty enable SSH at Configuration/Security Profile/Services.

~ # esxcfg-scsidevs -l
t10.ATA_____OCZ2DVERTEX4_____________________________OCZ2D4158A721RE3N09L2
Device Type: Direct-Access
Size: 122104 MB
Display Name: Local ATA Disk (t10.ATA_____OCZ2DVERTEX4_____________________________OCZ2D4158A721RE3N09L2)
Multipath Plugin: NMP
Console Device: /vmfs/devices/disks/t10.ATA_____OCZ2DVERTEX4_____________________________OCZ2D4158A721RE3N09L2
Devfs Path: /vmfs/devices/disks/t10.ATA_____OCZ2DVERTEX4_____________________________OCZ2D4158A721RE3N09L2
Vendor: ATA       Model: OCZ-VERTEX4       Revis: 1.5
SCSI Level: 5  Is Pseudo: false Status: on
Is RDM Capable: false Is Removable: false
Is Local: true  Is SSD: true
Other Names:
vml.01000000004f435a2d34313538413732315245334e30394c324f435a2d5645
VAAI Status: unknown
t10.ATA_____ST500LT0122D9WS142___________________________________W0V9954M
Device Type: Direct-Access
Size: 476940 MB
Display Name: Local ATA Disk (t10.ATA_____ST500LT0122D9WS142___________________________________W0V9954M)
Multipath Plugin: NMP
Console Device: /vmfs/devices/disks/t10.ATA_____ST500LT0122D9WS142___________________________________W0V9954M
Devfs Path: /vmfs/devices/disks/t10.ATA_____ST500LT0122D9WS142___________________________________W0V9954M
Vendor: ATA       Model: ST500LT012-9WS14  Revis: 0001
SCSI Level: 5  Is Pseudo: false Status: on
Is RDM Capable: false Is Removable: false
Is Local: true  Is SSD: false
Other Names:
vml.0100000000202020202020202020202020573056393935344d53543530304c
VAAI Status: unknown

The disk that is in question is second 500GB Non-SSD HDD (ST500LT012-9WS14) which is located at:

~ # partedUtil get /dev/disks/t10.ATA_____ST500LT0122D9WS142___________________________________W0V9954M
60801 255 63 976773168
1 2048 718847 7 128
2 718848 976771071 7 0

To delete the two exiting partitions, use the following comamnds.


~ # partedUtil delete /dev/disks/t10.ATA_____ST500LT0122D9WS142___________________________________W0V9954M 1
~ # partedUtil delete /dev/disks/t10.ATA_____ST500LT0122D9WS142___________________________________W0V9954M 2

Now going back to the process at the begining, adding new VMFS datastore is successfull.

datastore2

Advertisements

Home NAS Solution

You know the drill, you working on something big, create a lot of useful notes, diagrams mind maps and than B-a-a-a-a-m. It is all gone, your hard drive failed, you lost all your work, go figure.

Or another case, again, you are up to something, you start at work create some files, and you get home, and ups, files are on your work notebook, you are tired to email stuff all the way around and you did not used sneaker net to carry them in our packet.

Clearly there must be a better way to manage and protect all that data you hamstered during the years. Sure you can use DropBox, Google Drive or other service but in that case you effectively giving all your data to these companies who god knows do with them.

These and other reasons led me to purchase a NAS solution for my home. I was looking for a solution that would be feature rich, power efficient and easy to manage. First I though I will put it together by myself from spare parts and base linux, but after some research I decided to go the commercial way.

I have chosen Synology Disk Station DS213j and after few months I must say it was an excellent choice. It is based on DSM5 operating system which very extensible through software packages. I did not measured the power consumption myself but according Synology this NAS consumes 3.65W at standby, and 19.82W at duty. The management part is also well executed, you have option to manage device itself via nice web GUI and there are also useful application for IOS to easily access your content.

DS213j has very sleek design.

For the actual hard drives I went with two Western Digital RED 3TB configured for Synology Hybrid RAID. This configuration provides 3 TB of protected storage. WD’s RED edition are optimized for small NAS deployments and they perform well so far.

WD’s REDs are cool for your home NAS

Overall, I am very glad that I moved to this solution. I am using it for backups, file sharing, file synchronization, video and audio streaming and VPN tunnel termination. I can even initiate a remote download through cool IOS app, and when I get home files are already available for streaming.