CentOS 5 Hardware :: SCSI Device Not Listed In /dev - Sort It?
Dec 11, 2009I added two scsi disk, but it is not listed in /dev. But the controller information is available from lspci code...
View 4 RepliesI added two scsi disk, but it is not listed in /dev. But the controller information is available from lspci code...
View 4 RepliesIn my understanding, the way /proc/scsi/scsi gets populated, /proc/paritions also gets populated in the same fashion. i.e. the description for first entry of /proc/scsi/scsi can be seen in the first entry of /proc/partitions and same for rest.
So, With this assumption, in my project, I used to relate first entry of /proc/scsi/scsi with first entry of /proc/partitions to get its total size and same for all entries.
But, I observed some differences in following scenario, where
1) The first 4 entries in /proc/scsi/scsi are SAN luns attached to my system and for which the actual device names in /dev/ are sda,sdb,sdc and sdd.
2) The last 4 entries are the internal HDDs on same system. In /dev/, their respective device names are sde,sdf,sdg & sdh.
(Output attached at end of the thread)
But in /proc/partitions, the device order is different.
You can see their respective sizes in /proc/partition output as well.
So, my question is, in this particular scenario, I can't relate the first entry of /proc/scsi/scsi with first entry of /proc/partition. i.e. scsi0:00:00:00 is not /dev/sde, because it is actually /dev/sda.
It seems that my assumption is wrong in this scenario.
Is there any way or mechanism to figure out actual device name for an entry in /proc/scsi/scsi in /dev/ directory?
How can my application should relate /proc/scsi/scsi entries with their respective device names and sizes?
Since May 12,2009. Our system lifekeeper has the error log "lifekeeper error: DEVICE FAILURE on SCSI device '/dev/add'", but it ran normally. Until last week, it failover to the standby server. The disk still running, the error still come out.
View 3 Replies View RelatedOne of my servers contains two scsi enclosures. After hot removing a disk and hot adding another the new disk gets assigned a device file but the enclosure (in sysfs) doesn't want to see it.
How can I force the enclosure to recognise the hot added disk.
Situation in sysfs:
The link device is dead after hot removing the device and keeps vanished after hot adding the new device. The hot added device gets assigned a device file and it is reachable. Even
Doesn't change anything.
How can I force the link to be updated towards.
I am attaching a LTO-3 tape drivce into my RHEL5 linux machine. Every time i used to restart my machine to detect the tape drive is there any way to rescan the buses to detect the newly attached scsi devices. In solaris "devfsadm" and "iostat" is there. I need the same kind of thing in linux.
View 2 Replies View RelatedHow can i do to mount a scsi device ? it is a lg android phone ...
My dmesg shows :
I have a HP Proliant DL380 G3 server with Ubuntu Server 9.10
I have a HP Storageworks Ultrium 215 tape device
For some reason the Ubuntu server does not find the tape device
I created a new disk on our scsi san. I then ran the following command: echo "- - -" > /sys/class/scsi_host/host1/scan. did that command for each host. and in dmesg, it shows it found a device /dev/sdg. but when i do a fdisk -l. It never lists /dev/sdg. I just did this other day on another server and it worked fine like that. This is RH 4.8.
View 7 Replies View RelatedI am developing for a Linux based device for which the HOT PLUG option is deactivated. As part of optimizing the code, we also don't want to create device files for unused devices. We understand that both USB attached and fixec SCSI hard disks would create device files like /dev/sda,/dev/sda1 /dev/sdb, /dev/sdb1 etc. Is this understanding correct?
In the case of USB attached SCSI devices, would driver create this device file entry? How is it created? Can somebody please tell me how it is being created automatically. In case I attach a fixed SCSI hard disk before boot up(and create device file /dev/sda1), would USB SCSI device driver create device files starting from /dev/sdb, automatically.
am trying to connect and list my Samsung Captivate Device in Ubuntu, but i failed everytime. Here is my environment
Launching Ubuntu 10.10 (guest OS) from Windows 7 (host OS) using Virtual Box 4.0
In the host OS (Windows 7), i have enabled USB Device Filter for Samsung_Android, and i could see that device in Ubuntu 10.10, but when i use 'lsusb', it doesn't list the samsung device.
After connecting, dmesg shows:
Code:
After that, there are no /dev/sd* entries. the hard drive works as expected on my windows box. how can i mount this drive?
When I connect my Treo 650 with a USB cable it works sometimes and not others. A little investigation showed
that it always works when I see the Palm device listed in the output of lsusb. While trying to diagnose why it appears sometimes and not others, I discovered that it sometimes appears in /proc/bus/usb/devices and not
in lsusb. I didn't think that was possible!
I've tried running kudzu (the Red Hat hardware discovery tool) and killing and restarting udevd.
I have a HP 8510w which I attached to a sony tv via hdmi. picture is great but no sound. checked and in sound preferences, hdmi is not listed as a possible output device for sound. searched the net but couldnt find a solution. here some info:
Code:
root@gre-HP8510w:/home/gre# uname -a
Linux gre-HP8510w 2.6.35-28-generic #49-Ubuntu SMP Tue Mar 1 14:39:03 UTC 2011 x86_64 GNU/Linux
[code]....
i m facing same error in most of the HCL servers. the problem is that it throws error while booting and sometimes not throws error. the error is :-
Feb 13 13:17:25 fe13s kernel: Adapter 0: Bus A: The SCSI controller was reset due to SCSI BUS noise or an invalid signal. Check cables, termination, termpower, LVDS operation, etc.
Feb 13 13:17:30 fe13s kernel: Adapter 0: Bus B: The SCSI controller successfully recovered from a SCSI BUS issue. The issue may still be present on the BUS. Check cables, termination, termpower, LVDS operation, etc
Feb 13 13:29:15 fe13s kernel: Adapter 0: Bus B: The SCSI controller successfully recovered from a SCSI BUS issue. The issue may still be present on the BUS. Check cables, termination, termpower, LVDS operation, etc
code....
When I enter "cat /proc/scsi/scsi" I'm returned with "cat: /proc/scsi/scsi: No such file or directory". I've tried this on two different installs on two different machines.
View 6 Replies View RelatedSome of our workstations have LTO's attached and they seem to drop off every now and again, the only thing which picks them up again (besides a reboot) is the famous rescan-scsi-bus script from here
The thing is that I'd like non-root users to be able to run this script, which in turn needs root to /proc/scsi/scsi
I just installed centos 5 on a hp dl380 server and it has 2 72.8 scsi gig hard drives. The problem I am having is that only one hard drive is being recognized and it is not being recognized as a scsi. This is what I get from fdisk -l
Disk /dev/cciss/c0d0: 72.8 GB, 72833679360 bytes
255 heads, 63 sectors/track, 8854 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 13 104391 83 Linux
/dev/cciss/c0d0p2 14 8854 71015332+ 8e Linux LVM
as you can see, the system doesn't even see the second hard drive. How do I get both hard drives to be seen and how do I get them to be recognized as scsi?
I've managed to install Centos 5.3 (with Gnome) from a temporary IDE-based CD drive. This has now been removed and, instead, I have added a SCSI-based Panasonic LF-D201 DVD-RAM drive onto channel-B of the Intel SRCU32 (LSI clone) SCSI RAID card.
it seems that Centos cannot see the DVD-RAM drive at all - not even as a simple CD drive.
Can an unattended Kickstart support both IDE (hda) and SCSI (sda)? The goal is to to create a new virtual machine from scratch. What I have works for Parallels in which a new VM defaults to emulate an IDE hard disk. It does not work for VMware Workstation which defaults to emulate a SCSI disk.
The relevant Kickstart section: bootloader --location=mbr --driveorder=hda --append="rhgb quiet"
clearpart --all --initlabel --linux --drives=hda
part /boot --fstype ext3 --size=100 --ondisk=hda
part pv.2 --size=0 --grow --ondisk=hda
volgroup VolGroup00 --pesize=32768 pv.2
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=1024 --grow --maxsize=2048
Can the Kickstart file be made to not care what drive type is there, or conditionally handle either type?
I am looking for a way to partition 2 disks automatically with are both connected to 2 different scsi controllers.
I want one disk on one controller to be partitioned with boot and lvm and the other one with a different partition layout.
I there a way in kickstart to do this, like for instance specify the drive module?
Client has a server running 5.5 (I think) and it they moved locations. This server is used in other locations (state) via ssh tunnel as well so they can all access files.
When attempting to boot up I get screenshot 1 (superblock errors)[url]
They supposedly have a backup on a hot swap scsi and I want to know how/if I can restore it using that backup if I cant fix the superblock boot/error issue.
I took some other screenshots:
[url]
[url]
[url]
i just upgraded to ubuntu 10.04 the netbook distro. at the desktop view there is a list of about 10 buttons/menus listed on the left hand side, is there anyway to control what buttons/menus are listed and which icons are listed under each of them? having a netbook i would like to remove and unclutter the desktop view as much as possible but i dont want to remove those apps i still want to be able to open those apps if i want to even if by removing those icons and menus/buttons makes it a pain.
View 1 Replies View RelatedI've just put together a Centos 5.2 system using an old Future Domain SCSI card which would allow me to hook up an external DAT drive. On its BIOS screen it advertises itself as an AHA-2920 which should be handled by the aic7xxx module. However, the module doesn't even get loaded unless I force it in /etc/rc.modules and even then it doesn't pick up the card.
View 2 Replies View RelatedWe just setup a HP DL380 with CentOS 5, and ran all of the latest updates.I am trying to attach a Compaq array (no model number) that is SCSI attached. I can see the array from the bios and created a raid group on it from there. However, from LVM and lvscan, I don't see it at all. I checked dmesg and there are no errors.Also, interestingly /proc/scsi/scsi is empty.
View 1 Replies View RelatedHas anyone successfully used an Adaptec 2100S in a RAID configuration? Specifically, RAID1?
Drivers exist for earlier version of Red Hat, but building an using a driver disk results in the error:
Driver disk is invalid for this release of CentOS
CentOS does not recognize the adapter out-of-the-box as a HW RAID controller, but does recognize the individual disks.
I attempted to use software RAID, but the installer craps-out after a while and the screen locks up.
I'm trying to move the /var/www dir to another partition (another hard drive even, though I doubt that makes a difference) because my file system partition is rather small. But when I do I get "403 -forbidden" and in the logs "Permission denied: /home/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable". If I move it anywhere within the partition (and adjust the conf) I don't get this problem.
Using Ubuntu 10.04 Desktop x64. I haven't had any problems with this in earlier Ubuntu-versions.
Does CentOS 5 support HP EH854A LTO4 External SCSI tape drive?
View 3 Replies View RelatedWhen I try and use the YUM command I get the following:
Repository base is listed more than once in the configuration
Is there a way to fix this? I use Centos 5.2.
I recently installed CentOS 5.3. There I select desktop package (Gnome and KDE) didn't select server in CentOS 5.3 installation gui. I want to connect to the windows active directory domain in our company. To do this I want to run the samba service. But it is not listed in the services. (#service --status-all) but I cant see the samba config file smb.conf why I cant run this other services smbd, nmbd is also not listed. But winbind is listed and I started it.
[root@bryan-adams etc]# yum list samba
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.iitm.ac.in
* updates: ftp.iitm.ac.in
* addons: ftp.iitm.ac.in
* extras: ftp.iitm.ac.in
Available Packages
samba.i386 3.0.33-3.7.el5_3.1 updates
I would like to know how I can install my hp c5180 on CentOS 5.5?My printer is connected to the computer with an ethernet cable.The matter is that my printer is not listed, I would like to know if there is a way to handle this?
View 1 Replies View Related