LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-05-2009, 02:38 AM   #1
dlugasx
Member
 
Registered: Dec 2008
Location: Germany/Poland
Distribution: CentOS / Debian / Solaris / RedHat
Posts: 266

Rep: Reputation: 19
SCSI - hot swap - how to mount ?


Hello everyone,

I have a problem with mounting drive. My OS is Fedora 6 x64.

It looks like my system doesnt see new drive. Question is why.
The harddrive is hotswap SCSI. Server IBM xSeries 226.

0) Here is the status before installing process

- Devices list:

Quote:
root@dolar:~# ls /dev/
bus fd0u1722 hda loop7 parport2 ram14 rtc sda9 tty tty2 tty31 tty43 tty55 ttyS0 usbdev5.1_ep00 vcsa1
cdrom fd0u1743 hpet lp0 parport3 ram15 scanner sdb tty0 tty20 tty32 tty44 tty56 ttyS1 usbdev5.1_ep81 vcsa2
cdrom-hda fd0u1760 initctl MAKEDEV port ram2 scanner-sg2 sdb1 tty1 tty21 tty33 tty45 tty57 ttyS2 usbdev5.2_ep00 vcsa3
console fd0u1840 input mapper ppp ram3 scanner-sg3 sg0 tty10 tty22 tty34 tty46 tty58 ttyS3 usbdev5.2_ep02 vcsa4
core fd0u1920 kmsg mcelog ptmx ram4 sda sg1 tty11 tty23 tty35 tty47 tty59 urandom usbdev5.2_ep81 vcsa5
cpu fd0u360 log md0 pts ram5 sda1 sg2 tty12 tty24 tty36 tty48 tty6 usbdev1.1_ep00 vcs vcsa6
disk fd0u720 loop0 mem ram ram6 sda2 sg3 tty13 tty25 tty37 tty49 tty60 usbdev1.1_ep81 vcs1 X0R
fd fd0u800 loop1 net ram0 ram7 sda3 shm tty14 tty26 tty38 tty5 tty61 usbdev2.1_ep00 vcs2 zero
fd0 fd0u820 loop2 null ram1 ram8 sda4 snapshot tty15 tty27 tty39 tty50 tty62 usbdev2.1_ep81 vcs3
fd0u1040 fd0u830 loop3 nvram ram10 ram9 sda5 stderr tty16 tty28 tty4 tty51 tty63 usbdev3.1_ep00 vcs4
fd0u1120 floppy loop4 par0 ram11 ramdisk sda6 stdin tty17 tty29 tty40 tty52 tty7 usbdev3.1_ep81 vcs5
fd0u1440 floppy-fd0 loop5 parport0 ram12 random sda7 stdout tty18 tty3 tty41 tty53 tty8 usbdev4.1_ep00 vcs6
fd0u1680 full loop6 parport1 ram13 root sda8 systty tty19 tty30 tty42 tty54 tty9 usbdev4.1_ep81 vcsa
root@dolar:~#
- Fdisk list:
Quote:
root@dolar:~# fdisk -l

Disk /dev/sda: 73.4 GB, 73406611456 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 10 80293+ 83 Linux
/dev/sda2 11 3926 31455270 83 Linux
/dev/sda3 3927 5231 10482412+ 83 Linux
/dev/sda4 5232 8924 29664022+ 5 Extended
/dev/sda5 5232 5753 4192933+ 83 Linux
/dev/sda6 5754 6275 4192933+ 82 Linux swap / Solaris
/dev/sda7 6276 6406 1052226 83 Linux
/dev/sda8 6407 6537 1052226 83 Linux
/dev/sda9 6538 8924 19173546 83 Linux

Disk /dev/sdb: 73.4 GB, 73406611456 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 8924 71681998+ 83 Linux
root@dolar:~#


1) I`m putting drive to the SCSI pocket.

2) Then in console I`m trying to list all devices:

