HPE EVA Storage
1753522 Members
6764 Online
108795 Solutions
New Discussion юеВ

Re: Adding new SAN disk

 
Neil Watson
Advisor

Adding new SAN disk

Our SAN master has presented a new disk to Red Hat Linux AS4-64bit host with Qlogic controllers. I have been able to locate the disk using:
To cause the qla2xxx driver to rescan:

echo 1 > /sys/class/fc_host/host1/issue_lip

To update Linux's known devices:

echo "- - -" > /sys/class/scsi_host/host1/scan

The new disk is found from cat /proc/partitions:

8 64 314572800 sde
8 80 314572800 sdf

There is currently one path so only sdf works. I used fdisk to partition /dev/sdf. Fdisk finishes without error but the partition is never created. /dev/sdf1 does not exist. Using fdisk again shows an empty partition table. I also tried using the hp_rescan utility but, there were no changes. How can I add this partition without a reboot?
2 REPLIES 2
Steven Clementi
Honored Contributor

Re: Adding new SAN disk

Make sure the disk is not write protected on the Storage Array side.


All you should need to do is a "hp_rescan -a" to get the OS to see the new disks.

Can you attach the output from ... fdisk -l


Steven
Steven Clementi
HP Master ASE, Storage, Servers, and Clustering
MCSE (NT 4.0, W2K, W2K3)
VCP (ESX2, Vi3, vSphere4, vSphere5, vSphere 6.x)
RHCE
NPP3 (Nutanix Platform Professional)
Neil Watson
Advisor

Re: Adding new SAN disk

[root@hadrian hp_fibreutils]# fdisk -l

Disk /dev/cciss/c0d0: 72.8 GB, 72833679360 bytes
255 heads, 63 sectors/track, 8854 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 1895 15221556 83 Linux
/dev/cciss/c0d0p2 1896 3790 15221587+ 83 Linux
/dev/cciss/c0d0p3 3791 5685 15221587+ 83 Linux
/dev/cciss/c0d0p4 5686 8854 25454992+ 5 Extended
/dev/cciss/c0d0p5 5686 7580 15221556 83 Linux
/dev/cciss/c0d0p6 7581 8854 10233373+ 82 Linux swap

Disk /dev/sdf: 322.1 GB, 322122547200 bytes
255 heads, 63 sectors/track, 39162 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdf doesn't contain a valid partition table