Date: Thu, 21 Aug 1997 14:04:55 +0200 (CEST) From: mickey@deadline.snafu.de (Andreas S. Wetzel) To: Andrew Reilly <andrew@zeta.org.au> Cc: scsi@freebsd.org Subject: Re: newfs on Fujitsu R640 (2k sector media) Message-ID: <m0x1Vyx-000BmqC@deadline.snafu.de> In-Reply-To: <freebsd-scsi.199708200229.MAA21070@gurney.reilly.home> References: <freebsd-scsi.199708200229.MAA21070@gurney.reilly.home>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi! --- In article <freebsd-scsi.199708200229.MAA21070@gurney.reilly.home>, Andrew Reilly <andrew@zeta.org.au> writes: > > I have a Fujitsu M2513A magneto-optical disk drive, and I've > been using it quite happily with R230 media (230M, 512-byte > sectors) for a while, because I was not confident that my > pre-release 2.2 FreeBSD would support non-512-byte sectors. > I have since upgraded to 2.2.2, and bought myself some R640 > disks (640M, 2048-byte sectors), and lo: it doesn't work. > > [...] > > What's bugging me at the moment is that I don't seem to be > able to disklabel or newfs one of the R640 disks. I just got my new Fujitsu 2513A6 drive with a 640 Mb media and had it running in less than an hour, using FreeBSD 3.0-current SMP as of 08/15/97. > I'm using this disktab entry, which I built out of the > numbers reported at boot time, but it's essentially the same > as the one that you get with disklabel -w -r auto: > > fuj640|R640|Fujitsu R640 media Meg 3.5inch Magneto-Optical:\ > :ty=removeable:dt=SCSI:rm#3600:\ > :se#2048:nt#64:ns#32:nc#151:sc#2048:su#310352:\ > :pa#310352:oa#0:ba#16384:fa#2048:ta=4.2BSD:\ > :pc#310352:oc#0: Obviously this disklabel is missing at least the number of tracks per cylinder (nt#XXX). So here is the disklabel I have constructed from the values given at boot time (number of sectors), and the information Fujitsu has online at their WWW pages: MO640|Fujitsu 2513A MO drive 640 Mb:\ :dt=SCSI:ty=removable:\ :nc#19397:ns#16:nt#1:\ :se#2048:rm#3600:\ :pa#310352:oa#0:ta=4.2BSD:ba#4096:fa#2048:\ :pc#310352:oc#0:\ :pd#310352:od#0: Labeling the drive using this disklabel works as well as a newfs onto the drive: # disklabel -w -r od0 MO640 # newfs -m 0 -o space -i 12288 -u 16 -t 1 -c 413 /dev/rod0a /dev/rod0a: 1241408 sectors in 19397 cylinders of 1 tracks, 64 sectors 606.2MB in 47 cyl groups (413 c/g, 12.91MB/g, 1088 i/g) super-block backups (for fsck -b #) at: 32, 26464, 52896, 79328, 105760, 132192, 158624, 185056, 211488, 237920, 264352, 290784, 317216, 343648, 370080, 396512, 422944, 449376, 475808, 502240, 528672, 555104, 581536, 607968, 634400, 660832, 687264, 713696, 740128, 766560, 792992, 819424, 845856, 872288, 898720, 925152, 951584, 978016, 1004448, 1030880, 1057312, 1083744, 1110176, 1136608, 1163040, 1189472, 1215904, # mount /dev/od0a /mnt # df -i Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mount /dev/od0a 613730 2 613728 0% 1 51133 0% /mnt Regards, Mickey -- (__) (@@) Andreas S. Wetzel Mail: mickey@deadline.snafu.de /-------\/ Utrechter Strasse 41 Web: http://cenotaph.snafu.de/ / | || 13347 Berlin Fon: <+4930> 456 066 90 * ||----|| Germany Fax: <+4930> 456 066 91/92 ~~ ~~
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0x1Vyx-000BmqC>