LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


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

Rep: Reputation: 19
How to mount hot-swap drive in Fedora Core 6 ?


Hi all,

I know, I know this is trivial question.

I have tried to mount new hot swap scsi drive in IBM xSeries 226.

I have put new drive to the pocket and tried to list all new drives using

#fdisk -l

I cannot see that drive.

---------------------
BEFORE

root@dra:~# 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@dra:~#



------------------------------------------------------
AFTER


root@dra:~# 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@dra:~#


How to mount this drive ?

Should be something like /dev/sdc . In this server I have 3 drives (include this which should be mount). I have also restarted server. Doesnt help.


help
 
Old 08-12-2009, 09:01 AM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Looking at your out put I do not see sdc drive also. I see sda and sdb but not the third sdc. type cfdisk /dev/sdc and if nothing try fdisk /dev/sdc. one make sure the light is on for that drive. if that does not do it it is a bios problem. bios must read it then linux will see it. since it is a server and you need it up and running. put the drive in and then type as root dmesg. this will show what hardware is being loaded.and errors
if fdisk finds it then format it and use it. then it becomes sdc1. then make sure your /etc/fstab is setup to use a hot swap. that means if you pull a drive it reads the /proc and unloads the slot when loading it a drive it will load it to that slot.
so look at your /etc/fstab/ file. and edit it as needed.
and of course your actuall question
Quote:
How to mount hot-swap drive in Fedora Core 6
mount /dev/sdc1 this will read your /etc/fstab/ file and also your /etc/mtab file to see if it is loaded in the /proc good luck.
Also clean wiped drives are blank bios reads it but linux needs a formated file system to load the drivers for it. That is why cfdisk or fdisk must be run.
Good luck.
 
  


Reply



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
SCSI - hot swap - how to mount ? dlugasx Linux - Hardware 2 08-05-2009 11:44 AM
Want to mount the hard drive on the fedora core 6 fedoraman Linux - Newbie 7 01-16-2008 07:10 AM
How do I set exec option on USB drive hot plug mount? dhuseby Linux - Hardware 2 05-30-2006 09:16 AM
CD Drive Will Not Mount - Fedora Core 3 sloik2000 Linux - Software 8 02-17-2005 07:37 PM
Fedora Core 1 Can't Mount Floppy Drive jerrykuch Linux - Hardware 3 04-19-2004 02:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:22 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