Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jun 2013 02:24:46 -0700
From:      "Reed A. Cartwright" <cartwright@asu.edu>
To:        freebsd-fs@freebsd.org
Subject:   ZFS and Glabel
Message-ID:  <CALOkxuzH81UFuVZifJNxyuo6%2Bhu9mCPB1TC91dn5fkjVLFqTKw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I currently have a raidz2 pool that uses whole disks: da6, da7, etc.
I want to label these using glabel and have zfs mount them using the
labels.  This way, if an HDD fails, I will be able to easily replace
the drive.

So my questions are a follows:

1) Can glabel be used with zfs and raw disks?  Should it be?

2) Can I add a glabel after the disks have been placed in a pool?

3) How would I do this without losing data?  E.g.

glabel label /dev/da6 storage1
glabel ...
zpool export storage
zpool import -d /dev/label storage

4) Is there a better alternative that allows me the keep the data on
the drives and relabel them?

--
Reed A. Cartwright, PhD
Assistant Professor of Genomics, Evolution, and Bioinformatics
School of Life Sciences
Center for Evolutionary Medicine and Informatics
The Biodesign Institute
Arizona State University
-
Address: The Biodesign Institute, PO Box 875301, Tempe, AZ 85287-5301 USA
Packages: The Biodesign Institute, 1001 S. McAllister Ave, Tempe, AZ
85287-5301 USA
Office: Biodesign A-224A, 1-480-965-9949



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALOkxuzH81UFuVZifJNxyuo6%2Bhu9mCPB1TC91dn5fkjVLFqTKw>