Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 150956

Re: How to add storage to datastore?

$
0
0

/dev/disks # fdisk /dev/disks/naa.600140597d318d3dc4dfd3d6ad84f3d8

 

***

*** The fdisk command is deprecated: fdisk does not handle GPT partitions.  Please use partedUtil

***

 

 

The number of cylinders for this disk is set to 4307.

There is nothing wrong with that, but this is larger than 1024,

and could in certain setups cause problems with:

1) software that runs at boot time (e.g., old versions of LILO)

2) booting and partitioning software from other OSs

   (e.g., DOS FDISK, OS/2 FDISK)

 

Command (m for help): p

 

Disk /dev/disks/naa.600140597d318d3dc4dfd3d6ad84f3d8: 35.4 GB, 35433480192 bytes

255 heads, 63 sectors/track, 4307 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

 

                                           Device Boot      Start         End      Blocks  Id System

 

Command (m for help): n

Command action

   e   extended

   p   primary partition (1-4)

p

Partition number (1-4): 1

First cylinder (1-4307, default 1): Using default value 1

Last cylinder or +size or +sizeM or +sizeK (1-4307, default 4307): Using default value 4307

 

Command (m for help): t

Selected partition 1

Hex code (type L to list codes): fb

Changed system type of partition 1 to fb (VMFS)

 

Command (m for help): w

The partition table has been altered.

Calling ioctl() to re-read partition table

/dev/disks #

but i can't  creat datastore

 

/dev/disks # ls

mpx.vmhba1:C0:T0:L0

mpx.vmhba1:C0:T0:L0:1

mpx.vmhba1:C0:T0:L0:2

mpx.vmhba1:C0:T0:L0:3

mpx.vmhba1:C0:T0:L0:5

mpx.vmhba1:C0:T0:L0:6

mpx.vmhba1:C0:T0:L0:7

mpx.vmhba1:C0:T0:L0:8

naa.600140529e671bcd450dd34e4d931fdf

naa.600140529e671bcd450dd34e4d931fdf:1

naa.600140597d318d3dc4dfd3d6ad84f3d8

vml.0000000000766d686261313a303a30

vml.0000000000766d686261313a303a30:1

vml.0000000000766d686261313a303a30:2

vml.0000000000766d686261313a303a30:3

vml.0000000000766d686261313a303a30:5

vml.0000000000766d686261313a303a30:6

vml.0000000000766d686261313a303a30:7

vml.0000000000766d686261313a303a30:8

vml.0200000000600140529e671bcd450dd34e4d931fdf695343534920

vml.0200000000600140529e671bcd450dd34e4d931fdf695343534920:1

vml.0200000000600140597d318d3dc4dfd3d6ad84f3d8695343534920

vml.0200010000600140529e671bcd450dd34e4d931fdf695343534920

vml.0200010000600140529e671bcd450dd34e4d931fdf695343534920:1

 

 

/dev/disks # vmkfstools -C vmfs5  -S test33 /vmfs/devices/disks/naa.600140597d318d3dc4dfd3d6ad84f3d8

create fs deviceName:'/vmfs/devices/disks/naa.600140597d318d3dc4dfd3d6ad84f3d8', fsShortName:'vmfs5', fsName:'test33'

deviceFullPath:/dev/disks/naa.600140597d318d3dc4dfd3d6ad84f3d8 deviceFile:naa.600140597d318d3dc4dfd3d6ad84f3d8

VMFS5 file system creation is deprecated on a BIOS/MBR partition on device 'naa.600140597d318d3dc4dfd3d6ad84f3d8'

Checking if remote hosts are using this device as a valid file system. This may take a few seconds...

Creating vmfs5 file system on "naa.600140597d318d3dc4dfd3d6ad84f3d8" with blockSize 1048576 and volume label "test33".

/vmfs/devices/disks/naa.600140597d318d3dc4dfd3d6ad84f3d8: Permission denied.  (Have you set the partition type to 0xfb?)

Error: Permission denied

/dev/disks #


Viewing all articles
Browse latest Browse all 150956

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>