>>> On 1/11/2010 at 03:34 PM, "Lee, Gary D." <[email protected]> wrote: 
> I need to remove a problem device so I can try and re-add it and get the 
> system back up at 100%.
> 
> I am trying to remove a fzp attached ts1120 tape drive by hand without yast. 
>  
> Yast doesn't work well with screen reading software for the blind.
> I tried the following with no luck
> 
> Echo 0x0000000000000000 > 
> /sys/bus/ccw/drivers/0.0.0401/0x500507630f5bbf0a/unit_remove
> 
> Verified the wwpn and lun number.
> 
> What have I missed?

As Dominic pointed out, you didn't have the directory structure quite right.  
To make it easier for yourself, you could try using the zfcp_disk_configure 
script to try to take it offline.  The name is somewhat misleading as it 
doesn't check to see if it really is a disk before taking it offline.  You will 
see some error messages when it tries to access some /sys files or directories, 
but those can be ignored:
# zfcp_disk_configure 0.0.fc00 0x20010060451603de 0x000e000000000000 0
Configuring FCP disk 20010060451603de:000e000000000000
/sbin/zfcp_disk_configure: line 139: 
/sys/bus/ccw/devices/0.0.fc00/host0/rport-0:0-0/target0:0:0/fc_transport/hba_id:
 No such file or directory
/sbin/zfcp_disk_configure: line 140: 
/sys/bus/ccw/devices/0.0.fc00/host0/rport-0:0-0/target0:0:0/fc_transport/wwpn: 
No such file or directory
/sbin/zfcp_disk_configure: line 141: 
/sys/bus/ccw/devices/0.0.fc00/host0/rport-0:0-0/target0:0:0/fc_transport/fcp_lun:
 No such file or directory
/sbin/zfcp_disk_configure: line 139: 
/sys/bus/ccw/devices/0.0.fc00/host0/rport-0:0-0/target0:0:0/subsystem/hba_id: 
No such file or directory
/sbin/zfcp_disk_configure: line 140: 
/sys/bus/ccw/devices/0.0.fc00/host0/rport-0:0-0/target0:0:0/subsystem/wwpn: No 
such file or directory
/sbin/zfcp_disk_configure: line 141: 
/sys/bus/ccw/devices/0.0.fc00/host0/rport-0:0-0/target0:0:0/subsystem/fcp_lun: 
No such file or directory


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to