
Adding a new local (sata) disk
Hi all,
i've readed the faq about the question of adding a local disk, but unfortunately, for me this trouble persist.
Here are what i found on my host:
fdisk -l
Disk /dev/disks/vmhba000:0:0:0: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/disks/vmhba000:0:0:1 1 19457 156288288+ fb VMFS
Disk /dev/disks/vmhba0:1:0:0: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/disks/vmhba0:1:0:1 1 19457 156288321 fb VMFS
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^THIS IS the DISK
Disk /dev/disks/vmhba0:0:0:0: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/disks/vmhba0:0:0:1 1 523 4193280 6 FAT16
Partition 1 does not end on cylinder boundary.
/dev/disks/vmhba0:0:0:2 523 537 112640 fc VMKcore
Partition 2 does not end on cylinder boundary.
/dev/disks/vmhba0:0:0:3 537 19458 151984952+ fb VMFS
Disk /dev/disks/vmhba32:0:0:0: 4026 MB, 4026531328 bytes
64 heads, 32 sectors/track, 3839 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/disks/vmhba32:0:0:1 5 750 763904 5 Extended
/dev/disks/vmhba32:0:0:4 * 1 4 4080 4 FAT16 <32M
/dev/disks/vmhba32:0:0:5 5 52 49136 6 FAT16
/dev/disks/vmhba32:0:0:6 53 100 49136 6 FAT16
/dev/disks/vmhba32:0:0:7 101 210 112624 fc VMKcore
/dev/disks/vmhba32:0:0:8 211 750 552944 6 FAT16
Partition table entries are not in disk order
/dev/disks #
When i try to format, here is the output:
/dev/disks # vmkfstools -C vmfs3 -S datastore3 /vmfs/devices/disks/vmhba0\:1\:0\:1
Creating vmfs3 file system on "vmhba0:1:0:1" with blockSize 1048576 and volume label "datastore3".
Usage: vmkfstools -C vmfs3 /vmfs/devices/disks/vmhbaW:X:Y:Z
Error: Bad file descriptor
/dev/disks #
ANd thi is the erro on /var/log/messages:
Sep 18 20:03:53 Hostd: Error : Warning: /dev/disks/vmhba0:1:0:0 contains GPT signatures, indicating that it has a GPT table. However, it does not have a valid fake msdos partition table, as it should. Perhaps it was corrupted - possibly by a program that doesn't understand GPT partition tables. Or perhaps you deleted the GPT table, and are now using an msdos partition table. Is this a GPT partition table? Error: The backup GPT table is not at the end of the disk, as it should be. This might mean that another operating system believes the disk is smaller. Fix, by moving the backup to the end (and removing the old backup)? Warning: The format of the GPT partition table is newer than what Parted can recognise. Please tell us!
bug-parted@gnu.org Unable to read partition table for device /vmfs/devices/disks/vmhba0:1:0:0
Thanks for any help.
Michele