storage-disk
2006-Nov-17 13:58 UTC
[zfs-discuss] Is there zfs configuration ? where is it?
Hi all, I''d to know where is the configuration of zfs file system. How does the system know what disk or slice part of what pool... For instant, Solaris volume manager use metadb to hold configuration. Veritas Volume Manager use private region to keep configuration. What about zfs? Extra: How to replace a bad disk with the same target number in zfs? (mirror , Raidz) Thank you all Cheer This message posted from opensolaris.org
Hi there, On Fri, 2006-11-17 at 05:58 -0800, storage-disk wrote:> I''d to know where is the configuration of zfs file system. How does > the system know what disk or slice part of what pool...This data is stored on the disks themselves, in a label that ZFS reads & writes. The data is cached in a binary file called zpool.cache in /etc/zfs. If you''re wondering what disks make up a pool, you can find out by running: "zpool status -v <pool name>"> Extra: How to replace a bad disk with the same target number in zfs? (mirror , Raidz)"zpool offline <pool name> <bad disk>", then remove the disk, replace with working hardware, and do "zpool online <pool name> <working disk>" This is pretty well covered in the ZFS Administration Guide at: http://docs.sun.com/app/docs/doc/819-5461/6n7ht6qrt?a=view cheers, tim -- Tim Foster, Sun Microsystems Inc, Operating Platforms Group Engineering Operations http://blogs.sun.com/timf