From owner-freebsd-fs@FreeBSD.ORG Wed Jul 3 09:39:22 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D83FF135 for ; Wed, 3 Jul 2013 09:39:22 +0000 (UTC) (envelope-from prvs=189683e577=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 7E6E318D8 for ; Wed, 3 Jul 2013 09:39:22 +0000 (UTC) Received: from r2d2 ([82.69.141.170]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50004694576.msg for ; Wed, 03 Jul 2013 10:39:20 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Wed, 03 Jul 2013 10:39:20 +0100 (not processed: message from valid local sender) X-MDDKIM-Result: neutral (mail1.multiplay.co.uk) X-MDRemoteIP: 82.69.141.170 X-Return-Path: prvs=189683e577=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-fs@freebsd.org Message-ID: From: "Steven Hartland" To: "Alexandr" , References: <51D3ED4F.5030102@shurik.kiev.ua> Subject: Re: Whole disk ZFS or -a4k partition Date: Wed, 3 Jul 2013 10:39:28 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jul 2013 09:39:22 -0000 ----- Original Message ----- From: "Alexandr" > Hello, community! > > I have a laptop with 2 disks - mSATA 32Gb SSD and 500Gb HDD. I plan to > use SSD as whole disk ZFS pool with root and /usr partitions and 500Gb > SATA as ZFS pool for /home and /var. My questions are: > > 1. Do I need to create a 4k aligned partition on HDD for zfs pool or > best to use a whole disk? As you need a boot partition you will need to 4k align and ensure the zpool is created with 4k sectors using gnop hack. > 2. Where the best place for swap - ssd or hdd? SSD is much faster, but > with limited write life cycle. I'd use the ssd for the performance as in general you wont see significanlty higher wear leveling than general use unless you're really low on RAM and then you will want it as quick as possible anyway. If you want ZFS TRIM ensure you use a recent stable/8, stable/9 or head. Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.