Re: disklabel - 8th partition shows "X" as Partition name

2003-03-26 Thread Joshua Oreman
On Wed, Mar 26, 2003 at 12:36:23PM -0600 or thereabouts, Mike Meyer arranged some 
electrons to write:
> In <[EMAIL PROTECTED]>, Siegbert Baude <[EMAIL PROTECTED]> typed:
> > >>I once tried to use (in DOS-terms) logical partitions within an 
> > >>extended partition. This is possible, if you do the math and creation 
> > >>of partition tables by hand, but is not supported by the FreBSD tools. 
> > > No, you don't need to do anything by hand. Just disklabel /dev/amr0s5
> > > and so on, and create the partitions in it. I will note that on
> > > 5.0-RELEASE, the extended slice devices didn't get created for me.
> > Yes, disklabel worked o.k., I talked about potential problems with 
> > (DOS-term) partition tables, aka slice tables.
> > It's about two years ago, that I experimented with FBSD and 
> > "extended/logical slices", but at least fdisk and /stand/sysinstall 
> > didn't support those then. Did this change? At the moment I don't have 
> > a spare system to experiment and check this myself.
> 
> Ah, I understand you this time. The FreeBSD tools for manipulating
> slices don't grok extended slices. I forget what I used to do this -
> possibly Linux fdisk - but it wasn't the FreeBSD tools. The
> alternative on FreeBSD is to do the calculation by hand, as you said.
> 

I was experimenting with this too.
I made two ports of other fdisk utilites that could handle extended partitions:
OpenBSD fdisk and Linux fdisk.

If you want them, go:
http://64.161.78.226/openbsd-fdisk-freebsd-port.tar.gz
http://64.161.78.226/linux-fdisk-freebsd-port.tar.gz

Note that Linux cfdisk is included in the linux fdisk package but doesn't work.
The port is just enough to be able to edit ptable with linux fdisk.

OpenBSD fdisk seems to work fine.
Hope this helps!

>
>-- 
> Mike Meyer <[EMAIL PROTECTED]>http://www.mired.org/consulting.html
> Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

-- Josh
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: disklabel - 8th partition shows "X" as Partition name

2003-03-26 Thread Eric Anderson
Mike Meyer wrote:
In <[EMAIL PROTECTED]>, Eric Anderson <[EMAIL PROTECTED]> typed:

Mike Meyer wrote:
[..snip..]
Of course, one has to wonder why anyone needs as many as seven
partitions on a single disk. It's far more common to want to go the
other way, and have multiple disks in a single partition.
Separating the 350Gb up into smaller chunks makes dividing the space for 
different projects much easier.  Also, this is a RAID 50, so I've got 
the "multiple disk in a single partition" taken care of.


Different projects is what directories are for - unless there are
reasons to have a space firewall between them. In general, the reasons
for creating partitions these days are administrative. Otherwise,
you're just creating things that will run out of space quicker than
having one big one.
Have you thought about dividing the disks up into different RAID
devices to mimic your administrative needs?
I could possibly go with one large partition, I'll have to rethink that 
(all our other NFS servers are split).  Now, different RAIDs mean less 
disks per RAID, which means less "speed" and lower disk efficiency.

Eric

--
--
Eric Anderson  Systems Administrator  Centaur Technology
Attitudes are contagious, is yours worth catching?
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: disklabel - 8th partition shows "X" as Partition name

2003-03-26 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Eric Anderson <[EMAIL PROTECTED]> typed:
> Mike Meyer wrote:
> [..snip..]
> > Of course, one has to wonder why anyone needs as many as seven
> > partitions on a single disk. It's far more common to want to go the
> > other way, and have multiple disks in a single partition.
> Separating the 350Gb up into smaller chunks makes dividing the space for 
> different projects much easier.  Also, this is a RAID 50, so I've got 
> the "multiple disk in a single partition" taken care of.

Different projects is what directories are for - unless there are
reasons to have a space firewall between them. In general, the reasons
for creating partitions these days are administrative. Otherwise,
you're just creating things that will run out of space quicker than
having one big one.

Have you thought about dividing the disks up into different RAID
devices to mimic your administrative needs?

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: disklabel - 8th partition shows "X" as Partition name

2003-03-26 Thread Eric Anderson
Mike Meyer wrote:
[..snip..]
Of course, one has to wonder why anyone needs as many as seven
partitions on a single disk. It's far more common to want to go the
other way, and have multiple disks in a single partition.
	Separating the 350Gb up into smaller chunks makes dividing the space for 
different projects much easier.  Also, this is a RAID 50, so I've got 
the "multiple disk in a single partition" taken care of.

Eric

--
--
Eric Anderson  Systems Administrator  Centaur Technology
Attitudes are contagious, is yours worth catching?
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: disklabel - 8th partition shows "X" as Partition name

2003-03-26 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Siegbert Baude <[EMAIL PROTECTED]> typed:
> >>I once tried to use (in DOS-terms) logical partitions within an 
> >>extended partition. This is possible, if you do the math and creation 
> >>of partition tables by hand, but is not supported by the FreBSD tools. 
> > No, you don't need to do anything by hand. Just disklabel /dev/amr0s5
> > and so on, and create the partitions in it. I will note that on
> > 5.0-RELEASE, the extended slice devices didn't get created for me.
> Yes, disklabel worked o.k., I talked about potential problems with 
> (DOS-term) partition tables, aka slice tables.
> It's about two years ago, that I experimented with FBSD and 
> "extended/logical slices", but at least fdisk and /stand/sysinstall 
> didn't support those then. Did this change? At the moment I don't have 
> a spare system to experiment and check this myself.

