Re: [zfs-discuss] how to remove disk from raid0

2011-10-11 Thread Edho Arief
On Tue, Oct 11, 2011 at 9:25 AM, KES kes-...@yandex.ua wrote:
 Hi

 I have the next configuration: 3 disk 1Gb in raid0
 all disks in zfs pool

 freespace on so raid is 1.5Gb and 1.5Gb is used.

 so I have some questions:
 1. If I don plan to use 3 disks in pool any more. How can I remove one of it?
 2. Imaine one disk has failures. I want to replace it, but now I do not have 
 disk 1Gb and have only 2Gb
  I replace disk of 1Gb with 2Gb, and after some time, I want to put 1Gb disk 
 (as it was before) back.
 with replace command i have error: device is too small
  How to return pool into beginning state?


Simpy put, current zfs can only be extended, shrinking is not possible.

Until the mythical block pointer rewrite actually written, at least.

-- 
O ascii ribbon campaign - stop html mail - www.asciiribbon.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Zil on multiple usb keys

2011-07-18 Thread Edho Arief
On Mon, Jul 18, 2011 at 1:20 PM, Brandon High bh...@freaks.com wrote:
 On Sun, Jul 17, 2011 at 12:13 PM, Edward Ned Harvey
 opensolarisisdeadlongliveopensola...@nedharvey.com wrote:
 Actually, you can't do that.  You can't make a vdev from other vdev's, and 
 when it comes to striping and mirroring your only choice is to do it the 
 right way.

 If you were REALLY trying to go out of your way to do it wrong somehow, I 
 suppose you could probably make a zvol from a stripe, and then export it to 
 yourself via iscsi, repeat with another zvol, and then mirror the two iscsi 
 targets.   ;-)  You might even be able to do the same crazy thing with 
 simply zvol's and no iscsi...  But either way you'd really be going out of 
 your way to create a problem.   ;-)

 The right way to do it, um, incorrectly is to create a striped device
 using SVM, and use that as a vdev for your pool.

 So yes, you could create two 800GB stripes, and use them to create a
 ZFS mirror. But it would be a really bad idea.


In freebsd you can use geom_stripe or geom_concat to create striped
block device.
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss