Server :: Adding Scsi Device Won't Show Up In Fdisk

Jul 27, 2011

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


ADVERTISEMENT

General :: Fdisk Don't Show External Usb Device?

Jun 1, 2010

I have a server with RHEL 5. I have bought a HDD and put it into a USB box. Then I plug it to my server by USB cable. I want to mount it but the fdisk -l command don't show external usb device.

View 7 Replies View Related

Server :: Lifekeeper Error - DEVICE FAILURE On SCSI Device - /dev/add

Sep 17, 2009

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 Related

Red Hat :: Mapping /proc/scsi/scsi Entries With Respective Device Names In /dev/ Directory

Apr 11, 2011

In 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?

View 2 Replies View Related

Server :: Error SCSI Controller Was Reset Due To SCSI BUS Noise Or An Invalid Signal?

Feb 15, 2010

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....

View 2 Replies View Related

Hardware :: External USB Does Not Show Up In Fdisk -l

Mar 3, 2010

I know there are entries in FAQ and sticky topics about USB-drives, but I can't really make a use of any of them... I bought a new 1.5TB internal HDD and put it into an external HDD box connected to my PC via USB. The Problem is:

I plug it in, dmesg tells me:

Code: [ 478.884972] hub 1-0:1.0: state 7 ports 8 chg 0000 evt 0040
[ 478.885008] ehci_hcd 0000:00:1d.7: GetStatus port 6 status 001002 POWER sig=se0 CSC
[ 478.885078] hub 1-0:1.0: port 6, status 0100, change 0001, 12 Mb/s
[ 478.885095] usb 1-6: USB disconnect, address 2

[Code]....

View 9 Replies View Related

Debian Hardware :: Adding Scsi Hard Disks To Wheezy

Feb 17, 2015

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: Select all# dmesg | grep scsi
[    2.173909] scsi0 : pata_serverworks
[    2.174377] scsi1 : pata_serverworks
[    2.417276] scsi 0:0:0:0: CD-ROM            LITEON   CD-ROM LTN485S   JKF1 PQ: 0 ANSI: 5
[    2.622195] sr0: scsi3-mmc drive: 48x/48x cd/rw xa/form2 cdda tray
[    2.623194] sr 0:0:0:0: Attached scsi CD-ROM sr0

[Code] ....

2. lsscsi output
-I installed lsscsi and here is the output:
Code: Select all# 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  -       

[Code] ....

3. force scsi scan
-I tried to use this command to force a rescan for the hdds, but nothing happened:
Code: Select allecho "- - -" > /sys/class/scsi_host/host3/scan

-no errors, but log says nothing
-tried the above with host0 - 4, same result

4. fdisk -l
Code: Select all# fdisk -l

Disk /dev/sda: 9098 MB, 9098887168 bytes
255 heads, 63 sectors/track, 1106 cylinders, total 17771264 sectors
Units = sectors of 1 * 512 = 512 bytes

[Code] ....

5. tried to specifically add one device but it didn't work:
Code: Select all# echo "scsi add-single-device 2 2 8 0" > /proc/scsi/scsi
-bash: /proc/scsi/scsi: No such file or directory

View 2 Replies View Related

Ubuntu :: USB Pen Drive Unreadable - Show Up Like SCSI

May 29, 2010

I try to use a usb pen drive. The usb pen drive show up under computer but not like a drive in geparted. When I look in the log file I find the drive
Code:
May 29 10:11:46 CQ60 kernel: [ 112.942602] scsi 6:0:0:0: Direct-Access
USBest USB2FlashStorage 0.00 PQ: 0 ANSI: 2
I do not know what this mean but it looks like the drive show up like a scsi and not usb or? I need a clue to get it work like a normal usb device.

View 4 Replies View Related

Hardware :: Scsi Device Is Not Available In Enclosure After Hot Plugging

Jan 15, 2010

One 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.

View 1 Replies View Related

General :: Detect The Scsi Device Without Restarting?

Mar 25, 2010

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 Related

Fedora :: Mount Scsi Device - Android Phone ?

Jul 15, 2011

