Sponsored Content
Full Discussion: OEL5.5 hot add disk
Operating Systems Linux Red Hat OEL5.5 hot add disk Post 302592279 by Tommyk on Monday 23rd of January 2012 11:43:26 AM
Old 01-23-2012
OEL5.5 hot add disk

Hi All,

I have an issue when trying to hot-add a SAN disk to an oracle enterprise linux 5.5 server.

The storage array we are using is an HP 24000, we have no issues with the disk usage for both ASM and LVM setup, it is just a simple matter of not being able to scan for new disk when it is added without a reboot.

We have tried:
Code:
scan "- - -" > /sys/class/scsi_host/host(0 or 1)/scan

which errors with the following message:
Code:
unexpected response from lun 142, scan aborted

lun 142 happens to be the new added disk.

And also we have found a script called rescan_scsi_bus.sh, this runs successfully but does not add any new scsi devices.

I have a feeling on a reboot the scan is forced while loading the qla2xxx module, however we cannot remove the module and re-add it during server running time as this comes up with a "Fatal: module is in use" error message.

We have also tried to restart the multipathing deamon to see if the disk gets picked up, and also to run xpinfo, neither of which seem to see the disk.

I have raised a call with oracle support and have now been waiting 3 weeks without a response, however if i do get a useful reply i will post it here.

Cheers,
Tom
 

10 More Discussions You Might Find Interesting

1. What is on Your Mind?

Too Hot Here

Officially, we had high of 96°F with a relative humidity of 52% here in Rockville Md today. But my car's thermometer said the outside temp was 110° when I first got in this afternoon. After driving for 30 minutes it cooled down to 103°. I actually have a nasty burn on my hand just from leaning... (19 Replies)
Discussion started by: Perderabo
19 Replies

2. Linux

Need suggestions before install OEL5.0 on IBM3400

Hi, I need to install Oracle Enterprise Linux 5.0 on IBM3400.Before start it,I expect your valuable suggestions regarding partition size...etc. This server is having 146 GB of hard disk and 4GB of RAM.I need to create 15 restricted users on this server.These 15 users will access their folders... (1 Reply)
Discussion started by: masatheesh
1 Replies

3. Solaris

( VxVM ) How to add the removed disk back to previous disk group

Previously , i remove the disk by #vxdg -g testdg -k rmdisk testdg02 But i got error when i -k adddisk bash-2.03# vxdisk list DEVICE TYPE DISK GROUP STATUS c0t0d0s2 auto:none - - online invalid c0t1d0s2 auto:none ... (1 Reply)
Discussion started by: waibabe
1 Replies

4. AIX

how to hot remove/add a tape

hi all :) i'd like to remove a broken scsi tape device from a system p5 520. it is the only device on the external scsi hookup. then i would like to add a new scsi tape device (same model). is this, and if - how ?, doable without rebooting? (using aix 5.3) best regards, deuter (2 Replies)
Discussion started by: deuter
2 Replies

5. Solaris

Disk Storage Need to Add more Disk

Hi, Anyone can help me, just want to confirm, if possible adding a disk storage that we have a RAWDATA with +ASM in our database. If possible, what would you recommend "workaround used" from us to do and the preparation. And also how long the downtime will take. Our disk continuous to grow,... (0 Replies)
Discussion started by: fpalero
0 Replies

6. Red Hat

hot-add disk in oracle enterprise linux 5.5

Hi all, I have an Oracle Enterprise Linux 5.5 server which is a virtual guest on a vSphere host. I have provisioned 500GB disk space from SAN. I then migrated the VM from a 200GB disk onto the new 500GB disk. I then increased the disk space allocated to the VMware to the maximum size of... (7 Replies)
Discussion started by: Tommyk
7 Replies

7. AIX

IBM SAN STORAGE HOT SPARE DISK

Hello, I have DS4000 IBM SAN Storage ( aka FastT Storage ) One of my disks has failed and I had a hot spare disk covering all the arrays. As the disk failed, immediately the hotspare disk took over the failed disk ( see the JPEG in the attachment ) My Question: How can I make the hotspare... (1 Reply)
Discussion started by: filosophizer
1 Replies

8. UNIX for Advanced & Expert Users

Error after first boot OEL5.8

