Wow, this is the fastest SUMMARY I4ve written Thanks to: Hermann Hofer, Hermann.Hofer at_ wige.com (special thanks) Michael Schneider, michael.schneider at_ calispera.com John England, john_w_england at_ yahoo.com Grzegorz Bakalarski, G.Bakalarski at_ icm.edu.pl Helmut Kreft, kreft at_ belwue.de Solution: 1.-on Infortrend you should set in: Configuration parameters -> Host-side Parameters -> Host Cylinder/Head/Sector Mapping Configuration -> Sector Ranges - Variable -> Head Ranges - 64 Heads -> Cylinder Ranges - < 32768 Cylinders 2.- modify /kernel/drv/sd.conf to name="sd" class="scsi" target=0 lun=1; (NO atapi there for SCSI!!) 3.- "boot -r" or "devfsadm" 4.- DESTROY actual label (old cylinder size) with: $ dd if=/dev/zero of=/dev/rdsk/c1t0d0s2 bs=512 count=10 (do also with c1t0d1s2) Please be VERY carfully, you can destroy your system if you write to the system disk or any data disk!! 5.- Partition the disk using "format" and "label" them. 6.- NEWFS: it saying it can't proceed with default parameters. But if you have big files so the 12KB per inode is OK for you, you may state eg: newfs -i 12000 -f 8192 /dev/dsk...... If you need more files you should change size of your luns. If your luns are below about 500GB there should be no problems with default parameters for newfs ... (in your case 4 luns 400GB each) For 1 Terabyte use: newfs -v -i 65536 -f 8192 /dev/rdsk/c1t1d0s0 7.- mount /dev/dsk/c1t0d0s0 /my_new_big_disk Thanks a lot guys, Marcelo Maraboli wrote: > Hi all. > > I just bought a new disk array (Infortrend Eonstor A12U-G1410 SCSI 3) > and connected it to a Solaris 8 220R box. > > I am having trouble making Solaris recognize and format the partitions > of this array. The array has 2 LUNs, 800Gb each. > > at PROM level, "probe-scsi-all" detects both LUNs perfectly. > controller 1 (3,1) > - target 0 > - unit 0 disk IFT A12U-G1410.... > - unit 1 disk IFT A12U-G1410.... > - target 9 > - unit 0 disk SEAGATE > controller 0 (3,0) > - target 0 > - unit 0 disk SEAGATE > - target 1 > - unit 0 disk SEAGATE > - target 6 > - unit 0 CD-DVD > > but Solaris didn4t see them at "format" level, so Searching for answers > I found > > http://sunportal.sunmanagers.org/pipermail/summaries/2004-December.txt > > which lead me to install SUNWqus* drivers for > StorEdge PCI Dual Ultra3 SCSI Host Adapter v1.0 (http://www.sun.com/download/index.jsp?tab=2#S) > > Back to the format level, only the first LUN is recognized: > AVAILABLE DISK SELECTIONS: > 0. c0t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> > /pci@1f,4000/scsi@3/sd@0,0 > 1. c0t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> > /pci@1f,4000/scsi@3/sd@1,0 > --> 2. c1t0d0 <IFT-A12U-G1410-331Q cyl 50589 alt 2 hd 255 sec 127> > /pci@1f,4000/scsi@3,1/sd@0,0 > 3. c1t9d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> > /pci@1f,4000/scsi@3,1/sd@9,0 > > partition> pr > Current partition table (original): > Total disk cylinders available: 50589 + 2 (reserved cylinders) > > Part Tag Flag Cylinders Size Blocks > 0 root wm 0 - 50588 781.21GB (50589/0/0) 1638324765 > 1 unassigned wu 0 0 (0/0/0) 0 > 2 backup wu 0 - 50588 781.21GB (50589/0/0) 1638324765 > 3 unassigned wm 0 0 (0/0/0) 0 > 4 unassigned wm 0 0 (0/0/0) 0 > 5 unassigned wm 0 0 (0/0/0) 0 > 6 unassigned wm 0 0 (0/0/0) 0 > 7 unassigned wm 0 0 (0/0/0) 0 > > I try to format the available partition from LUN 0 and this > is what I get: > root@aconcagua:~$ newfs -v /dev/rdsk/c1t0d0s0 > newfs: construct a new file system /dev/rdsk/c1t0d0s0: (y/n)? y > mkfs -F ufs /dev/rdsk/c1t0d0s0 1638324765 127 255 8192 1024 251 1 90 8192 t 0 -1 8 127 > Minimum bytes per inode is 11992 > With 32385 sectors per cylinder, minimum cylinders per group is 16 > This requires the fragment size to be changed from 1024 to 8192 > Please re-run mkfs with corrected parameters > > root@aconcagua:~$ newfs -v -f 8192 /dev/rdsk/c1t0d0s0 > newfs: construct a new file system /dev/rdsk/c1t0d0s0: (y/n)? y > mkfs -F ufs /dev/rdsk/c1t0d0s0 1638324765 127 255 8192 8192 251 1 90 8192 t 0 -1 8 127 > Minimum bytes per inode is 11992 > Unable to make filesystem fit with the given constraints > Please re-run mkfs with corrected parameters > root@aconcagua:~$ > > So, I cannot see both LUNs and can4t even format the one I see. > > I tried adding this line to /kernel/drv/sd.conf > name="sd" class="scsi" class_prop="atapi" > target=0 lun=1; > > but only got a message in /var/adm/messages, but no new > disk at "format" level (sd15 is LUN 0, sd59 is LUN 1) > > May 12 17:54:39 aconcagua scsi: [ID 193665 kern.info] sd15 at glm1: target 0 lun 0 > May 12 17:54:39 aconcagua genunix: [ID 936769 kern.info] sd15 is /pci@1f,4000/scsi@3,1/sd@0,0 > May 12 17:54:39 aconcagua scsi: [ID 365881 kern.info] <IFT-A12U-G1410-331Q cyl 50589 alt 2 hd 255 sec 127> > > May 12 17:54:39 aconcagua scsi: [ID 193665 kern.info] sd59 at glm1: target 0 lun 1 > May 12 17:54:39 aconcagua genunix: [ID 936769 kern.info] sd59 is /pci@1f,4000/scsi@3,1/sd@0,1 > May 12 17:54:39 aconcagua scsi: [ID 107833 kern.warning] WARNING: /pci@1f,4000/scsi@3,1/sd@0,1 (sd59): > May 12 17:54:39 aconcagua corrupt label - wrong magic number > May 12 17:54:39 aconcagua scsi: [ID 365881 kern.info] Vendor 'IFT', product 'A12U-G1410', 1776635904 512 byte blocks > > any help/advice ?? please. > > best regards, -- Marcelo Maraboli Rosselott Jefe Area de Redes y Comunicaciones (Network & UNIX Systems Engineer) Ingeniero Civil Electronico (Electronic Engineer) Direccion Central de Servicios Computacionales (DCSC) Universidad Tecnica Federico Santa Maria, Chile. phone: +56 32 654237 http://elqui.dcsc.utfsm.cl/ _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Fri May 13 10:56:23 2005
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:46 EST