Date: Thu, 8 Jul 2004 10:48:14 +0930 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: freebsd-stable@freebsd.org Cc: Duncan Barclay <dmlb@dmlb.org> Subject: Re: Firewire drives, FreeBSD 4.10 and readonly errors Message-ID: <200407081048.14879.doconnor@gsoft.com.au> In-Reply-To: <01e201c463a1$c3d92950$43c8a8c0@orac> References: <01e201c463a1$c3d92950$43c8a8c0@orac>
next in thread | previous in thread | raw e-mail | index | archive | help
=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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407081048.14879.doconnor>