[Next] [Previous] [Up] [Top] [Contents]

2.2 Disk Partitions

2.2.3 SGI IRIX 5.X

IRIX 5.X uses and enhanced version of the Unix file system called the Extent File System (EFS) and allows up to 11 partitions on your disk, some of which are used for diagnostic purposes only. The disk format command is fx, which when using the /label/show/all menu shows:

# fx/label/show> all

----- current drive parameters-----

Error correction enabled Enable data transfer on error

Don't report recovered errors Do delay for error recovery

Don't transfer bad blocks Error retry attempts 1

Do auto bad block reallocation (read)

Do auto bad block reallocation (write)

Drive readahead enabled Drive buffered writes disabled

Drive disable prefetch 0 Drive minimum prefetch 0

Drive maximum prefetch 0 Drive prefetch ceiling 0

Number of cache segments 6 CTQ disabled

Read buffer ratio 0/256 Write buffer ratio 0/256

----- current drive geometry-----

Tracks/zone = 484 Sect/track = 108

Alt sect/zone = 50 Interleave = 1 Cylinders = 3875

Alt track/volume = 8 Cylinder skew = 15 Heads = 3

Alt track/zone = 1 Track skew = 11 Data bytes/sec = 512

Rotational rate = 4500

----- partitions-----

part type cyls blocks Megabytes (base+size)

0: efs 8 + 3053 2584 + 986119 1 + 482

1: raw 3061 + 253 988703 + 81719 483 + 40

8: volhdr 0 + 8 0 + 2584 0 + 1

10: volume 0 + 3314 0 + 1070422 0 + 523

----- bootinfo-----

root partition = 0 swap partition = 1 bootfile = /unix

----- directory entries-----

0: sgilabel block 2 size 512 2: ide block 288 size 977920

1: sash block 3 size 140800

----- sgi-info-----

serial = 0000 name = SGI IBMDSAS-3540 S47K

Here partition 0 contains the user files, including root, usr, etc. Larger systems may have /usr as a separate partition on partition 6. Swap is partition 1. The entire usable disk, excluding the volume header is partition 7. The volume header is on partition 8, including some diagnostic tools and standalone programs. The entire drive, including the volume header is partition 10. The prtvtoc command will provide similar information without the destructive danger of fx. The dvhtool command can be used to report or change the disk volume header. To list the header information a command similar to the following will work, specifying the raw device for the volume header:

# dvhtool -v list /dev/rdsk/dks0d1vh

Current contents:

File name Length Block #

sgilabel 512 2

sash 140800 3

ide 977920 288

In this listing sash is the standalone shell.

You can set aside additional maintenance partitions, if you have the disk space.


Unix System Administration - 8 AUG 1996
[Next] [Previous] [Up] [Top] [Contents]