LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 11-20-2012, 10:01 AM   #1
seighalani
Member
 
Registered: Aug 2007
Posts: 102

Rep: Reputation: 15
disk problem in redhat4


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 db.nc.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

Last edited by seighalani; 11-20-2012 at 11:46 PM. Reason: correct info
 
Old 11-24-2012, 06:10 AM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 870
Blog Entries: 2

Rep: Reputation: 219Reputation: 219Reputation: 219
Disk /dev/sdby: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes


Arithmetic looks ok - you have about 10 time fewer cylinders than other disks.
 
Old 11-25-2012, 04:43 AM   #3
seighalani
Member
 
Registered: Aug 2007
Posts: 102

Original Poster
Rep: Reputation: 15
hi again

i dont have multipathing unfortunately. my problem related to disks. my disk labels were Tumultuous . for example /dev/sdi was /dev/sdz and so on. and when i present a 2tb disk it showed me another disk that was 200gb disk.
 
Old 11-27-2012, 09:10 AM   #4
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 870
Blog Entries: 2

Rep: Reputation: 219Reputation: 219Reputation: 219
This thread involves a BIOS option that may have interfered with a disk.

http://www.reddit.com/r/linux/commen...s_a_1tb_drive/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with ftp server on redhat4 Mranal03 Linux - Networking 3 05-21-2010 04:08 PM
How t o install Redhat4 on sata harddisk speedvishal@gmail.com Linux - Hardware 3 03-02-2010 11:07 AM
my redhat4 AS is not booting correctly jenson Linux - Server 1 05-18-2008 08:55 AM
install redhat4.0 in sata hard disk any driver or software experty Linux - Software 7 12-30-2007 11:12 AM
how stable is redhat4 with 2.6.9 ? eranb2 Red Hat 5 07-30-2005 04:44 AM


All times are GMT -5. The time now is 06:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration