[zfs-discuss] zpool on fdisk partition

2009-11-19 Thread Hua
I am building a system on a small x86 system by using Solaris 10 10/09. The system disk is 1TB. As Solaris only take 6GB, I plan to allocate the rest to a zpool for data. I want to keep system and data as separated as possible, therefore I tried a. Create a 10G Solaris partition for install sys

[zfs-discuss] use zpool directly w/o create zfs

2009-10-10 Thread Hua
I understand that usually zfs need to be created inside a zpool to store files/data. However, I quick test shows that I actually can put files directly inside a mounted zpool without creating any zfs. After zpool create -f tank c0d1 I actually can copy/delete any files into /tank. I can also c

[zfs-discuss] zfs fragmentation

2009-08-06 Thread Hua
1. Due to the COW nature of zfs, files on zfs are more tender to be fragmented comparing to traditional file system. Is this statement correct? 2. If so, common understanding is that fragmentation cause perform degradation, will zfs or to what extend zfs performance is affected by the fragmentat

Re: [zfs-discuss] Problem with mounting ZFS from USB drive

2009-07-07 Thread Hua-Ying Ling
I'm no expert but I think you need to export a zfs volume before you remove it or it'll complain when you try to import it on another system. "zfs admin guide pg. 89" zfs export poolName You can do a zfs -f import to import it anyway. Hua-Ying On Tue, Jul 7, 2009 at 4:34

Re: [zfs-discuss] how to discover disks?

2009-07-06 Thread Hua-Ying Ling
bootwu 0 - 07.84MB(1/0/0) 16065 9 unassignedwm 00 (0/0/0) 0 It seems like the partition 0,2,8 are sharing the same part of the disk. How is this possible? Hua-Ying On Mon, Jul 6, 2009 at 11:27 AM, wrote: >

Re: [zfs-discuss] how to discover disks?

2009-07-06 Thread Hua-Ying Ling
/c3d1s0': No such device or address #zpool attach rpool c3d0s0 c3d1 // failed cannot label 'c3d1': EFI labeled devices are not supported on root pools. Thoughts? Thanks, Hua-Ying On Mon, Jul 6, 2009 at 2:37 AM, Carsten Aulbert wrote: > Hi > > Hua-Ying Ling wrote: >>

[zfs-discuss] how to discover disks?

2009-07-05 Thread Hua-Ying Ling
Hi, How do I discover the disk name to use for zfs commands such as: c3d0s0? I tried using format command but it only gave me the first 4 letters: c3d1. Also why do some command accept only 4 letter disk names and others require 6 letters? Thanks Hua-Ying

Re: [zfs-discuss] hung when import zpool

2009-01-08 Thread Qin Ming Hua
It's a 2GB filessystem just for test. I wait about half an hour yesterday, but it import successful with only 20s when i re-tried today. Meanwhile, zfs didn't find any disk issue. (by the demo it should) On Thu, Jan 8, 2009 at 6:03 PM, Carsten Aulbert wrote: > Hi > >

[zfs-discuss] hung when import zpool

2009-01-08 Thread Qin Ming Hua
Hi All, I would like to try zfs Self Healing feature as -- http://www.opensolaris.org/os/community/zfs/demos/selfheal/ but meet some issue, please see my process. bash-3.00# zpool create mypool mirror c3t5006016130603AE5d7 c3t5006016130603AE5d8 bash-3.00# cd /mypool/ bash-3.00# cp /export/iozone3