From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,78175c349c1c74d0 X-Google-Attributes: gidfee84,public From: werme@alingo.zk3.dec.com (Eric Werme) Subject: Re: RZ28 - Partitioning for UFS filesystem? Date: 1997/02/07 Message-ID: #1/1 X-Deja-AN: 215084563 references: <32F9A1FB.1858@netcomuk.co.uk> organization: Digital Equipment Corporation reply-to: werme@zk3.dec.com newsgroups: comp.unix.osf.osf1 john hall writes: >The disktab entry for the RZ28 family states that the quoted parameters >are "approximate" as the number of tracks per cylinder depends on the >position on the disk. As are pretty much all current disks. SCSI hides the cyl/track/sector information pretty well (too well for some purposes!). >When creating ufs file systems with newfs, if the partition size doesn't >start or end on a multiple of the apparently "artificial" "sectors per >cylinder" value, then a message like "xx MB in last cylinder unallocated" >is often seen. This presumably because newfs feels constrained to build >filesystems starting/ending on its idea of a cylinder boundary. One could probably make a partial cylinder group and mark the nonexistant blocks as in use, but then you'd have to modify fsck to not think of them as lost. Basically, there hasn't been enough push to do something about it, and there are many, mnay more important things we'd rather work on. >The question(s): does the physical geometry of an RZ28 have any bearing >on how (ufs) filesystems can or should be built on it The biggest impact is actually performance. Data rates are highest on the outside cylinders and seeks are lowest. There was a paper at the recent USENIX looking into the impact. Transfer rate ratios can be 2 between the limits. >beyond the obvious >like maximum size. Is newfs slavishly following unnecessary logic in >shunning parts of a partition on an RZ28, when disktab suggests that >dividing "number of sectors" by the quoted "sectors per cylinder" doesn't >actually reveal anything about the location of sectors on the disk wrt >physical cylinder boundaries? newfs is because ufs needs that. You could change ufs to get away from its cylinder knowledge, but that would make upgrading to the next release a little "difficult". -- <> Eric (Ric) Werme <> This space under reconstruction <> <> <> <>