Operating System - HP-UX
1834150 Members
2127 Online
110064 Solutions
New Discussion

Re: new harddisk parameters in disktab

 
stephan berger
Occasional Contributor

new harddisk parameters in disktab

i want to add a new scsi harddisk in my c100 workstation, but it has not been recognized correctly. it is a ST19171W disk with 9,1GB but the new entry in /etc/disktab gives only about 4,5GB... it says also 3600rpm but this disk has 7200rpm. Now i want to manipulate disktab but i don't know the parameters corresponding to my disk.
anything may happen
3 REPLIES 3
Andreas Voss
Honored Contributor

Re: new harddisk parameters in disktab

Hi,

what is your OS version (HP-UX 9.07) ?
If so you can add a disk entry with
/etc/newdisk /dev/rdsk/....
If your OS is 10.x you dont need disktab entry. Just use newfs /dev/dsk/....
Bill Hassell
Honored Contributor

Re: new harddisk parameters in disktab

disktab was rendered obsolete early in 10.x releases. newfs now queries the disk to determine the available space and creates the values for mksf automatically. Be sure to use the raw device file when creating a file system on the logical volume(s), ie, /dev/vg01/rlvol1 or /dev/rdsk/c0t2d0 for example. You can read the disk information with diskinfo. Use the raw device file for the physical disk (/dev/rdsk/c.....


Bill Hassell, sysadmin
Gadi
Advisor

Re: new harddisk parameters in disktab

Hi,

If you realy need an entry in the /etc/disktab for ST19171W, try this:

SEAGATE_ST19171W:
:9.1 GB:ns#94:nt#20:nc#4832:
:s0#9084160:b0#8192:f0#1024:
:se#512:rm#7200:

Bye,
Gadi