Article View: news.software.nntp
Article #51206Re: CNFS on partitions
From: bill davidsen
Date: Wed, 14 Mar 2001 18:12
Date: Wed, 14 Mar 2001 18:12
36 lines
2861 bytes
2861 bytes
In article <ylitllch1v.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: | The solution is to not use raw devices that include the first cylinder of | the disk. Solaris doesn't protect the superblock from being overwritten | by an application writing to raw devices and includes it in the first | cylinder of the disk, so unless you use a slice that starts with cylinder | 1 instead of 0, INN will invalidate the partition table when it tries to | initialize the cycbuff and all further accesses will fail until you | repartition. | | Generally all that has to be done is to repartition the disk with slice 0 | starting from cylinder 1 and extending to the end of the disk and then | point INN at slice 0 instead of slice 2. You lose some small amount of | space, but generally not enough to care about. This is true to some extent with Linux, although not in the same way. If you use /dev/hdb (the whole drive) rather than /dev/hdb1 (partition 1) you will mess up the partition table. However, Linux will still let you use the device just fine. It looks as if Solaris slice two is the whole disk in size, but is in reality a partition, needing the partition table included in the slice to find itself. I thought there was a device name for the whole drive which was not a slice, and which did allow you to use the whole drive happily. I haven't done Solaris in a long time, so this could be other SVR4 information floating through holes in my memory. Not that giving up the partition table as data space is going to be an issue, even on a 2GB drive. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc "I am lost. I am out looking for myself. If I should come back before I return, please ask me to wait." -seen in a doctor's office
Technical Details
Message-ID:
<98ocb0$7lj4$1@newssvr05-en0.news.prodigy.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!nntp.flash.net!newscon06.news.prodigy.com!prodigy.com!newsmst01!postmaster.news.prodigy.com!darkstar.prodigy.com!davidsenReferences:
<87vgpln1it.fsf@karthy.net> <ylitllch1v.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <98ocb0$7lj4$1@newssvr05-en0.news.prodigy.com> Subject: Re: CNFS on partitions Date: Wed, 14 Mar 2001 18:12:48 +0000 From: davidsen@tmr.com (bill davidsen) References: <87vgpln1it.fsf@karthy.net> <ylitllch1v.fsf@windlord.stanford.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!nntp.flash.net!newscon06.news.prodigy.com!prodigy.com!newsmst01!postmaster.news.prodigy.com!darkstar.prodigy.com!davidsen Newsgroups: news.software.nntp Organization: TMR Associates, Schenectady NY Lines: 35 NNTP-Posting-Host: darkstar.prodigy.com X-Trace: newssvr05-en0.news.prodigy.com 984593568 251492 192.168.190.236 (14 Mar 2001 18:12:48 GMT) X-Complaints-To: abuse@prodigy.net NNTP-Posting-Date: 14 Mar 2001 18:12:48 GMT Originator: davidsen@darkstar.prodigy.com