SUMMARY: Solaris 2.8 more than 8 slices HOW TO?

From: Conner McCleod <nimrha_at_hotmail.com>
Date: Wed Jul 11 2001 - 15:29:10 EDT
sunmanagers@sunmanagers.org
SUMMARY: Solaris 2.8 more than 8 slices HOW TO?

Thank to all who replied:

"Ryan A. Krenzischek" <ryan@bbnx.net>
Darren Dunham <ddunham@taos.com>
Bertrand_Hutin@notes.amdahl.com
David Evans <David.J.Evans@oracle.com>
Mike Kiernan <mkiernan@onet.pl>
john benjamins <johnb@soliton.com>

The general consensus was to use Veritas and encapsulation to get more than 
7 slices.  There are issues associated with single user-mode, booting from a 
CD that have to be addressed if you actually get the process to work.  In 
general that is the direction that I'll take, Veritas plus encapsulation.

Thanks to all.

Conner McCleod

Solaris 2.8 more than 8 slices HOW TO?

According to a SUN FE, he claims that the /usr/include/sys
files are not read at boot time.  Is the VTOC size (8 or 16) set as a
kernel parameter?  Does anyone have a procedure for creating more than 8 
slices on a Solaris disk?

The files in question /usr/include/sys:
vtoc.h
dklabel.h
isa_defs.h

isa_defs.h appears to define the number of slices:


*      _SUNOS_VTOC_8:
*              This is a VTOC form which is upwardly compatible with the
*              SunOS 4.x disk label and allows 8 partitions per disk.
*
*      _SUNOS_VTOC_16:
*              In this format the incore vtoc image matches the ondisk
*              version.  It allows 16 slices per disk, and is not
*              compatible with the SunOS 4.x disk label.

#define _SUNOS_VTOC_8 I changed that to #define _SUNOS_VTOC_16

Also, there is NDKMAP to 16?

What I am thinking is about the SUN FE saying that this files are not read 
at boot-time or used by the OS?!

After the changes, I rebooted... however, I was not able to create slices 
higher than 0-7?  What am I missing?  Has anyone done this before?


#WORKS:
#fmthard -s vtoc8 /dev/rdsk/c0t1d0s2

# vtoc8
* /dev/rdsk/c0t0d0s2 partition map
*
* Dimensions:
*     512 bytes/sector
*     248 sectors/track
*      19 tracks/cylinder
*    4712 sectors/cylinder
*    7508 cylinders
*    7506 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       0      2    00          0        1000  999
       1      3    01          1000   1000  1999
       2      5    00          0  35368272  35368271
       3      1    00          2000  1000  2999
       4      1    00          3000  1000  3999
       5      1    00          4000  1000  4999
       6      1    00          5000  1000  5999
       7      1    00          6000 1000  6999


DOES NOT WORK:
fmthard -s vtoc16 /dev/rdsk/c0t1d0s2

# vtoc16
* /dev/rdsk/c0t0d0s2 partition map
*
* Dimensions:
*     512 bytes/sector
*     248 sectors/track
*      19 tracks/cylinder
*    4712 sectors/cylinder
*    7508 cylinders
*    7506 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       0      2    00          0        1000  999
       1      3    01          1000   1000  1999
       2      5    00          0  35368272  35368271
       3      1    00          2000  1000  2999
       4      1    00          3000  1000  3999
       5      1    00          4000  1000  4999
       6      1    00          5000  1000  5999
       7      1    00          6000  1000  6999
       8      1    00          0     0     0
       9      1    00          0     0     0
       10     1    00          0     0     0
       11     1    00          0     0     0
       12     1    00          0     0     0
       13     1    00          0     0     0
       14     1    00          0     0     0
       15     1    00          0     0     0

Conner
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
Received on Wed Jul 11 16:29:10 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:24:59 EDT