How to rescan scsi bus without reboot on OpenBSD


 
Thread Tools Search this Thread
Operating Systems BSD How to rescan scsi bus without reboot on OpenBSD
# 1  
Old 04-30-2011
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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

FC Luns rescan issue

Hi all we have two Rac cluster in our environment. we have asked our storage team to provide luns for adding space to our rac. Right now in one our server luns are visible but not in another. But if i see dmesg in servers i can see disk attached but not able to see them. even iostat showing... (6 Replies)
Discussion started by: sumit6in
6 Replies

2. Red Hat

Rescan for scsi

Hi All, is there a way of rescanning for newly attached SCSI without rebooting the server? any help greatly appreciated thanks in advance Kb (4 Replies)
Discussion started by: kilobyter
4 Replies

3. Red Hat

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: echo "1" > /sys/class/fc_host/host0/issue_lip echo "- - -" > /sys/class/scsi_host/host0/scan ....but this does not work on my vm. ... (3 Replies)
Discussion started by: Duffs22
3 Replies

4. Red Hat

Rescan scsi not working in Redhat 9

Hi all i am adding one more scsi hdd in my vmware testing environment with Redhat 9 . But the following commands are not working i found that these commands working on rhel 6. ls /sys/class/scsi_host echo "- - -" > /sys/class/scsi_host/host0/scan please let me know the commands for rehat... (0 Replies)
Discussion started by: Vaibhav.T
0 Replies

5. Linux

Rescan LUNs on Linux VM

Hi, I have presented a new 70GB LUN to my RedHat Linux VM server. How do I rescan for the new LUN? Thanks, Sparcman:confused: (2 Replies)
Discussion started by: sparcman
2 Replies

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

7. Solaris

SCSI Bus Reset

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

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

9. Solaris

different between soft reboot and hard reboot

Hi Guru's Can any want here could explain to me the different between soft reboot and hard reboot . Best Regards Seelan (3 Replies)
Discussion started by: seelan3
3 Replies

10. 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
Login or Register to Ask a Question
RESCAN-SCSI-BUS.SH(1)						   User Commands					     RESCAN-SCSI-BUS.SH(1)

NAME
rescan-scsi-bus.sh - script for adding and removing SCSI devices without rebooting SYNOPSIS
rescan-scsi-bus.sh [options] [host [host ...]] OPTIONS
-a, --alltargets scan all targets, not just currently existing [default: disabled] -d enable debug [default: 0] -l activates scanning for LUNs 0--7 [default: 0] -L NUM activates scanning for LUNs 0--NUM [default: 0] -w, --wide scan for target device IDs 0--15 [default: 0--7] -c enables scanning of channels 0 1 [default: 0 / all detected ones] -r, --remove enables removing of devices [default: disabled] -f, --flush flush failed multipath devices [default: disabled] -i, --issue-lip issue a FibreChannel LIP reset [default: disabled] -u, --update look for existing disks that have been remapped -s, --resize look for resized disks and reload associated multipath devices, if applicable --forcerescan rescan existing devices --forceremove remove and readd every device (DANGEROUS) --nooptscan don't stop looking for LUNs is 0 is not found --color use coloured prefixes OLD/NEW/DEL --hosts=LIST scan only host(s) in LIST --channels=LIST scan only channel(s) in LIST --ids=LIST scan only target ID(s) in LIST --luns=LIST scan only lun(s) in LIST --sync, --nosync issue a sync / no sync [default: sync if remove] --attachpq3 tell kernel to attach sg to LUN 0 that reports PQ=3 --reportlun2 tell kernel to try REPORT_LUN even on SCSI2 devices --largelun tell kernel to support LUNs > 7 even on SCSI2 devs --sparselun tell kernel to support sparse LUN numbering Host numbers may thus be specified either directly on cmd line (deprecated) or or with the --hosts=LIST parameter (recommended). LIST: A[-B][,C[-D]]... is a comma separated list of single values and ranges (No spaces allowed.) SEE ALSO
rescan-scsi-bus.sh Homepage: http://www.garloff.de/kurt/linux/#rescan-scsi sg3_utils Homepage: http://sg.danny.cz/sg rescan-scsi-bus.sh 1.57 leden 2014 RESCAN-SCSI-BUS.SH(1)