I have a dell MD3000i iSCSI arry, and I've added some additional disks, and I need to now grow the datastore. I'm following the instructions found here: grow a datastore but when I use fdisk I'm not getting expected result
naa.6001ec90efecb200104754a00873a05c:3 /dev/sda3 48c91992-f8a3678c-d3e8-002219028898 0 cybertron02:storage1
naa.60022190008a833d000003bf48ff614d:1 /dev/sdc1 49007b49-9c61fb06-706f-0022190288b4 0 Unicron:RAID5 <-- this is the datastore I wish to expand
naa.60022190008a8347000003f848ff6128:1 /dev/sdd1 49007abd-a85f1c3e-bf18-0022190288b4 0 Unicron:ISO
when I run fdisk it can't see the partition data? I don't get it what am I doing wrong here?
# fdisk -u /vmfs/devices/disks/naa.60022190008a833d000003bf48ff614d:1
last_lba(): I don't know how to handle files with mode 8180 Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable.
The number of cylinders for this disk is set to 182207.
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)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help): p
Disk /vmfs/devices/disks/naa.60022190008a833d000003bf48ff614d:1: 1498.7 GB, 1498711752704 bytes
255 heads, 63 sectors/track, 182207 cylinders, total 2927171392 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
Command (m for help):
--Jeff
Have you done a rescan of iSCSI storage device?
How big is now your LUN on MD3000i?
Andre
I did a rescan, but still no changes. The Lun size is 1.36TB
--Jeff
Do not make:
fdisk -u /vmfs/devices/disks/naa.60022190008a833d000003bf48ff614d:1
Make:
fdisk -u /vmfs/devices/disks/naa.60022190008a833d000003bf48ff614d
or simply fdisk /dev/sdc
Andre
Actually, Andre has told us the answer. When you create or modify a LUN using fdisk, correct format is fdisk -u /vmfs/devices/disks/naa.60022190008a833d000003bf48ff614d instead of /vmfs/devices/disks/naa.60022190008a833d000003bf48ff614d:X (naa.xxxxxxxxxxxxxxxx is the LUN id and X is a partition number)
Zhifeng