Operating System - HP-UX
1837984 Members
2776 Online
110124 Solutions
New Discussion

hp-ux 9.04 create disk patition

 
Panuwat
Advisor

hp-ux 9.04 create disk patition

Hi all,

I have HP-UX 9.04. I want to add new disk device (model C2477) into the system.

The /etc/disktab >>
C2247|C2247Y1|C2247M1|C2247WD|DSP3107LS|DSP3107LSW|ST31200N|ST31200W|\
ST31230N|ST31230W|C3324AM|C3324WD:\
:ty=winchester:ns#48:nt#13:nc#1646:rm#5400:\
:s0#24280:b0#8192:f0#1024:\
:s1#48560:b1#8192:f1#1024:\
:s2#1027432:b2#8192:f2#1024:\
:s3#29298:b3#8192:f3#1024:\
:s4#107426:b4#8192:f4#1024:\
:s5#685480:b5#8192:f5#1024:\
:s6#1998:b6#8192:f6#1024:\
:s7#75504:b7#8192:f7#1024:\
:s8#822760:b8#8192:f8#1024:\
:s9#793432:b9#8192:f9#1024:\
:s10#129024:b10#8192:f10#1024:\
:s11#951928:b11#8192:f11#1024:\
:s12#1024936:b12#8192:f12#1024:\
:s13#976264:b13#8192:f13#1024:\
:s14#24280:b14#8192:f14#1024:\
:s15#48560:b15#8192:f15#1024:
My step is
1. ioscan -fnC disk
2. insf -e
3. mknod /dev/dsk/c2d0s11 b 7 0x020011
mknod /dev/rdsk/c2d0s11 c 47 0x020011
4. newfs /dev/rdsk/c2d0s11 C2477

Why the command "newfs /dev/rdsk/c2d0s11 C2477" is not success? It return error "can't open device /dev/rdsk/c2d0s11".

Thank you.

3 REPLIES 3
Ravi_8
Honored Contributor

Re: hp-ux 9.04 create disk patition

Hi

Still in old age, I don't think even HP could help you.

what is the type of file system are you using?

newfs -F /dev/rdsk/c2d0s11 C2477

could help you
never give up
Panuwat
Advisor

Re: hp-ux 9.04 create disk patition

Hi Ravi,

Thank for your response.

The option -F of newfs in HP-UX 9.04 is not the file system type. But it is force.

I run a command "newfs -F /dev/rdsk/c2d0s11 C2247" not success. It still return error "Can't open device /dev/rdsk/c2d0s11".

Thank you.
Stephen Keane
Honored Contributor

Re: hp-ux 9.04 create disk patition

What does

ll /dev/rdsk/c2d0s11 /dev/dsk/c2d0s11

and

diskinfo -v /dev/rdsk/c2d0s11

give you?