SUMMARY: Allowed disk partition types

From: Joerg Bruehe (joerg@sql.de)
Date: Tue Jun 04 2002 - 09:26:18 EDT


Dear managers,

as usual, I got very helpful answers very fast - Thank you!

I had asked:
>
> I want to change (for documentation purposes) the "file system"
> ("fstype") field of a disk partition which is used for storage
> of raw DB data.
>
> The graphical "disk configuration" tool allows me to select
> among "unused", "4.2BSD" and "AdvFS" but has no option like
> "DBMS", "raw data", "logdevice", ... ; in the docs I found
> nothing either.

Well, my fault was to use the "System Administration" manual only -

Chris Ruhnke pointed me to the "man" page of "disklabel"
which explicitly lists the strings "raw" and "database".

Nonetheless, Dr. Thomas Blinn gave a complete answer:

| "disklabel" is the way to go. Note the variation where you can
| set the usage label for a specific partition. You can even have
| embedded blanks, but some applications may be confused by that
| (if you output the label and feed it to "awk" for instance, the
| blank will look like a field delimiter). Few things care what
| you put in the field, and anything other than "unused" counts as
| "used" for things that worry about that.

I decided not to invent my own labels (for the moment) but to stick
to the man page offerings. So I called
   disklabel -s rz.. database
for all those partitions, then checked with the graphic tool - voila!
To be sure, I even did a reboot which showed no problems (to be
expected, given the man page - call me paranoid).

Regards and Thanks,
Joerg Bruehe

-- 
Joerg Bruehe, SQL Datenbanksysteme GmbH, Berlin, Germany
     (speaking only for himself)
mailto: joerg@sql.de


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:43 EDT