Sponsored Content
Full Discussion: Scsi bus scan
Operating Systems Linux Red Hat Scsi bus scan Post 302775135 by Duffs22 on Monday 4th of March 2013 07:06:50 AM
Old 03-04-2013
Scsi bus scan

Hi,

I have presented a LUN to a VM (RHEL 5.8) and need to scan the scsi bus in order for the OS to pick it up.

On FC attached hosts I can:

Code:
echo "1" > /sys/class/fc_host/host0/issue_lip
echo "- - -" > /sys/class/scsi_host/host0/scan



....but this does not work on my vm.

Anyone know how to get the OS pick up the new disk space without having to reboot the box?

R,
D.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Bus Error

This may belong in the C Programming forum, but here goes anyway... What would cause a bus error? I searched google for a cause, but came up with some conflicting reports... Could it be caused by disk space? A lot of the pages I found mentioned linking with the incorrect versions of the... (4 Replies)
Discussion started by: LivinFree
4 Replies

2. UNIX for Dummies Questions & Answers

SCSI bus is hung

Anyone have any ideas what could be causing me to get the error "The SCSI bus is hung. Perhaps an external device is turned off"? This is occuring when I try to boot off of my external CDROM. I have tried this CDROM on 3 different systems, tried different SCSI cables, and different terminators... (2 Replies)
Discussion started by: saucierm
2 Replies

3. Programming

BUS error

Hi! I've got a program which runs fine under Linux, but I have compiled it to run under SunOS 5.8 in a Sparc computer, and now it sometimes fails with "bus error". Ussing gdb I surfed to the error line, which is *pointer = some_vector; where some_vector is a 16 byte struct (4 integers)... (1 Reply)
Discussion started by: shesatmine
1 Replies

4. SCO

How to install UNIX 5.0.7 on an ML 330 G3 server with IDE array instead of scsi bus

My boss get a Proliant ML 330 G3 server with IDE ARRAY Bus, I try to isntall UNIX 5.0.7 on it but i't didn't detect as a hdd, I try to configure it as single logical drive and many combinations but UNIX always says taht there is no hdd, does anyone knows how to?? the boss of course won't say it... (0 Replies)
Discussion started by: jactroo
0 Replies

5. HP-UX

Need help on Bus error(coredump)

Hi all, I am quite weak in C but I need to get some work done. Hope someone can help me out. I keep getting this error when i try to run my C application in my HP-UX 10.20 machine. Some code snippet: Month(DBTime) =====This is a function which will return variable "CutOffTime" to be use... (5 Replies)
Discussion started by: Vision©
5 Replies

6. Solaris

SCSI Bus Reset

hey guys i got this in my logs what does this mean: (4 Replies)
Discussion started by: sbn
4 Replies

7. HP-UX

Bus Error

I am getting bus error when i include "#!/bin/ksh". If i remove interpreter then script is working. Can anyone explain this and how can i avoid this error? Operating System is HP-UX B.11.23 U 9000/800 1091834454 (2 Replies)
Discussion started by: anbu23
2 Replies

8. Programming

Bus error

Hi everyone, I have a GUI project and when I run it and left in idle state for a long time(there is nothing done, just opened GUI, no more actions),I get bus error after trying to do anything with it. I've tried to build it in debug mode and use gdb, but I don't get any error in debug mode.It... (3 Replies)
Discussion started by: sisi
3 Replies

9. BSD

How to rescan scsi bus without reboot on OpenBSD

Hello, My question as title, I don't know the exact command, anyone could tell me about it? Kevin (0 Replies)
Discussion started by: guixingyi
0 Replies

10. Programming

Bus Error: 10...Help please!

Hi all, I am writing a phonebook program to store names and number using a list. Here is the code for the function which allows the user to enter the name and number (where the error occurs). //THIS FUNCTION ADDS A NEW ENTRY TO THE phonebook_list void insert(void){ //variables int... (5 Replies)
Discussion started by: kdejan
5 Replies
scsimgr(8)						      System Manager's Manual							scsimgr(8)

NAME
scsimgr - manage SCSI devices and device databases SYNOPSIS
/sbin/scsimgr -option [operands...] OPTIONS
The Update Options Use the following options to update device special files and the databases: Request that the kernel scan all SCSI buses for devices. If there have been device changes on any of the buses, the on-disk database and device special files are updated to reflect the changes. Note The scan_all command should be used with caution. On systems with a large number of SCSI buses, the -scan_all option can take a long time to run and can affect the performance of other processes accessing SCSI devices. Request that the kernel scan the speci- fied bus for devices. If there have been device changes on the bus, the device special files are updated to reflect the changes. Request that the kernel scan the specified bus for a specific device. If there has been a change to the attributes of that device, the device special file for the device is updated to reflect the changes. Synchronizes the information in the device special files and the kernel in-memory database. OPERANDS
The following operands are used in many of the command options. Other operands are unique to individual options and are defined with them. The number of a bus. The number must be 0 or larger. The number of a target device. The range of the number is 0 to 15. DESCRIPTION
Note See the hwmgr(8) and dsfmgr(8) reference pages for information on utilities that supersede the scsimgr utility. The scsimgr utility automatically makes device special files for new devices. The scan options stop updating the device special files for a device when they encounter an error. EXIT STATUS
The following is the exit status when the command runs from a program: Success. Failure. FILES
Executable image. System configuration options. Contains an entry to define /scsimgr utility to boot process. SEE ALSO
Commands: hwmgr(8), init(8), MAKEDEV(8) Files: sysconfigtab(4) SCSI-2, SMALL COMPUTER SYSTEM INTERFACE - 2 (X3.131-1994) scsimgr(8)
All times are GMT -4. The time now is 11:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy