please help with adding scsi hard disks to debian wheezy
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
2. lsscsi output
-I installed lsscsi and here is the output:
Code:
# lsscsi --device
[0:0:0:0] cd/dvd LITEON CD-ROM LTN485S JKF1 /dev/sr0
[2:0:0:0] disk HP Net Mirror V1.0 /dev/sda
[2:2:0:0] disk HP 9.10GB C 80-P94N P94N -
[2:2:1:0] disk HP 9.10GB C 80-P94N P94N -
[2:2:5:0] process HP SAFTE; U160/M BP 1021 -
[2:2:8:0] disk HP 73.4G ATLAS10K3_73_SCA HP05 -
[2:2:9:0] disk HP 73.4G ATLAS10K3_73_SCA HP05 -
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.
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...
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).
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.