From owner-freebsd-hardware@FreeBSD.ORG Wed Jun 25 13:59:40 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E166106566B for ; Wed, 25 Jun 2008 13:59:40 +0000 (UTC) (envelope-from alwin.roosen@webline.be) Received: from webline.be (d5152F35C.access.telenet.be [81.82.243.92]) by mx1.freebsd.org (Postfix) with ESMTP id AE9E38FC20 for ; Wed, 25 Jun 2008 13:59:39 +0000 (UTC) (envelope-from alwin.roosen@webline.be) Date: Wed, 25 Jun 2008 15:54:29 +0200 Message-ID: <50A3BEAB67F03F44A2A063D55FC14D37119169@sbs2003.Webline.local> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable In-Reply-To: <9793E60822024E76A88D70BCC9C1BE77@Webline.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5 Thread-Topic: Would a Transcend USB Flash Module of 2GB work? Thread-Index: AcjWx7msZr0A3xbIQeSndF+uiAspGQAAl4Qg References: <50A3BEAB67F03F44A2A063D55FC14D37119163@sbs2003.Webline.local> <9793E60822024E76A88D70BCC9C1BE77@Webline.local> From: "Alwin Roosen" To: "Jonas Lund" Cc: freebsd-hardware@freebsd.org Subject: RE: Would a Transcend USB Flash Module of 2GB work? X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 13:59:40 -0000 Hi Jonas, Thank you for the tips! Could you explain to me how the swap partition would work? In the manual () they say to remove the swap from fstab. I don't know much of partitioning since this is setup-related and almost always the same on our servers. Normally you would create a swap partition twice the size of the memory capacity. But if you have a server with 1GB memory, and a 2GB flash-disk, how would this work? Alwin Roosen -----Original Message----- From: Jonas Lund [mailto:whizzter@gmail.com]=20 Sent: woensdag 25 juni 2008 15:31 To: Alwin Roosen Cc: freebsd-hardware@freebsd.org Subject: Re: Would a Transcend USB Flash Module of 2GB work? > I want to install FreeBSD onto an USB Flash Module from Transcend. The > links below are the product page and datasheet in PDF. It says it should > be compatible with OS that supports USB standard. Like jeremy said the USB stack ain't overly sexy. Altho as far as i've used it umass hasn't caused too much problems. If you are building kiosks or similiar systems that are mostly used to launch programs and not write too much to the disk then installing on a 'el cheapo usb thingy might be just the thing. I did something similar a little while back (linux tho) and it's quite simple/cheap for something like that. 2 things. - mount with noatime (wearing the memory just because accessing files is quite stupid) - make sure your system has enough memory to avoid swapping, while you can certainly put a swap on flash i wouldn't recommend relying on it as the errors that finally crops up could be subtle and catastrophic or just errors. (how does freebsd handle a swap disk going bad?) / Jonas