How can i do to mount a scsi device ? it is a lg android phone ...

My dmesg shows :

View 12 Replies View Related

Ubuntu Servers :: Scsi Tape Device Not Found?

Mar 11, 2010

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

View 5 Replies View Related

CentOS 5 Hardware :: SCSI Device Not Listed In /dev - Sort It?

Dec 11, 2009

I added two scsi disk, but it is not listed in /dev. But the controller information is available from lspci code...

View 4 Replies View Related

Hardware :: SCSI Hard Disk Device Node Creation

Mar 26, 2010

I 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.

View 4 Replies View Related

Hardware :: SCSI Device Does Not Exist After Connecting Buslink 80GB Usb 1.1 Hard Drive

Jan 25, 2010

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?

View 7 Replies View Related

Debian :: SQUEEZE - Cat - /proc/scsi/scsi - No Such File Or Directory?

May 4, 2010

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 Related

General :: Non-root Access To /proc/scsi/scsi

Jun 23, 2011

Some 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

View 2 Replies View Related

Hardware :: Adding A Device To Fstab?

Dec 18, 2010

I've got a partition on this HDD I want to add to fstab. But how?

I've already read some howtos but still don't understand it.

View 1 Replies View Related

Server :: Can't Create Partition Using Fdisk

May 6, 2011

I recently expanded the RAID on an iSCSI device which is shared out to a linux server. Fdisk correctly sees the new size but it won't let me add a third partition. It complains about overlapping partitions whenever I try to add it.If I 'remove' the partition, the overlapping error goes away. The interesting thing here is that when attempting to use the default sizes to setup the partition the printed screen shows completely different results (which I can understand is why its complaining about overlapping)

I'm not sure why its not accepting the cylinder sizes I want. Anyone have any ideas as to what's wrong here?

View 9 Replies View Related

Server :: SCSI/Fiber Devices Naming?

May 12, 2010

Need help on how the scsi and multipathing works in Linux. From the docs i have read, i understand that by the use of multipathing we can assign multiple paths to a SAN partition. If there is a problem then one path will failover to other path.However, i am not clear on how linux recognizes the SAN partitions using the multipath drivers. For e.g. I have a HP Proliant server on which we have the following mounts:

Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p3 59G 11G 46G 20% /
/dev/cciss/c0d0p1 494M 27M 443M 6% /boot

[code]...

View 3 Replies View Related

Server :: SCSI I/O Error And Unstoppable Apache2 Process?

Apr 30, 2009

I currently have a massive problem with my main webserver: one of the SCSI drives where I keep my htdocs seems to have failed (sd 0:0:0:0: [sda] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK end_request: I/O error, dev sda, sector 7797601).

Since I have no backup (dumb!dumb!dumb!) of it, I tried to copy what I could on the fly, but that failed miserably. The next idea was to umount the volume and try remounting it R-O, but I have a bunch of apache2 processes that are apparently reading/writing on it and I can't seem to find any way of terminating them. I tried via init script, killall and kill -9 but they just don't respond. Until I can terminate those processes, I won't be able to unmount the drive and try saving what's left of the data.Oh and the cherry on top of the cake: the server is 1100 miles away so I can't even access it physically..Is there any way I didn't think of to get rid of those apache processes?

View 1 Replies View Related

CentOS 5 Server :: Kickstart - Scsi Controllers - Partitioning ?

Feb 27, 2011

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?

View 1 Replies View Related

CentOS 5 :: Server Crash - Restore Backup - Scsi ?

Apr 25, 2011

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]

View 1 Replies View Related

Server :: Motherboard Embeded RIAD1 - Two Disk In Fdisk -l Result?

Apr 27, 2010

I install centos 5.4 on my intel S5000vsa motherboard, and with embeded RAID1. I successfully config RAID1 in BIOS, and then I set to install centos use linux dd mode. And also successfully loaded raid drivers. In centos partition step, one disk appears. However, when centos installed and entered the system, strange result in fdisk -l.

fdisk -l
/dev/sda
...
/dev/sdb
...

Is it normal?

View 4 Replies View Related

