Hi Mike, So you are telling me that you have to a sort of nomenclature of all the Sun server existing, this exactly what I don't want.
And I am also using a begin script to select the drive. Cordialement, Jeremy MAURO > -----Original Message----- > From: Mike Gerdts [mailto:[email protected]] > Sent: mardi 16 mars 2010 14:23 > To: Mauro Jeremy (EXT) > Cc: [email protected] > Subject: Re: [sysadmin-discuss] Jumpstart local disk > > On Tue, Mar 16, 2010 at 8:03 AM, Mauro Jeremy (EXT) > <[email protected]> wrote: > > Hi everyone, > > > > I wonder if there is a way to determine if a disk is local and not a SAN > > device on > Solaris 10. I have a big trouble to install Solaris on local disk when the > server has > SAN device, because the "/" is install on SAN device (since they are the > first disks > in the SI_DISKLIST). Of course, the idea is not to specify for each server the > controller but just determine how to exclude SAN devices from my list of > devices > available to install Solaris 10. > > You can do "ls -l" on the /dev/dsk entries to find the physical paths > of the disks. You can use that along with some knowledge of the > topology of the system to determine which disks are internal. > > For example, in a T5120 I randomly picked these two disks: > > /dev/dsk/c1t0d0s2 -> ../../devices/p...@0/p...@0/p...@2/s...@0/s...@0,0:c > /dev/dsk/c3txxxd9s2 -> > ../../devices/p...@0/p...@0/p...@8/p...@0/p...@9/SUNW,q...@0/f...@0,0/s...@wxxx, > 9:c > > I know that the SAN devices are on the other side of a qlogic HBA and > the internal disks aren't. The second one has SUNW,qlc in the path so > I know that one is on the SAN. > > In real life, I have a configuration file that lists the paths to the > internal disks on all the server models that my jumpstart environment > needs to support. A begin script examines the hardware configuration, > the configuration file, and some other things and creates a derived > profile based on that. > > -- > Mike Gerdts > http://mgerdts.blogspot.com/ -------------------------------------------------------------------------- Ce courriel et toutes les pièces jointes sont confidentiels et peuvent être couverts par un privilège ou une protection légale. Il est établi à l’attention exclusive de ses destinataires. Toute utilisation de ce courriel non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse préalable. Toutes opinions exprimées dans ce courriel ne sauraient nécessairement refléter celle de Natixis, de ses filiales. Elles sont aussi susceptibles de modification sans notification préalable. Si vous recevez ce courriel par erreur, merci de le détruire et d’en avertir immédiatement l’expéditeur. L’Internet ne permettant pas d’assurer l’intégrité de ce courriel, Natixis décline toute responsabilité s’il a été altéré, déformé ou falsifié et chaque destinataire qui utilise ce mode de communication est supposé en accepter les risques. This email and any attachment are confidential and may be legally privileged or otherwise protected from disclosure. It is intended only for the stated addressee(s) and access to it by any other person(s) is unauthorised. Any use, dissemination or disclosure not in accordance with its purpose, either in whole or in part, is prohibited without our prior formal approval. Any opinion expressed in this email may not necessarily reflect the opinion of Natixis, its affiliates. It may also be subject to change without prior notice. If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this email. If you have received it in error, please inform us immediately and delete all copies. The Internet can not guarantee the integrity of this email therefore Natixis shall not be liable for the email if altered, changed or falsified and anyone who communicates with us by e-mail is taken to accept these risks. -------------------------------------------------------------------------- _______________________________________________ sysadmin-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss
