Re: When is 'zpool offline' required?
On Mon, Feb 8, 2021 at 10:10 AM joe mcguckin wrote: > I was just playing around with a test ZFS system and was running through > replacing a bad drive and I forgot to issue a ‘zpool offline’ command. > Everything seemed to go ok anyway. The system started resilvering, etc. > When is ‘zpool required’? Under what conditions can I omit it? > If the drive is dying but still working, then using "zpool offline" is recommended, to tell the pool to stop using the drive. This is also handy if there's going to be a delay between "noticed the drive is dying" and "have a replacement drive available". If the drive is completely dead, then most likely it will be dropped from the pool automatically by ZFS, so "zpool offline" isn't needed. While it's generally "better" to offline drives, ZFS is designed to withstand drives dropping off without warning. > Is there a dedicated mailing list for ZFS user questions? > There's a zfs-discuss mailing list run by the OpenZFS project. There isn't a FreeBSD ZFS-specific mailing list, but there is a freebsd-fs@ mailing list for everything filesystem related (UFS, ZFS, mfs, NFS, etc). Cheers, Freddie ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
When is 'zpool offline' required?
I was just playing around with a test ZFS system and was running through replacing a bad drive and I forgot to issue a ‘zpool offline’ command. Everything seemed to go ok anyway. The system started resilvering, etc. When is ‘zpool required’? Under what conditions can I omit it? Is there a dedicated mailing list for ZFS user questions? Thanks, Joe Joe McGuckin ViaNet Communications j...@via.net 650-207-0372 cell 650-213-1302 office 650-969-2124 fax > On Jan 12, 2021, at 10:35 AM, Kurt Jaeger wrote: > > Hi! > >> How should I label and prepare the drives for ZFS? Someone ought to write a >> ???cookbook??? on that! > > Basically, what I once did, was this: > > zpool create bck raidz2 ada2 ada3 ada4 ada5 ada6 ada7 ada8 ada9 > > Therefore: raw disks, nothing else. > >> Do I need to start the volume on a particular sector boundary? >> >> Are the 4096 byte sector drives usable? > > I think the default is now 4096 anyway. > > https://charsiurice.wordpress.com/2016/05/30/checking-ashift-on-existing-pools/ > > describes the command to check for 4096 blocks: > > zdb -C | grep ashift > > If it displays > > ashift: 9 > > the blocks are 512 bytes. > > If it displays > > ashift: 12 > > the block size is 4096. > > -- > p...@opsec.eu+49 171 3101372Now what ? ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"