Operating System - HP-UX
1753964 Members
7065 Online
108811 Solutions
New Discussion юеВ

Re: VG creation on HPUX 11.31

 
Trng
Super Advisor

VG creation on HPUX 11.31

Dear All,

i am new to 11.31 os.i am need for creating some new fileystms in 11.31.How to create ,any diff from 11.23 ?pls provide me the step by step procedure(already exisiting vg are showing /dev/disk/diskNN in /etc/lvmtab) ...

administrator
11 REPLIES 11
Suraj K Sankari
Honored Contributor

Re: VG creation on HPUX 11.31

Hi,
If you already have vg then just using lvcreate command you can create new lv see the example
lvcreate -L sizeinMB -n myvolume vgname
here -L Size of logical volume in megabytes
-n is name of your lv.

#lvcreate -L 1024 -n lvol4 vg03
#newfs -F vxfs -o largefiles /dev/vg03/rlvol4
#mkdir /data
#mount /dev/vg03/lvol4 /data
add entry into /etc/fstab
# vi /etc/fstab
/dev/vg03/lvol4 /data vxfs defaults 0 2

same you can do using shm in 11.31

Suraj
avizen9
Esteemed Contributor

Re: VG creation on HPUX 11.31

attached here vg & lvm creation guid, alwasy keep it with you, thanks,
avizen9
Esteemed Contributor

Re: VG creation on HPUX 11.31

here it is
smatador
Honored Contributor

Re: VG creation on HPUX 11.31

Hi,
A good white paper about 11.31 and lvm v2
http://docs.hp.com/en/lvm-v2/L2_whitepaper_8.pdf
In this case you use for example the option -V.
Hope it helps
Aryan
Advisor

Re: VG creation on HPUX 11.31

Document attached...

Regards,
Aaryan
Trng
Super Advisor

Re: VG creation on HPUX 11.31

Hi ,

thanks for all replys ..

i ahve assineged few luns from storage and should i use insf or something else to create persistent device (/dev/dsk/diskNN)

administrator
Mark S Meadows
Valued Contributor

Re: VG creation on HPUX 11.31

The persistent device files reside under /dev/disk/* and /dev/rdisk/* respectively.

The commands you need to run are :

ioscan -funNCdisk
insf -eCdisk
ioscan -funNCdisk

Regards,

Mark
Administrating HP-UX systems for more years than I care to admit, but still enjoying it (most of the time!).
Trng
Super Advisor

Re: VG creation on HPUX 11.31

Dear All,

if i do insf ,whether it will create both /dev/rdsk/cxtxdx and /dev/rdisk/diskNN ????




administrator
Mark S Meadows
Valued Contributor

Re: VG creation on HPUX 11.31

If you run the above command insf -eCdisk it should create both the legacy and persistent device files, i.e. :

/dev/dsk/*
/dev/rdsk/*
/dev/disk/*
/dev/rdisk/*

if the new luns have been presented to the system and the system can see them.

Regards,

Mark
Administrating HP-UX systems for more years than I care to admit, but still enjoying it (most of the time!).