3 Replies Latest reply: Jan 23, 2013 7:01 AM by Dude! RSS

    Linux Drives and Partitions

    misterimran
      Dear All,

      I have to install Oracle on a Linux Box.

      This is My OS:
      *[root@orabackup ~]# cat /etc/redhat-release *
      Red Hat Enterprise Linux Server release 5.5 (Tikanga)

      Physically I have 3 disks attach to this machine 143 GB each.

      I am not sure if there is any kind of mirroring or RAID in this machine.

      When I run
      *[root@orabackup ~]# df -h*
      Filesystem Size Used Avail Use% Mounted on
      /dev/mapper/VolGroup00-LogVol00
      *256G* 172G 71G 71% /
      /dev/cciss/c0d0p1 99M 13M 82M 14% /boot
      tmpfs *4.0G* 2.1G 1.9G 52% /dev/shm

      When i run

      *[root@orabackup ~]# fdisk -l*

      Disk /dev/cciss/c0d0: *293.5 GB* , 293564211200 bytes
      255 heads, 63 sectors/track, 35690 cylinders
      Units = cylinders of 16065 * 512 = 8225280 bytes

      Device Boot Start End Blocks Id System
      /dev/cciss/c0d0p1 * 1 13 104391 83 Linux
      /dev/cciss/c0d0p2 14 35690 286575502+ 8e Linux LVM

      *[root@orabackup ~]# lvmdiskscan* I get
      /dev/ramdisk [       16.00 MB]
      /dev/root [      263.53 GB]
      /dev/ram [       16.00 MB]
      /dev/cciss/c0d0p1 [      101.94 MB]
      /dev/VolGroup00/LogVol01 [        9.75 GB]
      /dev/ram2 [       16.00 MB]
      /dev/cciss/c0d0p2 [      273.30 GB] LVM physical volume
      /dev/ram3 [       16.00 MB]
      /dev/ram4 [       16.00 MB]
      /dev/ram5 [       16.00 MB]
      /dev/ram6 [       16.00 MB]
      /dev/ram7 [       16.00 MB]
      /dev/ram8 [       16.00 MB]
      /dev/ram9 [       16.00 MB]
      /dev/ram10 [       16.00 MB]
      /dev/ram11 [       16.00 MB]
      /dev/ram12 [       16.00 MB]
      /dev/ram13 [       16.00 MB]
      /dev/ram14 [       16.00 MB]
      /dev/ram15 [       16.00 MB]
      3 disks
      16 partitions
      0 LVM physical volume whole disks


      Now total disk space shown in any of the command is not more than *293 GB* MAX. How can i find the other disk space? Like total physical disk are *143*3*

      How to check that the rest disk space is either not mount, or doesn't have any file system on it, or it is used in the raid or mirroring.

      I am very confused regarding this. Kindly help in details and If you require the result of any command please let me know.

      Thanks, Imran
        • 1. Re: Linux Drives and Partitions
          BIJ001
          Physically I have 3 disks attach to this machine 143 GB each.
          How much memory is a GB (in the above sense)?
          Maybe the difference is not that much if taken into consideration the 1000 vs 1024 issue and the file system etc. overhead.

          http://en.wikipedia.org/wiki/Gigabyte
          • 2. Re: Linux Drives and Partitions
            misterimran
            Thanks for the reply. But my assumption is that one disk is not shown by any of the command and maybe it requires formatting or something.
            • 3. Re: Linux Drives and Partitions
              Dude!
              /dev/cciss is typical for HP Smart Array RAID controllers. You will need to enter the the controller setup at system start up and check your setup. There is usually a message printed how to enter the controller BIOS. Usable disk space after formatting a drive is generally lower than the capacity of the drive, usually the larger the partition, the higher the value that is "wasted".