Date: Sat, 24 Jul 2010 13:56:30 +0200 From: Pawel Tyll <ptyll@nitronet.pl> To: freebsd-stable@freebsd.org Cc: Adam Vande More <amvandemore@gmail.com> Subject: Re: Using GTP and glabel for ZFS arrays Message-ID: <136751861.20100724135630@nitronet.pl> In-Reply-To: <AANLkTi=y%2BUJE9rgt-X3Wj6zHTCUfu67QnaDBzayb=a-5@mail.gmail.com> References: <4C47B57F.5020309@langille.org> <4C48E695.6030602@langille.org> <718046944.20100723032259@nitronet.pl> <4C4A42D5.7080805@langille.org> <AANLkTi=fMR1pQj11qCqMWwCM9nsovsm_PVh7%2BJeWF0ED@mail.gmail.com> <AANLkTi=y%2BUJE9rgt-X3Wj6zHTCUfu67QnaDBzayb=a-5@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Easiest way to create sparse eg 20 GB assuming test.img doesn't exist > already No no no. Easiest way to do what you want to do: mdconfig -a -t malloc -s 3t -u 0 mdconfig -a -t malloc -s 3t -u 1 Just make sure to offline and delete mds ASAP, unless you have 6TB of RAM waiting to be filled ;) - note that with RAIDZ2 you have no redundancy with two fake disks gone, and if going with RAIDZ1 this won't work at all. I can't figure out a safe way (data redundancy all the way) of doing things with only 2 free disks and 3.5TB data - third disk would make things easier, fourth would make them trivial; note that temporary disks 3 and 4 don't have to be 2TB, 1.5TB will do. I've done this dozen of times, had no problems, no gray hair, and not a bit of data lost ;)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?136751861.20100724135630>