Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 2015 11:40:12 -0800
From:      Freddie Cash <fjwcash@gmail.com>
To:        Kevin Oberman <rkoberman@gmail.com>
Cc:        Borja Marcos <borjam@sarenet.es>, freebsd-scsi@freebsd.org,  Royce Williams <royce@tycho.org>, freebsd-stable <freebsd-stable@freebsd.org>, Kai Gallasch <k@free.de>
Subject:   Re: LSI SAS2008 mps driver preferred firmware version
Message-ID:  <CAOjFWZ4Js65gQZc6rbT9SKg-jZozziTa=JGpJys6HyejdgWP%2Bg@mail.gmail.com>
In-Reply-To: <CAN6yY1sH0PnnF_AGwDsA75i_Z6ptOr4J0c_Gqrt%2BRFO6eZsW-Q@mail.gmail.com>
References:  <5644FF09.9090200@free.de> <CA%2BE3k93QrUFA3BvhoswkVDXh2bR2aLYG6Z0TOrisVvNL=%2BMZVA@mail.gmail.com> <56472686.5030301@free.de> <20151114143104.GA41119@in-addr.com> <7710CBCC-E68F-4454-9E29-E50ED1C6B511@sarenet.es> <CAN6yY1sH0PnnF_AGwDsA75i_Z6ptOr4J0c_Gqrt%2BRFO6eZsW-Q@mail.gmail.com>

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

On Mon, Nov 16, 2015 at 11:36 AM, Kevin Oberman <rkoberman@gmail.com> wrote:

> On Mon, Nov 16, 2015 at 1:00 AM, Borja Marcos <borjam@sarenet.es> wrote:
>
> >
> > On Nov 14, 2015, at 3:31 PM, Gary Palmer wrote:
> >
> > > You can do thinks in /boot/loader.conf to hard code bus and drive
> > > assignments.
> > >
> > > e.g.
> > >
> > > hint.da.0.at="scbus0"
> > > hint.da.0.target="19"
> > > hint.da.0.unit="0"
> > > hint.da.1.at="scbus0"
> > > hint.da.1.target="18"
> > > hint.da.1.unit="0"
> >
> > Beware, the target number assignment is not predictable. There's no
> > guarantee especially if you replace
> > a disk.
> >
> >
> >
> >
> >
> > Borja.
> >
>
> As already mentioned, unless you are using zfs, use gpart to label you file
> systems/disks. Then use the /dev/gpt/LABEL as the mount device in fstab.
>

​Even if you are using ZFS, labelling the drives with the location of the
disk in the system (enclosure, column, row, whatever) makes things so much
easier to work with when there are disk-related issues.

Just create a single partition that covers the whole disk, label it, and
use the label to create the vdevs in the pool.​

-- 
Freddie Cash
fjwcash@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ4Js65gQZc6rbT9SKg-jZozziTa=JGpJys6HyejdgWP%2Bg>