disk size problem

 
seighalani
Occasional Contributor

disk size problem

hi everyone

 

i have a redhat server 4.4 64bit that installed oracle 10g on it. i have a problem in adding new disk to this server. i added 2TB disk to redhat from EVA6400 but redhat shows that 214GB. why this happened?

i have 100Lun (each of them 2TB).

 

[root@dbarc ~]# uname -a

Linux dbarc.nocr.org 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux

 

[root@dbarc ~]# free -g

             total       used       free     shared    buffers     cached

Mem:            35          7         27          0          0          6

-/+ buffers/cache:          1         33

Swap:           27          0         27

 

[root@dbarc ~]# cat /etc/modprobe.conf

alias eth0 bnx2

alias eth1 bnx2

alias scsi_hostadapter1 cciss

alias scsi_hostadapter2 ata_piix

alias usb-controller uhci-hcd

alias usb-controller1 ehci-hcd

alias scsi_hostadapter3 qla2xxx_conf

alias scsi_hostadapter4 qla2xxx

options qla2xxx  ql2xmaxqdepth=16 qlport_down_retry=30 ql2xloginretrycount=30 ql2xfailover=1 ql2xlbType=1 ql2xautorestore=0xa0 ConfigRequired=0

remove qla2xxx /sbin/modprobe -r --first-time --ignore-remove qla2xxx && { /sbin/modprobe -r --ignore-remove qla2xxx_conf; }

alias scsi_hostadapter lpfc

 

[root@dbarc ~]# cat /etc/sysctl.conf

# Kernel sysctl configuration file for Red Hat Linux

#

# For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and

# sysctl.conf(5) for more details.

 

# Controls IP packet forwarding

net.ipv4.ip_forward = 0

 

# Controls source route verification

net.ipv4.conf.default.rp_filter = 1

 

# Do not accept source routing

net.ipv4.conf.default.accept_source_route = 0

 

# Controls the System Request debugging functionality of the kernel

kernel.sysrq = 0

 

# Controls whether core dumps will append the PID to the core filename.

# Useful for debugging multi-threaded applications.

kernel.core_uses_pid = 1

 

###### ORACLE ######

net.core.rmem_default=1048576

net.core.wmem_default=262144

net.core.rmem_max=1048576

net.core.wmem_max=262144

kernel.shmmax=68719476736

kernel.shmmni=4096

kernel.shmall=4294967296

net.ipv4.ip_local_port_range = 1024 65000

kernel.sem=250 32000 100 128

kernel.msgmni=2878

kernel.msgmax=8192

kernel.msgmnb=65535

kernel.panic=60

fs.aio-max-nr=1048576

 

 

if you notict to fdisk -l shows that the latest disk is 214GB but  EVA6400 presented 2TB

Disk /dev/sdbu: 2199.0 GB, 2199023255552 bytes

255 heads, 63 sectors/track, 267349 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

 

    Device Boot      Start         End      Blocks   Id  System

/dev/sdbu1               1      267349  2147480811   83  Linux

 

Disk /dev/sdbv: 2199.0 GB, 2199023255552 bytes

255 heads, 63 sectors/track, 267349 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

 

    Device Boot      Start         End      Blocks   Id  System

/dev/sdbv1               1      267349  2147480811   83  Linux

 

Disk /dev/sdbw: 2199.0 GB, 2199023255552 bytes

255 heads, 63 sectors/track, 267349 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

 

    Device Boot      Start         End      Blocks   Id  System

/dev/sdbw1               1      267349  2147480811   83  Linux

 

Disk /dev/sdbx: 2199.0 GB, 2199023255552 bytes

255 heads, 63 sectors/track, 267349 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

 

    Device Boot      Start         End      Blocks   Id  System

/dev/sdbx1               1      267349  2147480811   83  Linux

 

Disk /dev/sdby: 214.7 GB, 214748364800 bytes

255 heads, 63 sectors/track, 26108 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

 

    Device Boot      Start         End      Blocks   Id  System

/dev/sdby1               1       26108   209712478+  83  Linux

 

Disk /dev/sdbz: 214.7 GB, 214748364800 bytes

255 heads, 63 sectors/track, 26108 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

 

    Device Boot      Start         End      Blocks   Id  System

 

 

what should i do? thanks in advance