Ytterligare tilläggsinformation för Solaris 8 2/02 på Sun-maskinvara

Systemet rapporterar felaktigt att enhetslänkar tagits bort (bugg-ID 4418718)

När systemet anropar luxadm remove_device /dev/rdsk/c1t1d0s2, ber det om bekräftelse och rapporterar att diskmotorn stannar och tas offline. Om man trycker på Return när disken tagits ur rapporterar systemet att enhetslänkarna tagits bort.

Så är dock inte fallet. Disken kan sättas tillbaka och användas utan att man kör kommandot luxadm insert_device. Om kommandot körs senare rapporterar systemet att inga nya enheter lagts till och man får följande meddelande på konsolen:

bash-2.03# luxadm remove_device /dev/rdsk/c1t1d0s2 

 

WARNING!!! Please ensure that no filesystems are mounted on these device(s). 

All data on these devices should have been backed up. 

 

The list of devices which will be removed is: 

1: Device name: /dev/rdsk/c1t1d0s2 

Node WWN: 2000002037e367e4 

Device Type:Disk device 

Device Paths: 

/dev/rdsk/c1t1d0s2 

 

Please verify the above list of devices and 

then enter 'c' or <CR> to Continue or 'q' to Quit. [Default: c]: 

stopping: /dev/rdsk/c1t1d0s2....Done 

offlining: /dev/rdsk/c1t1d0s2....Done 

 

Hit <Return> after removing the device(s) 

 

Device: /dev/rdsk/c1t1d0s2 

Logical Nodes being removed under /dev/dsk/ and /dev/rdsk: 

c1t1d0s0 

c1t1d0s1 

c1t1d0s2 

c1t1d0s3 

c1t1d0s4 

c1t1d0s5 

c1t1d0s6 

c1t1d0s7 

 

Device: /dev/rdsk/c1t1d0s2 

Logical Nodes being removed under /dev/dsk/ and /dev/rdsk: 

c1t1d0s0 

c1t1d0s1 

c1t1d0s2 

c1t1d0s3 

c1t1d0s4 

c1t1d0s5 

c1t1d0s6 

c1t1d0s7 

 

bash-2.03# ls -l /dev/dsk/c1t1* 

lrwxrwxrwx 1 root root 70 May 4 19:07 /dev/dsk/c1t1d0s0 -> ../../devices/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2100002037e367e4,0:a 

lrwxrwxrwx 1 root root 70 May 4 19:07 /dev/dsk/c1t1d0s1 -> ../../devices/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2100002037e367e4,0:b 

 

bash-2.03# ls -l /dev/rdsk/c1t1* 

lrwxrwxrwx 1 root root 74 May 4 19:07 /dev/rdsk/c1t1d0s0 -> ../../devices/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2100002037e367e4,0:a,raw 

lrwxrwxrwx 1 root root 74 May 4 19:07 /dev/rdsk/c1t1d0s7 -> ../../devices/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2100002037e367e4,0:h,raw 

/* the following errors are caused by SUNWvts reprobe looking for said disk */ 

 

bash-2.03#  

8012 05/22/01 14:05:07 Failed on iotcl DKIOCGMEDIAINFO: 6: No such device or address 

 

8012 05/22/01 14:05:41 Failed on iotcl DKIOCGMEDIAINFO: 6: No such device or address 

 

8012 05/22/01 14:07:25 Failed on iotcl DKIOCGMEDIAINFO: 6: No such device or address 

 

bash-2.03# luxadm insert_device 

Please hit <RETURN> when you have finished adding Fibre Channel Enclosure(s)/Device(s):  

 

Waiting for Loop Initialization to complete... 

No new device(s) were added!! 

 

En lösning är att skriva följande när systemet säger att luxadm remove_device slutförts:


# devfsadm -C -c disk