Pack of CAM improvements

Olivier Smedts olivier at gid0.org
Fri Jan 22 21:18:14 UTC 2010


2010/1/22 Harald Schmalzbauer <h.schmalzbauer at omnilan.de>:
> Alexander Motin schrieb am 19.01.2010 17:12 (localtime):
> ...
>>
>> Patch can be found here:
>> http://people.freebsd.org/~mav/cam-ata.20100119.patch
>>
>> Feedback as always welcome.
>
> Again, thanks a lot for your ongoing great work!
> The patch doesn't cleanly apply with vpo, but I don't use vpo so I didn't
> care.

Since r202799 it applies cleanly to 8-STABLE.

> Otherwise I couldn't find any problems.
> The system detects reinserted SATA drives on ICH9 fine.
>
> This was tested on a zfs backup server which went to the backbone yesterday,
> so I can't physically remove any devices any more for testing...
>
> But I had some questions about zfs raidz states. I think that isn't a matter
> of atacam but if I removed one disk, zpool status still showed me the ada3
> device "online".
> After reinserting (and proper detection/initialisazion with cam, ada3 was
> present again) and zpool clean, it set the devicea as UNAVAIL sinve I/O
> errors.
> I coudn't get the device into the pool again, no matter what I tried.
> Only rebooting the machine helped. Then I could clean and scrub.
>
> What are the needed steps to provide a reinsterted hard disk to geom? With
> the latest patches I don't need to issue any reset/rescan comman, right?
> So it's a zfs problem, right? My mistake in understanding?
>
> Thanks,
>
> -Harry
>
>



-- 
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: olivier at gid0.org        - against HTML email & vCards  X
www: http://www.gid0.org    - against proprietary attachments / \

  "Il y a seulement 10 sortes de gens dans le monde :
  ceux qui comprennent le binaire,
  et ceux qui ne le comprennent pas."


More information about the freebsd-stable mailing list