Format Scsi disk

Hello,
I have some 300 Gig Scsi disk under Adaptec i can see it's 279 gig, i giv et a drive name (dev/sdb).
Then i boot linux. Under fdisk -l i find the disk but it's only 140,8 gig. I am running redhat Es 3.1
with kernel 2.4.21-9.0.1.ELsmp.

HELP
LVL 1
Aida2Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sheetbirdCommented:
Can you post the output of "fdisk -l /dev/sdb" ?  What filesystem are you using? (check in /etc/fstab or /proc/mounts)

The partition may not be taking up the full disk, also the filesystem will have some overhead, but it should be closer to 5%-10% or so (I just pulled that number out of the air but you get the idea) for journaling and other things.
0
Aida2Author Commented:

Helle
Tanks for resp.
I am using ext3 and it's /dev/sdb and /dev/sdc i just mark et down i send my full /dev/sd* later
Here is my proc/mounts

 rootfs / rootfs rw 0 0
/dev/root / ext3 rw 0 0
/proc /proc proc rw 0 0
none /dev/pts devpts rw 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
/dev/sda1 /boot ext3 rw 0 0
none /dev/shm tmpfs rw 0 0
0
leisnerCommented:
better yet post what's in the kernel bootup from dmesg -- see what the kernel identifies...

I've never used a 300g scsi disk -- is this one disk or a raid array or something?
What model is it (dmesg will show).  Its conceivable 2.4.21 may not work with right with
something that size (how old is 2.4.21 -- 3 years?)

0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Aida2Author Commented:
Hello,
This my fdisk
Disk /dev/sda: 109.1 GB, 109156761600 bytes
255 heads, 63 sectors/track, 13270 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1        13    104391   83  Linux
/dev/sda2            14     13016 104446597+  83  Linux
/dev/sda3         13017     13270   2040255   82  Linux swap

Disk /dev/sdb: 146.5 GB, 146590924800 bytes
255 heads, 63 sectors/track, 17821 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1             1     17821 143147151   83  Linux

Disk /dev/sdc: 146.5 GB, 146590924800 bytes
255 heads, 63 sectors/track, 17821 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdc1             1     17821 143147151   83  Linux

Disk /dev/sdd: 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/sdd4             1     19457 156288321   83  Linux

--------------------------------
And dmesg
...
...
dpti: If you have a lot of devices this could take a few minutes.
dpti0: Reading the hardware resource table.
TID 008  Vendor: ADAPTEC      Device: AIC-7902     Rev: 00000001
TID 009  Vendor: ADAPTEC      Device: AIC-7902     Rev: 00000001
TID 516  Vendor: SDR     G    Device: GEM318       Rev: 0
TID 524  Vendor: ADAPTEC A    Device: ARRAY_0      Rev: FS13D
TID 527  Vendor: ADAPTEC J    Device: JBOD PASSTHR Rev: FS13D
TID 528  Vendor: ADAPTEC J    Device: JBOD PASSTHR Rev: FS13D
scsi0 : Vendor: Adaptec  Model: 2010S            FW:FS13
Starting timer : 0 0
  Vendor: ADAPTEC   Model: ARRAY_0           Rev: FS13
  Type:   Direct-Access                      ANSI SCSI revision: 02
Starting timer : 0 0
  Vendor: SDR       Model: GEM318            Rev: 0
  Type:   Processor                          ANSI SCSI revision: 02
Starting timer : 0 0
  Vendor: ADAPTEC   Model: JBOD PASSTHRU     Rev: FS13
  Type:   Direct-Access                      ANSI SCSI revision: 02
Starting timer : 0 0
  Vendor: ADAPTEC   Model: JBOD PASSTHRU     Rev: FS13
  Type:   Direct-Access                      ANSI SCSI revision: 02
Starting timer : 0 0
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi disk sdb at scsi0, channel 0, id 13, lun 0
Attached scsi disk sdc at scsi0, channel 0, id 14, lun 0
SCSI device sda: 213196800 512-byte hdwr sectors (109157 MB)
Partition check:
 sda: sda1 sda2 sda3
SCSI device sdb: 286310400 512-byte hdwr sectors (146591 MB)
 sdb: sdb1
SCSI device sdc: 286310400 512-byte hdwr sectors (146591 MB)
 sdc: sdc1
Journalled Block Device driver loaded
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 224k freed
....
....


0
Aida2Author Commented:
Hello,
Can be something about fdisk?
i am using fdisk version v2.11y
And i hven't cfdisk.
0
sheetbirdCommented:
I looks like you have 4 SCSI disks, 109, 2x146 and a 160.  It sounds like you want to make them all one big filesystem (at least 3 of the disks).  So to do this you should you LVM

http://www.tldp.org/HOWTO/LVM-HOWTO/index.html

It's pretty straight forward to set up following the how-to.  You will need to change the partition types on the partitions you include on LVM to "Linux LVM" (8e) using fdisk.  I would leave my / filesystem alone.  Not having / under LVM keeps / safe if there are LVM problems.
0
Aida2Author Commented:
no i don't want make a big file system 2x146 is actually 2x300(289) and this is what i want to use for backup
(to mount/umount and remove) no raid no logical filesystem or somthing else only 2x300 formatt disk for daylig backup.
0
sheetbirdCommented:
I see what you mean now.  This is either a problem with the Adaptec Firmware or the Driver.  Contact Adaptec and see if they can help you.

http://adaptec-tic.adaptec.com/cgi-bin/adaptec_tic.cfg/php/enduser/home.php
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.