Server :: Red Hat - Multipathing In Conjunction - Fdisk -l To Display One Lun Rather Than Displaying All 8 Paths To The Lun?

Aug 25, 2010

How to device-mapper multipathing in conjunction with fdisk. I am more of a solaris expert and now trying to grasp linux (red hat). I have a server that I plan to cluster (future assignment) which is attached to a Netapp SAN via emulex LPe11002 HBA. I have 8 paths to the LUN I created and I can see the multipath device (/dev/mapper/mpath1). Below is my multipath.conf file:

[Code]....

Question 1: When I look at fdisk -l, I can see all 8 paths to the same LUN. Although I partition /dev/mapper/mpath1, I can still see that 7 of the 8 still say "Disk /dev/sdX doesn't contain a valid partition table". I would think that all 8 would have this removed. I execute '/usr/sbin/lpfc/lun_scan all' and it doesn't work. I am looking to clean this up...what should I do? It seems weird to have to do it to all 8 paths!

Question 2: Why does my alias, 'db' not show up under /dev/mappers?

Question 3: Is there a way for fdisk -l to display one lun rather than displaying all 8 paths to the lun?

What is the standard procedure (commands) people execute when adding a new lun to a server with multipathing so it is nice and clean?

View 4 Replies View Related

Server :: Qlogic Qla 1240 Scsi Card Driver Rhel 4 Or 5?

Jun 14, 2011

Does anyone have knowledge of where I can get drivers for above card?

View 1 Replies View Related

Server :: RAID5 Refuses To Start After Yanking Drive From SCSI Bus

Mar 23, 2010

I am setting up a new server and am in the midst of testing RAID. This is an Ubuntu 9.10 server. RAID1 (/dev/md1) is spread across 12 one-terabyte SCSI disks (/dev/sdi through /dev/sdt). It has four spares configured, each of which are also one-terabyte SCSI drives (/dev/sdu through /dev/sdx). I have been following the instructions on the Linux RAID Wiki ([URL]....

I have already tested the RAID successfully by using mdadm to set a drive faulty. Automatic failover to spare and reconstruction worked like a champ. I am now testing "Force fail by hardware". Specifically, I am following the advice, "Take the system down, unplug the disk, and boot it up again." Well, I did that, and the RAID fails to start. It outright refuses to start. It doesn't seem to notice that a drive is missing. Notably, all the drive letters shift up to fill in the space left by removing a drive. The test I did was to:


[code]....

Is removing a disk from the bus a reasonable test in the first place? Meaning, is this likely to happen in a production environment by other means than a human coming by and yanking out the drive? Meaning, is there a hardware failure that would replicate this event? Because, if so, then I don't know how to recover from it.

View 1 Replies View Related

Server :: Removed Fibre Scsi Drive Shows Even After Reboot?

Apr 30, 2010

I am running fedora 8 on a Dell 2950 with a qlogic fibre channel card.is attached to a Dell/clarion AX100.I had a drive assigned to this server which had been working for approximately a year now.Recently during a power failure things turned ugly. Rebooting didn't fix things.I unassigned/reassigned the drive, rebooted, still no good.Funny thing when I unassigned the drive and reboot the system.still see /dev/sdb but no partitions and fdisk -l does not display /dev/sdb.I even did "echo 1 > /sys/block/sdb/device/delete"
and the device no longer showed in /dev, but after a reboot it is back.I pulled and reseated the fibre card, same

View 1 Replies View Related

Fedora :: MTP Device Doesn't Show Up On Amarok

Nov 13, 2010

I have a Sansa Clip + ,it works just fine in MSC mode. I wanted to give a try to the MTP mode. But it does not show up in Amarok. I have libmtp installed and mtp-detect does show up the device information.

View 6 Replies View Related

Ubuntu Installation :: Prepare Partitions Does Not Show Device?

Sep 23, 2010

I try to install 10.04 from CD Rom. At the prepare partitions step, no devices appear.Some details: - I already check the md5sum of the CD.- GParted see it and I'm able to partition it. But always nothing detected with the prepare step.- Intel P4 with 80 GB with 1GB of ram
- No windows already installed on the machine

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved