Operating System - HP-UX
1752798 Members
5648 Online
108789 Solutions
New Discussion

Re: how to partion a disk in HPUX?

 
SOLVED
Go to solution
datbtd
Occasional Advisor

Re: how to partition a disk in HPUX?

thanks g3jza.

 

Strange, still can't see the partition

 

ioscan -m dsf /dev/rdsk/c1t2d0
Persistent DSF           Legacy DSF(s)
========================================
/dev/rdisk/disk11        /dev/rdsk/c1t2d0

 

# ioscan -fnN
Class        I  H/W Path       Driver       S/W State   H/W Type     Description
=================================================================================
root         0                 root           CLAIMED     BUS_NEXUS   
ioa          0  0              sba            CLAIMED     BUS_NEXUS    System Bus Adapter (4030)
ba           0  0/0            lba            CLAIMED     BUS_NEXUS    Local PCI-X Bus Adapter (122e)
tty          0  0/0/1/0        rmp3f01        CLAIMED     INTERFACE    PCI class(255,0) (103c1303)
tty          1  0/0/1/1        rmp3f01        CLAIMED     INTERFACE    PCI SimpleComm (103c1302)
tty          2  0/0/1/2        asio0          CLAIMED     INTERFACE    PCI Serial (103c1048)
disk         2  64000/0xfa00/0x0                esdisk         CLAIMED     DEVICE       HP      IR Volume
                              /dev/disk/disk2      /dev/disk/disk2_p3   /dev/rdisk/disk2_p2
                              /dev/disk/disk2_p1   /dev/rdisk/disk2     /dev/rdisk/disk2_p3
                              /dev/disk/disk2_p2   /dev/rdisk/disk2_p1
disk         3  64000/0xfa00/0x1                esdisk         CLAIMED     DEVICE       HP      DG146BB976
                              /dev/disk/disk3   /dev/rdisk/disk3
disk         5  64000/0xfa00/0x2                esdisk         CLAIMED     DEVICE       TEAC    DVD-ROM DW-224EV
                              /dev/disk/disk5   /dev/rdisk/disk5
disk        10  64000/0xfa00/0x6                esdisk         CLAIMED     DEVICE       HP 146 GMBA3147NC
                              /dev/disk/disk10   /dev/rdisk/disk10
disk        11  64000/0xfa00/0x7                esdisk         CLAIMED     DEVICE       HP 146 GMBA3147NC
                              /dev/disk/disk11   /dev/rdisk/disk11
disk        12  64000/0xfa00/0x8                esdisk         CLAIMED     DEVICE       HP 146 GMBA3147NC
                              /dev/disk/disk12   /dev/rdisk/disk12
disk        13  64000/0xfa00/0x9                esdisk         CLAIMED     DEVICE       HP 146 GMBA3147NC
                              /dev/disk/disk13   /dev/rdisk/disk13
tape         2  64000/0xfa00/0xe                estape         CLAIMED     DEVICE       HP      DAT160
                              /dev/rtape/tape2_BEST    /dev/rtape/tape2_BESTn
                              /dev/rtape/tape2_BESTb   /dev/rtape/tape2_BESTnb

 

# ioscan -m dsf /dev/rdsk/c1t2d0
Persistent DSF           Legacy DSF(s)
========================================
/dev/rdisk/disk11        /dev/rdsk/c1t2d0

 

 

 

g3jza
Esteemed Contributor
Solution

Re: how to partition a disk in HPUX?

Hi,

try creating the DSF manually by issuing:

#insf -v -e

datbtd
Occasional Advisor

Re: how to partition a disk in HPUX?

Oh, It's OK now.

 

# ioscan -m dsf
Persistent DSF           Legacy DSF(s)
========================================
/dev/rdisk/disk2         /dev/rdsk/c2t1d0
/dev/rdisk/disk2_p1      /dev/rdsk/c2t1d0s1
/dev/rdisk/disk2_p2      /dev/rdsk/c2t1d0s2
/dev/rdisk/disk2_p3      /dev/rdsk/c2t1d0s3
/dev/rdisk/disk3         /dev/rdsk/c2t0d0
/dev/rtape/tape2_BEST    /dev/rmt/c0t4d0BEST
/dev/rtape/tape2_BESTn   /dev/rmt/c0t4d0BESTn
/dev/rtape/tape2_BESTb   /dev/rmt/c0t4d0BESTb
/dev/rtape/tape2_BESTnb   /dev/rmt/c0t4d0BESTnb
/dev/rdisk/disk5         /dev/rdsk/c3t0d0
/dev/rdisk/disk10        /dev/rdsk/c1t0d0
/dev/rdisk/disk11        /dev/rdsk/c1t2d0
/dev/rdisk/disk11_p1     /dev/rdsk/c1t2d0s1
/dev/rdisk/disk11_p2     /dev/rdsk/c1t2d0s2
/dev/rdisk/disk11_p3     /dev/rdsk/c1t2d0s3

 

You are god:smileyhappy:

g3jza
Esteemed Contributor

Re: how to partition a disk in HPUX?

If you are satisfied with the answers we gave you, you can assign kudos (stars) as acknowledgement.
pyxx90
Frequent Visitor

Re: how to partion a disk in HPUX?

Usually, people partition a disk with command.first,Click Start or open Run from the app screen. Typing the command “disk part” in the search box, clicking Okkey, the command prompt would be opened.

Following the next steps:

 

•Typing the command “list disk”, you will see the disk info

•Select one disk which is available, exp, typing “select disk#” and in the CLI you will see the message of “disk# is now the selected disk”

•Typing “list partition” , you will see the info of available partition

•Typing “select partition#”, you will see the message “partition# is now the selected partition”

•Typing “extend size=x MB/shrink minimum=x MB”. It’s success when you see the message” Disk part successfully extended the volume/Disk part successfully shrunk the volume by: x MB (the size you inputted)   

Just do likewise; you’ll succeed in resizing partition.

That’s it. Not comfortable working with commands? Indeed, it’s complex and time-consuming. Besides, there are limitations for both two types. That is, if there’s not enough free space for disk, you cannot resize partition. On the other hand, you can only shrink a volume by its half size even if there is enough space. Nevertheless, we provide you another easier way in doing so. Partition assistant server edition, which makes disk management an easy work, what performs all the advanced functions well, including create, delete, merge and split partition, etc. once installed the software. it’s a great help for all users. 

 Learn more http://www.disk-partition.com/free-partition-manager.html

I attached a file for u,maybe u could read it,and than u will clearly understand the way.