Date: Wed, 16 Jun 1999 10:33:04 +0930 From: Greg Lehey <grog@lemis.com> To: Eric <erics@idirect.com> Cc: Christian Weisgerber <naddy@mips.rhein-neckar.de>, FreeBSD Questions <questions@FreeBSD.org> Subject: Re: More then 4 Partitions on a SCSI drive. Message-ID: <19990616103303.A521@freebie.lemis.com> In-Reply-To: <Pine.LNX.4.10.9906151047120.8930-100000@empirion.idirect.com>; from Eric on Tue, Jun 15, 1999 at 10:58:02AM -0400 References: <m10tgQH-000WyUC@mips.rhein-neckar.de> <Pine.LNX.4.10.9906151047120.8930-100000@empirion.idirect.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[moved to -questions] On Tuesday, 15 June 1999 at 10:58:02 -0400, Eric wrote: > On Tue, 15 Jun 1999, Christian Weisgerber wrote: > >> In article <Pine.LNX.4.10.9906141346040.8930-100000@empirion.idirect.com> you write: >> >>> I couldn't find anything on the web site about this. I'm trying to make >>> more then 4 partitions on one SCSI drive (Seagate Baracuda)... but >>> anything after the 4th partition it creates a bogus devices called X. >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> Could you elaborate? >> My drive is effectively divided into six partitions (once upon a time >> created with sysinstall's diskLabelEditor): >> >> naddy@bigeye[~] /sbin/disklabel da0 | tail >> >> 8 partitions: >> # size offset fstype [fsize bsize bps/cpg] >> a: 204800 0 4.2BSD 0 0 0 # (Cyl. 0 - 19*) >> b: 262144 3276800 swap # (Cyl. 310*- 335*) >> c: 8899737 0 unused 0 0 # (Cyl. 0 - 844*) >> e: 3072000 204800 4.2BSD 1024 8192 16 # (Cyl. 19*- 310*) >> f: 1024000 3538944 4.2BSD 1024 8192 16 # (Cyl. 335*- 432*) >> g: 1024000 4562944 4.2BSD 1024 8192 16 # (Cyl. 432*- 529*) >> h: 3312793 5586944 4.2BSD 1024 8192 16 # (Cyl. 529*- 844*) > > Unfortunatly I don't get the samething. Once I create my 5 slices, here's > what I see once I'm done with the Disklabel Editor > > Part Mount Size Newfs > ---- ----- ---- ----- > da0s1a / 996MB UFS Y > da0s2b swap 251MB SWAP > da0s3e /var 996MB UFS Y > da0s4e /opt 996MB UFS Y > X /usr 5436MB UFS Y You're making Microsoft partitions (which we call slices), not UNIX partitions (which is what Eric was demonstrating above). You can have a maximum of four slices (Microsoft partitions). Each slice can contain 8 (UNIX) partitions. You should use one slice and put all your partitions in it. > It will always create a X device anything after the 4th patition. I was > curious and commited the install and during creation of the filesystems, > it gave the error "Device X does not exist". Sorry if I'm sending to the > wrong list, I was told this was a SCSI issue. Once again thanks for any > info. This isn't a SCSI issue, it's an administrative issue, so I'm moving it to -questions. To do this right, 1. Use one slice only. In the partition editor, create one FreeBSD slice (Microsoft partition). 2. Go to the disk label editor and create 3 (UNIX) partitions: root file system (/), swap and /usr. Don't create any other file systems on the same disk unless you know *exactly* how big they need to be. Otherwise you're going to run out of space in one partition and have space left over in others. In your case, you'd expect to have: Part Mount Size Newfs ---- ----- ---- ----- da0s1a / 996MB UFS Y da0s1b swap 251MB SWAP da0s1e /usr 7400MB UFS Y 3. After installation, create a directory /usr/var and make /var a symbolic link to it. You don't need an /opt file system, but if you want one, do the same thing with it. Do I detect an SNI background? Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990616103303.A521>