please help with adding scsi hard disks to debian wheezy
Hello,
Please assist me with installing two scsi hard disks on a debian system. It is a physical old HP machine (netserver lc2000) with a fresh debian wheezy 7.0.8 installed. It has two scsi hdds (73GBs) that I don't know how to add to the system so I can partition, format, mount, etc. This is what I have tried so far: 1. dmesg output Code:
# dmesg | grep scsi -I installed lsscsi and here is the output: Code:
# lsscsi --device Code:
# lsscsi -H -I tried to use this command to force a rescan for the hdds, but nothing happened: Code:
echo "- - -" > /sys/class/scsi_host/host3/scan -tried the above with host0 - 4, same result 4. fdisk -l Code:
# fdisk -l Code:
# echo "scsi add-single-device 2 2 8 0" > /proc/scsi/scsi Thank you in advance. |
Did you run the above commands as root? because you will get different results when run as a normal user ( usually )
|
yes I was root all the time.
|
Oh well worth a try!
Can't help I'm afraid haven't used scsi in ages, all usb now! Good luck. |
I suggest that you log in as root and then start a GUI, either gnome or KDE then run partitionmanager. Partitionmanager will give you graphic displays of all of your hard drives and allow you to partition them and format the partitions. Also while you are at it I suggest that you tell partitionmanager to label the partitions so that in addition to the long, unmemorable UUIDs you will also have sane, memorable labels.
---------------------- Steve Stites |
Thank you for your answers guys.
As I mentioned earlier, I do everything as root. On a sidenote, this server is text only, no gui, and I don't have physical access to it, only ssh, so can't really start it with live isos or anything like that. Surely there must be some way of adding a scsi device with low-level tools... |
bump?
|
I also tried this command:
Code:
# sfdisk -l |
Parted and gparted as well as many other apps can be run from a command line.
All modern linux accesses drives as scsi now anyway so don't get confused here. I think before you get too far, you might mention if the server has a raid card. Added drives shouldn't be /sda |
Hi jefro, thank you for your answer. The server does have a raid controller, I used it to configure the raid1 array where I installed the system. For the other drives I made no changes (I just left them as they were).
|
Hi
I think the problem is that you're using hardware raid and you don't have the drivers. So I think you have two options. One is to install the driver, it could be in non-free? Make sure you have non-free firmware installed. Other is two go in the BIOS setup and set it up to not use Raid. I would do the latter- If you set it up with mdadm, you can replace hardware later - you won't need the exact raid controller. |
It is possible that the raid controller doesn't know what to do with the new disks so it isn't passing them on (a passthrough option).
You might check the raid controller to see if there are options for that. (I could be all wet - the fact that the disks appear to be connected as sg1,2,3,5 and 6, but it seems the controller on sg4 might not be passing the identity of 5/6 devices as disks.) side note: I believe /proc/scsi/scsi is a read only file, you can't update it directly. Something else to look at is /sys/block. This will show everything known to be a block device even if it doesn't show up in /dev. |
All times are GMT -5. The time now is 02:55 PM. |