Ah, I understand you this time. The FreeBSD tools for manipulating
slices don't grok extended slices. I forget what I used to do this -
possibly Linux fdisk - but it wasn't the FreeBSD tools. The
alternative on FreeBSD is to do the calculation by hand, as you said.

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: disklabel - 8th partition shows "X" as Partition name

2003-03-26 Thread Siegbert Baude
Hi Mike,

I once tried to use (in DOS-terms) logical partitions within an 
extended partition. This is possible, if you do the math and creation 
of partition tables by hand, but is not supported by the FreBSD tools. 


No, you don't need to do anything by hand. Just disklabel /dev/amr0s5
and so on, and create the partitions in it. I will note that on
5.0-RELEASE, the extended slice devices didn't get created for me.
Yes, disklabel worked o.k., I talked about potential problems with 
(DOS-term) partition tables, aka slice tables.
It's about two years ago, that I experimented with FBSD and 
"extended/logical slices", but at least fdisk and /stand/sysinstall 
didn't support those then. Did this change? At the moment I don't have 
a spare system to experiment and check this myself.

Ciao
Siegbert
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: disklabel - 8th partition shows "X" as Partition name

2003-03-26 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Siegbert Baude <[EMAIL PROTECTED]> typed:
> With a maximum of four slices on PCs you can create up to 28 
> partitions, which should be sufficient for a disk.

You can put FreeBSD partitions in extended slices, so the upper limit
is significantly higher than 28.

> I once tried to use (in DOS-terms) logical partitions within an 
> extended partition. This is possible, if you do the math and creation 
> of partition tables by hand, but is not supported by the FreBSD tools. 

No, you don't need to do anything by hand. Just disklabel /dev/amr0s5
and so on, and create the partitions in it. I will note that on
5.0-RELEASE, the extended slice devices didn't get created for me.

Of course, one has to wonder why anyone needs as many as seven
partitions on a single disk. It's far more common to want to go the
other way, and have multiple disks in a single partition.

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: disklabel - 8th partition shows "X" as Partition name

2003-03-26 Thread Siegbert Baude
Hi Eric,

The partitions within a FreeBSD slice are numberd from a to h, where c 
is always reserved for the complete disk.
So you will need two (or more) slices. Then create up to 7 (abdefgh) 
partitions within each slice.


Thanks Siegbert.. Do you have any idea why this limit would be placed? 
It seems like this is possibly a "backwards compatibility" limit.  It 
would be nice if I could force it to use more partitions.
I remember a discussion about this issue. IIRC some other BSD allow 16 
partitions per slice, but for FreeBSD 8 partitions is a kernel limit, 
which would take a significant amount of work to change. Nobody did 
this until now, so the restriction is still valid.

With a maximum of four slices on PCs you can create up to 28 
partitions, which should be sufficient for a disk.

I once tried to use (in DOS-terms) logical partitions within an 
extended partition. This is possible, if you do the math and creation 
of partition tables by hand, but is not supported by the FreBSD tools. 
So you can even have more FreeBSD partitions than 28, if you really 
need so.

Ciao
Siegbert
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: disklabel - 8th partition shows "X" as Partition name

2003-03-26 Thread Eric Anderson
Siegbert Baude wrote:
I'm running 4.8RC1, I have a ~345Gb drive (RAID), that I am 
partitioning into 43Gb chunks (8 of them).. I'm using sysinstall..  on 
my last chunk, it shows "X" as the partition name and the rest is ok.  
The other partitions are amrd0s1e,f,g,h,a,b,d..  Am I out of 
"letters"?  What about "i"?  What can I do to fix this?


The partitions within a FreeBSD slice are numberd from a to h, where c 
is always reserved for the complete disk.
So you will need two (or more) slices. Then create up to 7 (abdefgh) 
partitions within each slice.
Thanks Siegbert.. Do you have any idea why this limit would be placed? 
It seems like this is possibly a "backwards compatibility" limit.  It 
would be nice if I could force it to use more partitions.

Eric

--
--
Eric Anderson  Systems Administrator  Centaur Technology
Attitudes are contagious, is yours worth catching?
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: disklabel - 8th partition shows "X" as Partition name

2003-03-26 Thread Siegbert Baude
I'm running 4.8RC1, I have a ~345Gb drive (RAID), that I am partitioning 
into 43Gb chunks (8 of them).. I'm using sysinstall..  on my last chunk, 
it shows "X" as the partition name and the rest is ok.  The other 
partitions are amrd0s1e,f,g,h,a,b,d..  Am I out of "letters"?  What 
about "i"?  What can I do to fix this?
The partitions within a FreeBSD slice are numberd from a to h, where c 
is always reserved for the complete disk.
So you will need two (or more) slices. Then create up to 7 (abdefgh) 
partitions within each slice.

Ciao
Siegbert
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"