Advant Disktab Entries
A description of this resolution:
- Calculating a disktab entry
Determining Configured Disks:
bdf
returns:
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c201d6s0 349344 307201 7208 98% /
/dev/dsk/c201d5s0 1181838 921116 201630 82% /disc
Determining Disk type:
diskinfo /dev/rdsk/c201d#s0
where # is the scsi address
returns:
SCSI describe of /dev/rdsk/c201d6s0:
vendor: SEAGATE
product id: ST31230N
type: direct access
size: 1025730 Kbytes
bytes per sector: 512
Calculating a Disktab Entry:
SEAGATE_ST11200N_noswap|SEAGATE_ST11200N_noreserve:
:No swap or boot:ns#38:nt#13:nc#2075:
:s0#1025050:b0#8192:f0#1024:
:se#512:rm#5400:
Formulas:
nc = nc - ((MB/f0 * ns * nt) * 1000000)
s0 = ns * nt * nc
Example: Calculate a 64MB entry for the ST11200N disk
nc = 2075 - ((64/1024*38*13)*1000000)
nc = 1948
s0=38*13*1948=962312
The new entry becomes:
SEAGATE_ST11200N_noswap|SEAGATE_ST11200N_noreserve:
:No swap or boot:ns#38:nt#13:nc#1948:
:s0#962312:b0#8192:f0#1024:
:se#512:rm#5400:
'Advant Disktab Entries' resolves the following:
- How do I calculate a disktab entry?
- Article imported from the previous version of KnowledgeBank
Add new comment