Hi all,<br><br>Running `lshal` reports the Harddsik size as where the output of fdisk -l is<br><br>======================================================<br>Disk /dev/sda: 79.8 GB, 79891005440 bytes<br>255 heads, 63 sectors/track, 9712 cylinders<br>
Units = cylinders of 16065 * 512 = 8225280 bytes<br><br> Device Boot Start End Blocks Id System<br>/dev/sda1 * 1 32 257008+ 83 Linux<br>/dev/sda2 33 1076 8385930 82 Linux swap / Solaris<br>
/dev/sda3 1077 9712 69368670 83 Linux<br><br>WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.<br><br><br>WARNING: The size of this disk is 15.0 TB (14978677473280 bytes).<br>
DOS partition table format can not be used on drives for volumes<br>larger than 2.2 TB (2199023255040 bytes). Use parted(1) and GUID <br>partition table format (GPT).<br><br><br>Disk /dev/sdb: 14978.6 GB, 14978677473280 bytes<br>
255 heads, 63 sectors/track, 1821053 cylinders<br>Units = cylinders of 16065 * 512 = 8225280 bytes<br><br> Device Boot Start End Blocks Id System<br>/dev/sdb1 1 267350 2147483647+ ee EFI GPT<br>
=======================================================<br><br>The output of lshal for /dev/sda and /dev/sdb are <br><br>========================================================<br>udi = '/org/freedesktop/Hal/devices/storage_serial_SAdaptec_OS_0E3AE217'<br>
info.addons = {'hald-addon-storage'} (string list)<br> block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_SAdaptec_OS_0E3AE217' (string)<br> info.udi = '/org/freedesktop/Hal/devices/storage_serial_SAdaptec_OS_0E3AE217' (string)<br>
storage.partitioning_scheme = 'mbr' (string)<br> storage.removable.media_size = 79891005440 (0x1299e00000) (uint64)<br> storage.requires_eject = false (bool)<br> storage.hotpluggable = false (bool)<br> info.capabilities = {'storage', 'block'} (string list)<br>
info.category = 'storage' (string)<br> info.product = 'OS' (string)<br> info.vendor = 'Adaptec' (string)<br> <b>storage.size = 0 (0x0) (uint64)</b><br> storage.removable = true (bool)<br>
storage.removable.media_available = true (bool)<br> storage.physical_device = '/org/freedesktop/Hal/devices/pci_8086_340e' (string)<br> storage.lun = 0 (0x0) (int)<br> storage.firmware_version = 'V1.0' (string)<br>
storage.serial = 'SAdaptec_OS_0E3AE217' (string)<br> storage.vendor = 'Adaptec' (string)<br> storage.model = 'OS' (string)<br> storage.drive_type = 'disk' (string)<br> storage.automount_enabled_hint = true (bool)<br>
storage.media_check_enabled = true (bool)<br> storage.no_partitions_hint = false (bool)<br> storage.bus = 'pci' (string)<br> block.is_volume = false (bool)<br> block.minor = 0 (0x0) (int)<br> block.major = 8 (0x8) (int)<br>
block.device = '/dev/sda' (string)<br> linux.hotplug_type = 3 (0x3) (int)<br> info.parent = '/org/freedesktop/Hal/devices/pci_9005_285_scsi_host_scsi_device_lun0_17' (string)<br> linux.sysfs_path_device = '/sys/block/sda' (string)<br>
linux.sysfs_path = '/sys/block/sda' (string)<br><br>udi = '/org/freedesktop/Hal/devices/storage_serial_SAdaptec_VPS_C9573217'<br> info.addons = {'hald-addon-storage'} (string list)<br> block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_SAdaptec_VPS_C9573217' (string)<br>
info.udi = '/org/freedesktop/Hal/devices/storage_serial_SAdaptec_VPS_C9573217' (string)<br> storage.partitioning_scheme = 'gpt' (string)<br> storage.removable.media_size = 14978677473280 (0xd9f7ec00000) (uint64)<br>
storage.requires_eject = false (bool)<br> storage.hotpluggable = false (bool)<br> info.capabilities = {'storage', 'block'} (string list)<br> info.category = 'storage' (string)<br> info.product = 'VPS' (string)<br>
info.vendor = 'Adaptec' (string)<br> <b>storage.size = 0 (0x0) (uint64)</b><br> storage.removable = true (bool)<br> storage.removable.media_available = true (bool)<br> storage.physical_device = '/org/freedesktop/Hal/devices/pci_8086_340e' (string)<br>
storage.lun = 0 (0x0) (int)<br> storage.firmware_version = 'V1.0' (string)<br> storage.serial = 'SAdaptec_VPS_C9573217' (string)<br> storage.vendor = 'Adaptec' (string)<br> storage.model = 'VPS' (string)<br>
storage.drive_type = 'disk' (string)<br> storage.automount_enabled_hint = true (bool)<br> storage.media_check_enabled = true (bool)<br> storage.no_partitions_hint = false (bool)<br> storage.bus = 'pci' (string)<br>
block.is_volume = false (bool)<br> block.minor = 16 (0x10) (int)<br> block.major = 8 (0x8) (int)<br> block.device = '/dev/sdb' (string)<br> linux.hotplug_type = 3 (0x3) (int)<br> info.parent = '/org/freedesktop/Hal/devices/pci_9005_285_scsi_host_scsi_device_lun0_16' (string)<br>
linux.sysfs_path_device = '/sys/block/sdb' (string)<br> linux.sysfs_path = '/sys/block/sdb' (string)<br>========================================================<br><br>Why is it reporting the disk size as zero ? Please help me here..<br>
<br clear="all">Regards,<br><br>Sreejith K<br>