Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 2021 10:09:55 -0800
From:      joe mcguckin <joe@via.net>
To:        Kurt Jaeger <pi@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   When is 'zpool offline' required?
Message-ID:  <0ABC40B6-BB2E-43B3-B0B6-7BEA12D3F5F0@via.net>
In-Reply-To: <X/3r1SssReAPWRUF@home.opsec.eu>
References:  <CF6CB87D-D1A4-4328-976D-31764C0BD1F2@via.net> <X/3r1SssReAPWRUF@home.opsec.eu>

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

I was just playing around with a test ZFS system and was running through =
replacing a bad drive and I forgot to issue a =E2=80=98zpool offline=E2=80=
=99 command.
Everything seemed to go ok anyway. The system started resilvering, etc. =
When is =E2=80=98zpool required=E2=80=99? Under what conditions can I =
omit it?

Is there a dedicated mailing list for ZFS user questions?

Thanks,

Joe

Joe McGuckin
ViaNet Communications

joe@via.net
650-207-0372 cell
650-213-1302 office
650-969-2124 fax



> On Jan 12, 2021, at 10:35 AM, Kurt Jaeger <pi@freebsd.org> wrote:
>=20
> Hi!
>=20
>> How should I label and prepare the drives for ZFS?  Someone ought to =
write a ???cookbook??? on that!
>=20
> Basically, what I once did, was this:
>=20
> zpool create bck raidz2 ada2 ada3 ada4 ada5 ada6 ada7 ada8 ada9
>=20
> Therefore: raw disks, nothing else.
>=20
>> Do I need to start the volume on a particular sector boundary?
>>=20
>> Are the 4096 byte sector drives usable?
>=20
> I think the default is now 4096 anyway.
>=20
> =
https://charsiurice.wordpress.com/2016/05/30/checking-ashift-on-existing-p=
ools/
>=20
> describes the command to check for 4096 blocks:
>=20
> zdb -C | grep ashift
>=20
> If it displays
>=20
> 	ashift: 9
>=20
> the blocks are 512 bytes.
>=20
> If it displays
>=20
> 	ashift: 12
>=20
> the block size is 4096.
>=20
> --=20
> pi@opsec.eu            +49 171 3101372                    Now what ?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0ABC40B6-BB2E-43B3-B0B6-7BEA12D3F5F0>