Operating System - HP-UX
1748169 Members
4062 Online
108758 Solutions
New Discussion юеВ

Re: Create New FS on HP-UX 11.0

 
SOLVED
Go to solution
Robb Bailey
Occasional Advisor

Create New FS on HP-UX 11.0

L1000, 11.0 OS

AutoRAID Array Model 12H w/ 12 18.2 GB disks

Online JFS installed



I have listed other information below.



I need to create a new filesystem of about 30 GB that can handle large files. I am going to mount this filesystem to another Unix server and dump a database.



I thought I could just go into Sam and create a new volume group, but when I get to the select disks part I am only given the option of the unused internal drive DMVS09D and the unused 2 GB LUN.



Viewing array status all 12 disks are included, with 121 GB unallocated.



My question is, how do I get to all of my other disks? Do I need to go through the arraymgr?



Thank you for your help.



Robb



Here is my current bdf:



Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 143360 61781 76522 45% /
/dev/vg00/lvol1 83733 38280 37079 51% /stand
/dev/vg00/lvol8 1105920 879962 216935 80% /var
/dev/vg00/lvol7 1179648 645658 500645 56% /usr
/dev/vg00/lvol4 307200 213746 87642 71% /tmp
/dev/sybase/sybasefs
15302656 11514092 3670464 76% /sybase
/dev/vg00/lvol6 1024000 820608 190724 81% /opt
/dev/vg00/lvol5 204800 55583 139948 28% /home
/dev/dsk/c3t2d0 393436 393436 0 100% /cdrom
/dev/backup/backupfs
20381696 800128 19275668 4% /backup



Disk Devices via SAM


Hardware Number Volume Total
Path of Paths Use Group Mbytes Description
0/0/1/1.2.0 1 LVM vg00 8683 IBM DMVS09D
0/0/2/0.2.0 1 Unused -- 8683 IBM DMVS09D
0/0/2/1.2.0 1 CDFS -- 384 HP DVD-ROM SCSI Drive
0/4/0/0.0 2 -- -- -- HP AutoRAID Disk Array Controller
0/4/0/0.0.0 2 Unused -- 2048 HP AutoRAID LUN
0/4/0/0.0.1 2 LVM sybase 15000 HP AutoRAID LUN
0/4/0/0.0.2 2 LVM backup 20000 HP AutoRAID LUN

ioscan -funC disk



Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 0 0/0/1/1.2.0 sdisk CLAIMED DEVICE IBM DMVS09D
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 1 0/0/2/0.2.0 sdisk CLAIMED DEVICE IBM DMVS09D
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
disk 2 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 304
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 3 0/4/0/0.0.0 sdisk CLAIMED DEVICE HP C5447A
/dev/dsk/c5t0d0 /dev/rdsk/c5t0d0
disk 5 0/4/0/0.0.1 sdisk CLAIMED DEVICE HP C5447A
/dev/dsk/c5t0d1 /dev/rdsk/c5t0d1
disk 7 0/4/0/0.0.2 sdisk CLAIMED DEVICE HP C5447A
/dev/dsk/c5t0d2 /dev/rdsk/c5t0d2
disk 4 0/7/0/0.1.0 sdisk CLAIMED DEVICE HP C5447A
/dev/dsk/c6t1d0 /dev/rdsk/c6t1d0
disk 6 0/7/0/0.1.1 sdisk CLAIMED DEVICE HP C5447A
/dev/dsk/c6t1d1 /dev/rdsk/c6t1d1
disk 8 0/7/0/0.1.2 sdisk CLAIMED DEVICE HP C5447A
/dev/dsk/c6t1d2 /dev/rdsk/c6t1d2


7 REPLIES 7
Pete Randall
Outstanding Contributor

Re: Create New FS on HP-UX 11.0

Robb,

It sounds like your AutoRAID LUNs have already been included into a Volume Group. A vgdisplay -v would show this. It would also show whether you have excess space in your Volume Group(s).


Pete

Pete
Robb Bailey
Occasional Advisor

Re: Create New FS on HP-UX 11.0

Here is the vgdisplay -v.
DIPAK KUMAR ROY
Frequent Advisor

Re: Create New FS on HP-UX 11.0

Use SAM to create new LUNs first. You can create 2 LUN of 20GB each.

(SAM... Disk and Filesystem.. select AUTORAID.. Select Bind LUN).

Once the LUNs are created you can use SAM / command line to create VG -> LV-> FS

Thanks
Pete Randall
Outstanding Contributor

Re: Create New FS on HP-UX 11.0

Robb,

According to that, I don't see one disk being used: /dev/dsk/c5t1d0 and it's alternate path /dev/dsk/c6t1d0. Perhaps these need to be included into a new lun?


Pete

Pete
RolandH
Honored Contributor
Solution

Re: Create New FS on HP-UX 11.0

arraycfg -L LUN -a capacity

LUN - must be an unused value between 0 and 7
Capacity - must be less than or equal to the currently available unallocated capacity

with that you create a new LUN.

check unused LUN-ID with arraydsp -l

you get the array-id with arraydsp -i

you can check if you have enough unallocated space in your array with arraydsp -i


So I think to get a new LUN with 30GB you have to do this.

# arraydsp -i (to get array-id)
# arraydsp -l (to get free LUN-Number)

# arraycfg -L -a

# ioscan
# ioscan -fnCdisk
# insf -f (create device file for new LUN)

Now use SAM or CL to create your new vg that has enough space for your db backup.

Hope it helps !!

Roland
Sometimes you lose and sometimes the others win
RolandH
Honored Contributor

Re: Create New FS on HP-UX 11.0

One typo:

to check unallocated space in array:
# arradsp -a |more

!!!!Notice!!!!

Unallocated disk
array capacity
Performance.

Unallocated capacity is used as additional RAID 0/1
space. The amount of RAID 0/1 space required to maintain optimal
performance is determined by the write working set parameter.

Roland
Sometimes you lose and sometimes the others win
Robb Bailey
Occasional Advisor

Re: Create New FS on HP-UX 11.0

Thank you all for your help.

Robb