From owner-freebsd-firewire@FreeBSD.ORG Thu Jul 8 01:18:40 2004 Return-Path: Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 879B316A4CE; Thu, 8 Jul 2004 01:18:40 +0000 (GMT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E7DE43D5A; Thu, 8 Jul 2004 01:18:37 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.11/8.12.10) with ESMTP id i681IFgt049630; Thu, 8 Jul 2004 10:48:15 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Date: Thu, 8 Jul 2004 10:48:14 +0930 User-Agent: KMail/1.6.2 References: <01e201c463a1$c3d92950$43c8a8c0@orac> In-Reply-To: <01e201c463a1$c3d92950$43c8a8c0@orac> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200407081048.14879.doconnor@gsoft.com.au> X-Spam-Score: -4.6 () CARRIAGE_RETURNS,IN_REP_TO,MIME_LONG_LINE_QP,PGP_SIGNATURE,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_KMAIL X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: freebsd-firewire@freebsd.org cc: Duncan Barclay Subject: Re: Firewire drives, FreeBSD 4.10 and readonly errors X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2004 01:18:40 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 7 Jul 2004 07:09, Duncan Barclay wrote: > My prefered partitioning is to create one MSDOS slice of 1G with a copy of > a miniinst ISO, a dump of / and /usr and a README detailling how to > reconstruct a server. The rest of the drive is a single UFS slice with the > important user data. I do this, so that if anything happens all that needs > to happen is to plug the drive into some h/w (via USB or Firewire) and bu= rn > a CD to rebuild the server. Neat idea :) > Then newfs_msdos the first slice, but I get: > # newfs_msdos /dev/da0s1 > /dev/da0s1: 2084280 sectors in 260535 FAT32 clusters (4096 bytes/cluster) > bps=3D512 spc=3D8 res=3D32 nft=3D2 mid=3D0xf8 spt=3D63 hds=3D255 hid=3D63= bsec=3D2088387 > bspf=3D2036 rdcl=3D2 infs=3D1 bkbs=3D2 > newfs_msdos: /dev/da0s1: Read-only file system > > As these drives come pre-formatted with a single slice I have tried: > # dd if=3D/dev/zero of=3D/dev/da0s1 bs=3D2048 count=3D1024 > dd: /dev/da0s1: Read-only file system > 1+0 records in > 0+0 records out > 0 bytes transferred in 0.028599 secs (0 bytes/sec) > > What am I doing wrong to get the read-only errors? > > I have rebooted between writing a blank partition table and trying the > newfs_msdos to no avail. Other than this error (that prevents a > fsck_msdos -p from completing) writes are fine. Can you try=20 fdisk -I da0 disklabel -e da0s1 [ .. ] newfs /dev/da0s1a ? Also try editing the partition table and changing it to a DOS partition and= =20 seeing if newfs_msdos works? > BTW, I can recommend the Maxtor OneTouch products-they come in a nice > chassis and are a robust product with Firewire and USB2 interfaces. As a > backup (not archive) media they are ideal, far cheaper than tape. I have > used them a number of times and provide my clients with a least two drives > to use on rotation. This is more for disaster recovery than anything. The > clients are instructed to keep at least one drive off the premesis. I've used them (had to get a patch from Mr Firewire before they'd work :) I prefer Mapower aluminium cases, cheaper and you can customise the drive. (And they seem to work just as well.. probably got the same interface) =2D --=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA7KDW5ZPcIHs/zowRApZqAJ9wOyBfE5F4sHq+LyL9cXmPuhCKfgCeLKcl kYs4cEorZvMz35R9sqqxHYo=3D =3DXEpN =2D----END PGP SIGNATURE-----