Rescan LUNs on Linux VM


 
Thread Tools Search this Thread
Operating Systems Linux Rescan LUNs on Linux VM
# 1  
Old 12-16-2010
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,

SparcmanSmilie
# 2  
Old 12-16-2010
Without knowing too much about your setup, I normally do something like:

Code:
for H in /sys/class/scsi_host/*; do
  echo "- - -" > /sys/class/scsi_host/$H/scan
done

These 2 Users Gave Thanks to Scott For This Post:
# 3  
Old 12-16-2010
Another option would be to use the script "rescan-scsi-bus.sh" which can be downloaded free (gratis) from the internet.
These 2 Users Gave Thanks to mark54g For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Are these SAN LUNs really not mounted?

Hello everyone. I've been asked to check if something is wrong with the storage setup on these two SunOS 5.10 machines, which are being used as database servers with Oracle RAC configuration. Seems to be that the DB guy is complaining, telling that they are nearly out of space, which sounds... (4 Replies)
Discussion started by: kacareu
4 Replies

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

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

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

Scan For new LUNS

In Solaris the administrator has to update /kernel/drv/sd.conf file to tell the sd driver to scan for a broader range of scsi devices. Can someone please tell me what file needs to be update in Redhat Linux 5 for the same. Second part of the question is WWN for HBA's can be found (atleast in my... (1 Reply)
Discussion started by: Tirmazi
1 Replies

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

7. Solaris

luns

how to create luns plzzzzzz (1 Reply)
Discussion started by: nsusheelgoud
1 Replies

8. AIX

LUNS in AIX

Hi team, 2E493F13 0612155010 P H dac0 ARRAY OPERATION ERROR 2E493F13 0612155010 P H dac0 ARRAY OPERATION ERROR 2E493F13 0612155010 P H dac0 ARRAY OPERATION ERROR 2E493F13 0612154910 P H dac0 ARRAY OPERATION ERROR 2E493F13 0612154910 P H dac0 ... (4 Replies)
Discussion started by: kkeng808
4 Replies

9. AIX

creating luns vg

Hi All, I have these config on my old ssa. Vg4 22GB (pps 256) Vg2 88GB (pps 128) Vg3 22GB (pps 256) Vg8 88GB (pps 128) Vg13 106GB (pps 32) Vg12 106GB (pps 32) Vg10 54GB (pps 64) Vg11 54GB (pps 64) When I create a lun on my san do I need to specify the same pps. If yes,... (1 Reply)
Discussion started by: itik
1 Replies

10. HP-UX

HP LV's for Hitachin Luns

Hi, This is my first post and I hope I can present my questions the right way. I am going to be asked to create logical volumes for a Hitachi SAN device on a New HP 11 server. Currently, They are running their data on a EMC (prod server). They are looking to convert the data and filesystems over to... (3 Replies)
Discussion started by: Uni-dev
3 Replies
Login or Register to Ask a Question