Quote:
ls /dev/
bus fd0u1722 hda loop7 parport2 ram14 rtc sda9 tty tty2 tty31 tty43 tty55 ttyS0 usbdev5.1_ep00 vcsa1
cdrom fd0u1743 hpet lp0 parport3 ram15 scanner sdb tty0 tty20 tty32 tty44 tty56 ttyS1 usbdev5.1_ep81 vcsa2
cdrom-hda fd0u1760 initctl MAKEDEV port ram2 scanner-sg2 sdb1 tty1 tty21 tty33 tty45 tty57 ttyS2 usbdev5.2_ep00 vcsa3
console fd0u1840 input mapper ppp ram3 scanner-sg3 sg0 tty10 tty22 tty34 tty46 tty58 ttyS3 usbdev5.2_ep02 vcsa4
core fd0u1920 kmsg mcelog ptmx ram4 sda sg1 tty11 tty23 tty35 tty47 tty59 urandom usbdev5.2_ep81 vcsa5
cpu fd0u360 log md0 pts ram5 sda1 sg2 tty12 tty24 tty36 tty48 tty6 usbdev1.1_ep00 vcs vcsa6
disk fd0u720 loop0 mem ram ram6 sda2 sg3 tty13 tty25 tty37 tty49 tty60 usbdev1.1_ep81 vcs1 X0R
fd fd0u800 loop1 net ram0 ram7 sda3 shm tty14 tty26 tty38 tty5 tty61 usbdev2.1_ep00 vcs2 zero
fd0 fd0u820 loop2 null ram1 ram8 sda4 snapshot tty15 tty27 tty39 tty50 tty62 usbdev2.1_ep81 vcs3
fd0u1040 fd0u830 loop3 nvram ram10 ram9 sda5 stderr tty16 tty28 tty4 tty51 tty63 usbdev3.1_ep00 vcs4
fd0u1120 floppy loop4 par0 ram11 ramdisk sda6 stdin tty17 tty29 tty40 tty52 tty7 usbdev3.1_ep81 vcs5
fd0u1440 floppy-fd0 loop5 parport0 ram12 random sda7 stdout tty18 tty3 tty41 tty53 tty8 usbdev4.1_ep00 vcs6
fd0u1680 full loop6 parport1 ram13 root sda8 systty tty19 tty30 tty42 tty54 tty9 usbdev4.1_ep81 vcsa


Quote:
root@dolar:~# fdisk -l

Disk /dev/sda: 73.4 GB, 73406611456 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 10 80293+ 83 Linux
/dev/sda2 11 3926 31455270 83 Linux
/dev/sda3 3927 5231 10482412+ 83 Linux
/dev/sda4 5232 8924 29664022+ 5 Extended
/dev/sda5 5232 5753 4192933+ 83 Linux
/dev/sda6 5754 6275 4192933+ 82 Linux swap / Solaris
/dev/sda7 6276 6406 1052226 83 Linux
/dev/sda8 6407 6537 1052226 83 Linux
/dev/sda9 6538 8924 19173546 83 Linux

Disk /dev/sdb: 73.4 GB, 73406611456 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 8924 71681998+ 83 Linux
root@dolar:~#

How can I mount drive if I cant see it. This is original drive dedicated for that server. I think I`m doing something wrong.

Is it possible that system will not recognize the drive automaticly ?
 
Old 08-05-2009, 04:13 AM   #2
timvandijk039
Member
 
Registered: Jul 2009
Location: The Netherlands
Distribution: Debian/Ubuntu and RHEL/CentOS
Posts: 42

Rep: Reputation: 18
You might need to rescan the scsi-bus.

A reboot should do the trick.

Or you could try to install this tool:
http://rpm.pbone.net/index.php3/stat...oarch.rpm.html

I have no experience with this tool however!

Hope this helps
 
Old 08-05-2009, 11:44 AM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Hot swap is typically for replacing a failed drive in a RAID array.. not switching storage devices because you feel like it..

What exactly are you trying to do with your 'hot swapping'
 
  


Reply

Tags
hdd, how, linux, mount



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
Desktop with SCSI RAID Hot-Swap HD for home lp449 Linux - Hardware 10 11-15-2007 10:44 AM
Hot swap raid collen Linux - Hardware 1 10-16-2007 04:41 AM
hot swap for adding random hard drives? PATA, SATA, SCSI? Oo.et.oO Linux - General 1 11-05-2005 10:38 AM
Mount question and hot swap question Dr Gutiemouth Linux - Newbie 8 10-20-2004 12:30 PM
hot swap SCSI SCA bus transients harmful to non SCA drives? bdp Linux - Hardware 4 01-29-2004 12:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:48 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
Open Source Consulting | Domain Registration