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


_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to