Re: [zfs-discuss] ZFS Home NAS - Configuration Questions

2008-01-26 Thread Kava
I have an older server that I am using (2 x 2Gb Xeon) .. used ot run a web 
company ;0
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS Home NAS - Configuration Questions

2008-01-26 Thread Kava
Hmm .. the only things that I am doing differently (as far as I can tell) is I 
am using the web GUI to issue the commands and I am running it in a VM (using 
the pre-buil ones available).

I will try using the command line and see if that makes a difference. Maybe I 
wasn't waiting for it to resilver ... though there is no data on the drives so 
it looked like it was complete.
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Replacing Devices in a Storage Pool

2008-01-26 Thread Kava
Thanks .. I stumbled on the export/import as a solution by acciden (see post 
below). What confuses me though is that a number of people are reporting that 
they do not need to do this step.

See JMCP and others in this thread:
http://www.opensolaris.org/jive/thread.jspa?threadID=50052tstart=0

I am using the pre-built VM, so I suppose it is possible that they have a 
slightly different version?
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] ZFS Home NAS - Configuration Questions

2008-01-24 Thread Kava
Hi,

I am new to Solaris, but intrigued by ZFS. I am planning to set up a home NAS 
(SAMBA/CIFS on ZFS) with my rough plan being to boot SXDE from an IDE drive, 
then set up a single storage pool with 4 SATA drives (2 x 250GB  2 x 500GB) on 
a single controller.

My main concerns are redundancy (1-2 parity)  maximum storage size; I am not 
concerned about performance.

I had a couple of questions regarding this:
1. Considering the drives are different sizes, would I be better off setting up 
2 x 2-way mirrors separately and then adding them to the pool?
2. If I use RAIDZ instead of mirroring, will I always be protected against a 
single disk failure (even though the disks are different sizes)?
3. With RAIDZ, is there anyway to determine where an individual file resides? 
Specifically, is there any way to determine whether the parity information for 
the file (or the User Copy) is residing on a separate device/drive? I know that 
ZFS 'tries' to do it, but can you check?
4. Assume that 12 months later I want to remove the smaller drives and replace 
them with larger (TB) drives. Is it easy enough to remove them (presumably one 
at a time) without losing any data?
5. Can anyone recommend a cheap (but reliable) SATA PCI or PCIX card? Again, 
performance is not that important.

Thanks in advance.
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS Home NAS - Configuration Questions

2008-01-24 Thread Kava
More info from the same guide, page 59: The command also warns you about 
creating a mirrored or RAID-Z pool using devices of different sizes. While this 
configuration is allowed, mismatched levels of redundancy result in unused 
space on the larger device, and requires the -f option to override the warning.

Given the above, I am guessing that my options are actually different than I 
initially thought.

Option 1: One four-way RAID-Z2 configuration. This is no longer possible 
because the drives are of a different size and you can not create a RAIDZ2 or 
even a RAIDZ configuration with only 2 drives.

Option 2: Two two-way mirrors using dynamic striping. Still possible.

Another option would be:
Option 3: One 4 disk stripe, with 2 User Copies running. I guess the downside 
of this is you don't really know where the copies end up (at least I don't 
think you do).
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] Replacing Devices in a Storage Pool

2008-01-24 Thread Kava
Hi,

Assume that you have a 2-way mirror of small drives that you want to replace 
with another 2-way mirror of larger drives. What is the best way to do this?

If you use the zpool replace command, one at a time on each of the existing old 
drives, then you will end up wasting the additional space on the new drives. I 
have tried to access this space by creating a new pool and adding the unused 
space, but it does not show up as a slice. I also checked the partition table 
and the whole disk appears to be used.

How do you get around this? Should I initially have created slices on the 
bigger disks and then mirrored the slices (same size as the smaller disks)? Or 
is there some way to migrate data from one mirror (or pool) to another?
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Mirrrors with Uneven Drives!?

2008-01-24 Thread Kava
Ahh .. so you end up with 2 copies of disk A, one on disk B and the other on 
disk C?
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Replacing Devices in a Storage Pool

2008-01-24 Thread Kava
I don't think that is correct. I did it 5 minutes ago and it didn't change the 
pool size at all.

Here is what I did:
- create mirrored pool of 2 x 8GB disks 
- detach one disk
- attach/replace with 12Gb disk
- detach second disk
- attach/replace with second 12GB disk

After this, the pool was still 8GB in size and there was no 'spare' space that 
I could see or use on the 12GB disks.

Maybe I did it wrong?
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Drives of different size

2008-01-24 Thread Kava
I think you can if you create a slice on the larger drive that is equal to the 
size of the smaller drives (so 300GB)

If you just add the whole large drive to the pool, you will lose the extra 
space.

**Apparently if you later replace both of the smaller drives with 2 500 GB 
drives, the pool should expand. However, I can not get this to work (the pool 
stays stuck at the size of the lower drive). Others report success.
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS Home NAS - Configuration Questions

2008-01-24 Thread Kava
Thanks.

I am going to try this (replacement with larger drive) again ... it sounds damn 
handy and I am pretty sure I must have done something wrong ...
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS Home NAS - Configuration Questions

2008-01-24 Thread Kava
That is a lot of drives ;)
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] LVM on ZFS

2008-01-24 Thread Kava
My 2 cents ... read somewhere that you should not be running LVM on top of ZFS 
... something about additional overhead.
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Replacing Devices in a Storage Pool

2008-01-24 Thread Kava
I finally got this to work, but it did not happen automatically. I needed to 
export then re-import the pool to get it to work. Only then did the additional 
space appear.

Here is what I did:
- create 4 x 8GB disks and 1 x 4 GB disks
- create RAIDZ pool with 3 x 8GB disks  1 x 4GB 
- ignore warning about wasted space
- end up with pool of 12GB usable (4 x 4GB less 4GB parity)
- replace 4GB disk with 8GB disk
- check pool stats and note that it still has 12GB usable space
- export pool (use defaults)
- import pool (use defaults)
- check pool stats and note that usable space is now 24GB
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS Home NAS - Configuration Questions

2008-01-24 Thread Kava
I finally got this to work, but it did not happen automatically. I needed to 
export then re-import the pool to get it to work. Only then did the additional 
space appear.

Here is what I did:
- create 4 x 8GB disks and 1 x 4 GB disks
- create RAIDZ pool with 3 x 8GB disks  1 x 4GB
- ignore warning about wasted space
- end up with pool of 12GB usable (4 x 4GB less 4GB parity)
- replace 4GB disk with 8GB disk
- check pool stats and note that it still has 12GB usable space
- export pool (use defaults)
- import pool (use defaults)
- check pool stats and note that usable space is now 24GB 

Is there a way to skip the export/import?? Downtime for a home NAS is not 
really that big an issue ... but if you can do it, I would like to know how.
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss