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 |
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:
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. |
All times are GMT -5. The time now is 07:04 PM. |