Hi,
How do I safely remove an external SCSI device from a Sun box running
Solaris 10 without powering the machine off?
I had attached an external DVD drive to my sun server so I could install
Solaris 10 on it, and now that that's done, I need the drive elsewhere.
In short, I'm looking for a Solaris equivalent to
echo "scsi remove-single-device 1 0 5 0" > /proc/scsi/scsi
under linux.
Guido
|
|
0
|
|
|
|
Reply
|
Guido
|
1/21/2009 2:41:12 PM |
|
Guido Winkelmann <guido.winkelmann@pop-hannover.net> writes:
> How do I safely remove an external SCSI device from a Sun box running
> Solaris 10 without powering the machine off?
>
> I had attached an external DVD drive to my sun server so I could install
> Solaris 10 on it, and now that that's done, I need the drive elsewhere.
Have you looked at cfgadm?
> In short, I'm looking for a Solaris equivalent to
>
> echo "scsi remove-single-device 1 0 5 0" > /proc/scsi/scsi
Wow, that's brutal.
--
James Carlson, Solaris Networking <james.d.carlson@sun.com>
Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
|
|
0
|
|
|
|
Reply
|
James
|
1/21/2009 3:56:16 PM
|
|
James Carlson <james.d.carlson@sun.com> wrote:
> Guido Winkelmann <guido.winkelmann@pop-hannover.net> writes:
>> How do I safely remove an external SCSI device from a Sun box running
>> Solaris 10 without powering the machine off?
>>
>> I had attached an external DVD drive to my sun server so I could install
>> Solaris 10 on it, and now that that's done, I need the drive elsewhere.
>
> Have you looked at cfgadm?
>
>> In short, I'm looking for a Solaris equivalent to
>>
>> echo "scsi remove-single-device 1 0 5 0" > /proc/scsi/scsi
>
> Wow, that's brutal.
In all fairness, it's about as stupid as the steps to change speed or
duplex of a network interface under solaris.
|
|
0
|
|
|
|
Reply
|
Cydrome
|
1/21/2009 5:50:02 PM
|
|
Cydrome Leader wrote:
> James Carlson <james.d.carlson@sun.com> wrote:
>> Guido Winkelmann <guido.winkelmann@pop-hannover.net> writes:
>>> How do I safely remove an external SCSI device from a Sun box running
>>> Solaris 10 without powering the machine off?
>>>
>>> I had attached an external DVD drive to my sun server so I could install
>>> Solaris 10 on it, and now that that's done, I need the drive elsewhere.
>> Have you looked at cfgadm?
>>
>>> In short, I'm looking for a Solaris equivalent to
>>>
>>> echo "scsi remove-single-device 1 0 5 0" > /proc/scsi/scsi
>> Wow, that's brutal.
>
> In all fairness, it's about as stupid as the steps to change speed or
> duplex of a network interface under solaris.
>
How about just removing the drive and then doing a
"boot -r"
?
|
|
0
|
|
|
|
Reply
|
Richard
|
1/21/2009 6:50:27 PM
|
|
Richard B. Gilbert wrote:
> Cydrome Leader wrote:
>> James Carlson <james.d.carlson@sun.com> wrote:
>>> Guido Winkelmann <guido.winkelmann@pop-hannover.net> writes:
>>>> How do I safely remove an external SCSI device from a Sun box running
>>>> Solaris 10 without powering the machine off?
>>>>
>>>> I had attached an external DVD drive to my sun server so I could
>>>> install Solaris 10 on it, and now that that's done, I need the drive
>>>> elsewhere.
>>> Have you looked at cfgadm?
[...]
>>
>
> How about just removing the drive and then doing a
> "boot -r"
> ?
I was hoping for a solution that doesn't require a reboot. I don't
absolutely need that machine to keep running, but since I was hoping to use
Solaris on a production server some time in the future, I thought I might
as well learn how SCSI hotplugging works in Solaris, while I'm at it.
|
|
0
|
|
|
|
Reply
|
Guido
|
1/21/2009 6:58:30 PM
|
|
On 01/21/09 13:58, Guido Winkelmann wrote:
> Richard B. Gilbert wrote:
>
>> Cydrome Leader wrote:
>>> James Carlson<james.d.carlson@sun.com> wrote:
>>>> Guido Winkelmann<guido.winkelmann@pop-hannover.net> writes:
>>>>> How do I safely remove an external SCSI device from a Sun box running
>>>>> Solaris 10 without powering the machine off?
>>>>>
>>>>> I had attached an external DVD drive to my sun server so I could
>>>>> install Solaris 10 on it, and now that that's done, I need the drive
>>>>> elsewhere.
>>>> Have you looked at cfgadm?
> [...]
>> How about just removing the drive and then doing a
>> "boot -r"
>> ?
>
> I was hoping for a solution that doesn't require a reboot. I don't
> absolutely need that machine to keep running, but since I was hoping to use
> Solaris on a production server some time in the future, I thought I might
> as well learn how SCSI hotplugging works in Solaris, while I'm at it.
How about /usr/sbin/devfsadm -vC
|
|
0
|
|
|
|
Reply
|
Bill
|
1/22/2009 10:07:36 AM
|
|
Guido Winkelmann schrieb:
> Hi,
>
> How do I safely remove an external SCSI device from a Sun box running
> Solaris 10 without powering the machine off?
>
> I had attached an external DVD drive to my sun server so I could install
> Solaris 10 on it, and now that that's done, I need the drive elsewhere.
>
> In short, I'm looking for a Solaris equivalent to
>
> echo "scsi remove-single-device 1 0 5 0" > /proc/scsi/scsi
>
> under linux.
>
> Guido
man cfgadm_scsi
e.g.
$ cfgadm -x remove_device c3::dsk/c3t4d0
HTH,
Thomas
|
|
0
|
|
|
|
Reply
|
Thomas
|
1/22/2009 10:41:02 AM
|
|
Thomas Maier-Komor wrote:
> Guido Winkelmann schrieb:
>> Hi,
>>
>> How do I safely remove an external SCSI device from a Sun box running
>> Solaris 10 without powering the machine off?
>>
>> I had attached an external DVD drive to my sun server so I could install
>> Solaris 10 on it, and now that that's done, I need the drive elsewhere.
>>
>> In short, I'm looking for a Solaris equivalent to
>>
>> echo "scsi remove-single-device 1 0 5 0" > /proc/scsi/scsi
>>
>> under linux.
>>
>> Guido
>
> man cfgadm_scsi
>
> e.g.
> $ cfgadm -x remove_device c3::dsk/c3t4d0
>
>
> HTH,
> Thomas
Also worth noting from the man page:
WARNINGS
The connectors on some SCSI devices do not conform to SCSI
hotplug specifications. Performing hotplug operations on
such devices can cause damage to the hardware on the SCSI
bus. Refer to your hardware manual for additional informa-
tion.
Personally, I would take the power off if at all possible.
--
I respectfully request that this message is not archived by companies as
unscrupulous as 'Exchange Experts'. In case you are unaware,
'Exchange Experts' take questions posted on the web and try to find
idiots stupid enough to pay for the answers, which were posted freely
by others. They are leeches.
|
|
0
|
|
|
|
Reply
|
Dave
|
1/22/2009 12:32:03 PM
|
|
On Jan 21, 5:50=A0pm, Cydrome Leader <prese...@MUNGEpanix.com> wrote:
> In all fairness, it's about as stupid as the steps to change speed or
> duplex of a network interface under solaris.
Other than the (regrettably common, I agree) case of misconfigured
switches, when would you want to do this? "Damn, my interface has
autonegotiated 100/full again, that's way too fast, I must set it back
to 10/half".
--tim
|
|
0
|
|
|
|
Reply
|
Tim
|
1/22/2009 3:29:38 PM
|
|
Tim Bradshaw <tfb+google@tfeb.org> wrote:
> On Jan 21, 5:50?pm, Cydrome Leader <prese...@MUNGEpanix.com> wrote:
>
>> In all fairness, it's about as stupid as the steps to change speed or
>> duplex of a network interface under solaris.
>
> Other than the (regrettably common, I agree) case of misconfigured
> switches, when would you want to do this? "Damn, my interface has
It's not switches that are wrong, it's always sun sparc based hardware and
the intense desire for 100/half and other stupid stuff like that.
amusingly, any machine made by SUN that uses pro/1000 NICs works just fine
with autonegotiate, on the same switches or cables.
I've never seen any other OS fail so hard at autonegotiate.
As for switches, take your pick of cisco 4000, 2900, 3500 or 3750 series.
It's always sparc based stuff that doesn't work right. The ce cards seem a
bit better than hme, but they're all fairly awful.
|
|
0
|
|
|
|
Reply
|
Cydrome
|
1/22/2009 4:31:45 PM
|
|
Tim Bradshaw wrote:
> On Jan 21, 5:50 pm, Cydrome Leader <prese...@MUNGEpanix.com> wrote:
>
>> In all fairness, it's about as stupid as the steps to change speed or
>> duplex of a network interface under solaris.
>
> Other than the (regrettably common, I agree) case of misconfigured
> switches, when would you want to do this? "Damn, my interface has
> autonegotiated 100/full again, that's way too fast, I must set it back
> to 10/half".
>
> --tim
There is probably STILL some antique hardware in service that cannot
properly negotiate speed/duplex. Back in the late 1990s/early 2000s it
was quite common to have to force both ends of the link to 100/Full
Duplex. ISTR it was something to do with an ambiguity in the standard
that Cisco Systems interpreted one way and almost everyone else
interpreted the other way.
|
|
0
|
|
|
|
Reply
|
Richard
|
1/22/2009 4:37:14 PM
|
|
Cydrome Leader wrote:
> Tim Bradshaw <tfb+google@tfeb.org> wrote:
>> On Jan 21, 5:50?pm, Cydrome Leader <prese...@MUNGEpanix.com> wrote:
>>
>>> In all fairness, it's about as stupid as the steps to change speed or
>>> duplex of a network interface under solaris.
>> Other than the (regrettably common, I agree) case of misconfigured
>> switches, when would you want to do this? "Damn, my interface has
>
> It's not switches that are wrong, it's always sun sparc based hardware and
> the intense desire for 100/half and other stupid stuff like that.
>
> amusingly, any machine made by SUN that uses pro/1000 NICs works just fine
> with autonegotiate, on the same switches or cables.
>
> I've never seen any other OS fail so hard at autonegotiate.
>
> As for switches, take your pick of cisco 4000, 2900, 3500 or 3750 series.
> It's always sparc based stuff that doesn't work right. The ce cards seem a
> bit better than hme, but they're all fairly awful.
>
My SPARC stuff with the HME a/k/a "Happy Meal" interface works just fine
at 100 full talking to my Linksys (Cisco consumer brand) router/switch.
I don't recall that we had any special problems with Sun hardware at
work. Where the Sun stuff didn't work right, the PC/Windows systems had
similar problems. The autonegotiation is done at hardware/firmware
levels. Just plug it in and it's SUPPOSED to work something like this:
Computer: "I can do 100 full duplex"
Switch: "I'm happy with 100/full"
or:
Computer "I can do 100 full duplex"
Switch: What???????
Computer: "Okay, how about 10 full duplex?"
Switch: "I'm happy with 10/full"
I think it's actually a little more complicated than that, starting at
100/full, then 100/half, then 10/full and 10/half. Even more
complicated now because gigabit ethernet has now been added to the mix
though I don't know how widespread it has become. My hopelessly old
fashioned hardware is all 10/100.
|
|
0
|
|
|
|
Reply
|
Richard
|
1/22/2009 7:33:13 PM
|
|
On 2009-01-22, Dave <foo@coo.com> wrote:
> WARNINGS
> The connectors on some SCSI devices do not conform to SCSI
> hotplug specifications. Performing hotplug operations on
> such devices can cause damage to the hardware on the SCSI
> bus. Refer to your hardware manual for additional informa-
> tion.
>
>
> Personally, I would take the power off if at all possible.
Seconded, thirded and quadrupled. On both ends.
-is
|
|
0
|
|
|
|
Reply
|
Ignatios
|
1/26/2009 2:33:25 PM
|
|
On Jan 22, 4:31=A0pm, Cydrome Leader <prese...@MUNGEpanix.com> wrote:
> It's not switches that are wrong, it's always sun sparc based hardware an=
d
> the intense desire for 100/half and other stupid stuff like that.
>
Which specific Sun HW gets autonegotiation wrong?
|
|
0
|
|
|
|
Reply
|
Tim
|
1/26/2009 7:50:49 PM
|
|
Tim Bradshaw <tfb+google@tfeb.org> wrote:
> On Jan 22, 4:31?pm, Cydrome Leader <prese...@MUNGEpanix.com> wrote:
>
>> It's not switches that are wrong, it's always sun sparc based hardware and
>> the intense desire for 100/half and other stupid stuff like that.
>>
>
> Which specific Sun HW gets autonegotiation wrong?
anything with the ultra 60 or 80 boards.
anything with a qfe card will probably be wrong as well.
You can't honestly be so clueluess that you've never heard of this
extremely well document and shitty behavior?
|
|
0
|
|
|
|
Reply
|
Cydrome
|
1/26/2009 8:52:26 PM
|
|
Cydrome Leader wrote:
> Tim Bradshaw <tfb+google@tfeb.org> wrote:
>> On Jan 22, 4:31?pm, Cydrome Leader <prese...@MUNGEpanix.com> wrote:
>>> It's not switches that are wrong, it's always sun sparc based hardware
>>> and the intense desire for 100/half and other stupid stuff like that.
>>
>> Which specific Sun HW gets autonegotiation wrong?
>
> anything with the ultra 60 or 80 boards.
I've been using Ultra 60s for some time now, and at least some of the time
using Solaris 10, and I have not seen any such problems...
|
|
0
|
|
|
|
Reply
|
Guido
|
1/29/2009 3:28:35 PM
|
|
Guido Winkelmann <guido.winkelmann@pop-hannover.net> wrote:
> Cydrome Leader wrote:
>
>> Tim Bradshaw <tfb+google@tfeb.org> wrote:
>>> On Jan 22, 4:31?pm, Cydrome Leader <prese...@MUNGEpanix.com> wrote:
>>>> It's not switches that are wrong, it's always sun sparc based hardware
>>>> and the intense desire for 100/half and other stupid stuff like that.
>>>
>>> Which specific Sun HW gets autonegotiation wrong?
>>
>> anything with the ultra 60 or 80 boards.
>
> I've been using Ultra 60s for some time now, and at least some of the time
> using Solaris 10, and I have not seen any such problems...
have you seen a submarine sink?
|
|
0
|
|
|
|
Reply
|
Cydrome
|
1/29/2009 4:27:05 PM
|
|
|
16 Replies
537 Views
(page loaded in 0.179 seconds)
Similiar Articles: How to safely remove an external SCSI device? - comp.sys.sun.admin ...Hi, How do I safely remove an external SCSI device from a Sun box running Solaris 10 without powering the machine off? I had attached an external DV... Attaching SCSI devices: PC Card or USB adapter? - comp.laptops ...I want to attach a SCSI device (my DAT drive ... parallel port ... usb adapter ... SCSI CARD(50 Pin Internal Connector DB25 External ... ... Safely Update Official USB Drivers with ... Replacement of SCSI tape drives and loaders - comp.os.vms ...Frisbie_REMOVE (8) 1/29/2010 12:59:23 AM ... But the transfer rate will be that of a SCSI device, not ... comp.unix.solaris ... It is connected to an external SCSI ... ATAPI CD-ROM drive in a SCSI system - comp.periphs.scsi... have settings in 2 places for handling SCSI/external ... So I might have to remove the SCSI adapter itself which ... boot from other devices" or "Boot from external device ... tar: /dev/rmt/0m: Permission denied - comp.unix.solaris... pci@8,700000 \ /devices/pci@8,700000/scsi@6,1 \ /devices/pci@8 ... works fine as I expected. > I also tryed to remove ... not. > The SunFire 280R has only one external SCSi port ... ioscan on HP Unix 11.11 - comp.sys.hp.hpux... tape to a different SCSI card (in some older systems you could use an external scsi ... Or you change the SCSI id of tape drive OR remove the ... online (run insf to get device ... LVM Problems - HP UX 10.10 10.20 11.00 - comp.sys.hp.hpux ...The operations were : Disk devices Disks were seen ... As the volume group were existing, I have remove ... vg01 external scsi 5 /dev/dsk/c1t4d0 vg01 external scsi 4 I ... How to increase write speed to local hard drive? - comp.unix ...But it takes about 35 minutes. To delete them, it ... ... disksystem like a Hitatchi or EMC SAN device which has ... does a write it needs to wait until the write is safely ... ufsdump on remote tape drive. - comp.unix.solarisAlso if i remove the external tape drive from Box B and attach to ... Install boot blocks on slice 0 Change boot device to ... solaris Is there a way to extract lets say scsi ... Solaris 10 at Dell PowerEdge with Raid Controler H700 - comp.unix ...What it the PCI Vendor and Device ID for that PERC? ... Maintenance part - with hardware raid I can just remove ... AMI Megaraid 428) cluster mode - comp.periphs.scsi ... Audio - Auto level Control AGC - comp.soft-sys.matlab... there is the Controls-> Audio & Subtitles. ... my external ... level of ... the line out jack and a USB sound device. ... So SCSI's auto bad block management can be switched off ... E450 can't boot off disk or cdrom - comp.unix.solarisThe probleme is that I can't boot the computer from the disk. I just wrote ... Sun Blade 1000 - comp.unix.solaris ... ok boot cdrom Boot device : ?pci@8,700000/scsi/disc ... [comp.publish.cdrom] CD-Recordable FAQ, Part 1/4 - comp.publish ...Archive-name: cdrom/cd-recordable/part1 Posting-Frequency: monthly Last-modified: 2008/10/09 Version: 2.71 Send corrections and updates to And... Panic Error - comp.sys.hp.hpuxmeta device sys rebuild - comp.sys.sun.admin eeb4u@hotmail.com wrote: > boot message ... operating system upon detecting an internal fatal error from which it cannot safely ... Are newbie questions OK in here? - comp.lang.asm.x86So write an external assembler subroutine. There are ... (newbie) SCSI Problem with SUN Fire V440 - comp.unix ... then a reset-all now, i can ... solaris 8 cdrom device ... How to safely remove an external SCSI device? - comp.sys.sun.admin ...Hi, How do I safely remove an external SCSI device from a Sun box running Solaris 10 without powering the machine off? I had attached an external DV... How to Safely Remove an External Hard Drive | eHow.comHow to Safely Remove an External Hard Drive. After transferring files to ... Data Drives & Devices; External Hard Drives; How to Safely Remove an External Hard Drive 7/23/2012 7:33:33 PM
|