Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 May 2019 12:51:40 +0100
From:      Pete French <petefrench@ingresso.co.uk>
To:        freebsd-stable@freebsd.org
Subject:   Re: ZFS...
Message-ID:  <37e71963-31d3-5d9d-02b8-88f50195afc4@ingresso.co.uk>
In-Reply-To: <C5403ADD-86C1-4184-BDA6-DA8C7426458E@sarenet.es>
References:  <30506b3d-64fb-b327-94ae-d9da522f3a48@sorbs.net> <CAOtMX2gf3AZr1-QOX_6yYQoqE-H%2B8MjOWc=eK1tcwt5M3dCzdw@mail.gmail.com> <56833732-2945-4BD3-95A6-7AF55AB87674@sorbs.net> <3d0f6436-f3d7-6fee-ed81-a24d44223f2f@netfence.it> <17B373DA-4AFC-4D25-B776-0D0DED98B320@sorbs.net> <70fac2fe3f23f85dd442d93ffea368e1@ultra-secure.de> <70C87D93-D1F9-458E-9723-19F9777E6F12@sorbs.net> <CAGMYy3tYqvrKgk2c==WTwrH03uTN1xQifPRNxXccMsRE1spaRA@mail.gmail.com> <fe6880bc-d40a-2377-6bea-28bfd8229e9f@sorbs.net> <58DA896C-5312-47BC-8887-7680941A9AF2@sarenet.es> <cde21bb4-d741-3300-077f-745cfc343aa9@ingresso.co.uk> <C5403ADD-86C1-4184-BDA6-DA8C7426458E@sarenet.es>

next in thread | previous in thread | raw e-mail | index | archive | help

> Hmm What happens when you do a “camcontrol devlist”?

root@toybox:/usr/local/etc # camcontrol devlist
<HP RAID 0 OK>                     at scbus0 target 0 lun 0 (pass0,da0)
<HP RAID 0 OK>                     at scbus0 target 1 lun 0 (pass1,da1)
<HP RAID 0 OK>                     at scbus0 target 2 lun 0 (pass2,da2)
<HP RAID 0 OK>                     at scbus0 target 3 lun 0 (pass3,da3)
<HL-DT-ST RW/DVD GCC-4244N 2.00>   at scbus2 target 0 lun 0 (pass4,cd0)


> Camcontrol tags da0 -v?

root@toybox:/usr/local/etc # camcontrol tags da0 -v
(pass0:ciss0:0:0:0): dev_openings  255
(pass0:ciss0:0:0:0): dev_active    0
(pass0:ciss0:0:0:0): allocated     0
(pass0:ciss0:0:0:0): queued        0
(pass0:ciss0:0:0:0): held          0
(pass0:ciss0:0:0:0): mintags       2
(pass0:ciss0:0:0:0): maxtags       255

> How is the controller recognized by FreeBSD? For some of them it’s possible to instruct the controller to present the physical devices to CAM. Of course
> you need to be careful to avoid any logical volume configuration in that case.

I have been using these a long time, back to the old ones which were not 
ciss and ditn sit under CAM. Drives which arent configured dont show up 
at all, so I think the above is the best I can do.

> But I would only tinker with this at system installation time, making such a change on a running system with valid data can be disastrous.

Heh, yes ;-) Did you learn that the hard way ? I did!

-pete.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37e71963-31d3-5d9d-02b8-88f50195afc4>