Server Model HP Proliant DL380P, Gen 8 Raid Controller= HP smart Array P420i Operating system Installation OEl5.8 On first boot after OS installation ERROR: Red Hat nash Version 5.119.6 starting -300.10.1.el5uek)’ Mounting proc Filesystem Reading all physical volume this may take a... (0 Replies)
Discussion started by: sohail Jafferi
0 Replies

9. Red Hat

Error after first boot OEL5.8

Server Model HP Proliant DL380P, Gen 8 Raid Controller= HP smart Array P420i Operating system Installation OEl5.8 On first boot after OS installation ERROR: Red Hat nash Version 5.119.6 starting -300.10.1.el5uek)' Mounting proc Filesystem Reading all physical volume this may take... (1 Reply)
Discussion started by: sohail Jafferi
1 Replies

10. SuSE

Hot-add memory to SuSE / VMware virtual server

Hi, Here is the issue. Some more memory has been added from vCenter to the virtual machine. From the virtual machine running SuSE 11 SP3. # modprobe acpiphp # modprobe acpi-memhotplug # grep -v online /sys/devices/system/memory/*/state # It looks like there is no offline memory, but free... (1 Reply)
Discussion started by: aixlover
1 Replies
radisk(8)						      System Manager's Manual							 radisk(8)

NAME
radisk - Digital Storage Architecture (DSA) disk maintenance program SYNOPSIS
/sbin/radisk -c LBN length special /sbin/radisk -e special /sbin/radisk -n special /sbin/radisk -r LBN special /sbin/radisk -s LBN length special OPTIONS
The following options can be used with radisk: Clears a forced error indicator on the range of specified LBNs. The forced error condition indicates that the data in the disk block is bad. The disk block is good, but the data can not be read without getting an error detection code (EDC) error. This option causes the forced error condition to be removed. After the forced error indicator is cleared, the EDC error is not reported nor will the data be marked as bad. The data should be restored either by manual methods or with the restore command. The radisk command affects the integrity of the data on a disk and should be followed by a file system restore if data is affected. Sets the exclusive access attribute associated with the specified disk. This attribute is provided by multihost controllers to restrict access to a disk to one host. The radisk command returns a failure status if the disk is already exclusively associated with another host or the underlying controller does not provide multihost support. If the command is issued to a disk that is currently mounted and the command fails, the disk is no longer on line to this host. For this reason the -e option should not be issued to a disk that is mounted. Clears the exclusive access attribute associated with the specified disk. If the controller provides multihost support and the exclusive access attribute is not set for a particular disk, it would be possible for the disk to be accessed by more than one host. The radisk command returns a failure status if the disk is not currently and exclusively associated with this host or the underlying controller does not pro- vide multihost support. Replaces a block on the disk specified by LBN. See RESTRICTIONS. Starts a scan for bad blocks on the specified area on a disk. Bad blocks are disk blocks that have data transfer errors to the extent that they cannot be relied on. When a bad block is found, it is replaced and the bad block's LBN is reported. The LBN specified with the -s option can be 0 to indicate the first block in the specified partition. If 0 is specified, however, the program starts searching from the first block of the partition. The -s option accepts any valid partition on the disk. This allows any partition to be scanned without scanning the entire disk and ensures that the specified partition is free of bad blocks. As an example, /dev/rdisk/dsk0h indicates the h partition of the boot disk, 0. DESCRIPTION
The radisk Digital Storage Architecture (DSA) disk maintenance program allows you to maintain DSA disk devices. The radisk command must be used on unmounted disk partitions to ensure correct results. The LBN is a decimal number that represents the logical block number as reported in the errorlog file. The LBN is the actual disk block number starting from the beginning of the disk. The length is a decimal number that indicates how many (512 byte) blocks to process. The length specified can be -1 to indicate the last block of the specified partition. The special file specified is used with -c, -e, -n, and -r options and indicates an unmounted c partition of a character device special file. RESTRICTIONS
You must be in single-user mode when using the -c, -r, and -s options of the radisk program. If you are in multiuser mode, radisk hangs the system and cannot be killed. If this happens, you must reboot. The -r option is supported only with those DSA disks which use host-initiated dynamic bad block replacement. The -e and -n options are only supported on controllers that provide multi-host support. These options are only supported on HSC Version 5.00 or later. ERRORS
The radisk program generates messages when the user is not privileged, when the LBN is not in the specified partition, and when the length exceeds the size of the partition. SEE ALSO
Commands: disklabel(8), mount(8), restore(8) Networking: ra(7) radisk(8)
All times are GMT -4. The time now is 09:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy