---------- Forwarded message ----------
Date: Dec 5, 2007 4:42 PM
Subject: [ug-nycosug] noob question
To: [EMAIL PROTECTED]


Is there a traditional Solaris way to send a SCSI disk the STOP UNIT
command?  It seems like most OS's can do this, but the method is
usually ugly, ex.:

FreeBSD:
camcontrol stop da0

NetBSD:
scsictl /dev/rsd0c stop

OpenBSD:
scsi -f /dev/rsd0c -c "1b 0 0 0 0 0"

Linux:
sdparm --command=stop /dev/sda

I found I can do it fairly cleanly by building the Linux 'sdparm'
tool, which uses uscsi(7i), but I'm wondering if there's a native
Solaris tool for the job.

--
READ CAREFULLY. By reading this fortune, you agree, on behalf of your
employer,
to release me from all obligations and waivers arising from any and all
NON-NEGOTIATED  agreements, licenses, terms-of-service, shrinkwrap,
clickwrap,
browsewrap, confidentiality, non-disclosure, non-compete and acceptable use
policies ("BOGUS AGREEMENTS") that I have entered into with your employer,
its
partners, licensors, agents and assigns, in perpetuity, without prejudice to
my
ongoing rights and privileges. You further represent that you have the
authority to release me from any BOGUS AGREEMENTS on behalf of your
employer.

_______________________________________________
ug-nycosug mailing list
[EMAIL PROTECTED]
http://mail.opensolaris.org/mailman/listinfo/ug-nycosug


-- 
- Brian Gupta

http://opensolaris.org/os/project/nycosug/

Attachment: pgpAsRdYF1W46.pgp
Description: PGP signature

_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to