Operating System - HP-UX
1825782 Members
2180 Online
109687 Solutions
New Discussion

vg00 and directory structure

 
christian_derek
Regular Advisor

vg00 and directory structure

Hi,

On my hpux 11iv3 I need to build some vg (lun from EVA4400) and I was wondering how should I do this.

I have currently vg create in this format vg_client1_prod vg_client1_test

and logical volume
/dev/vg_client1_prod/lvol_data
/dev/vg_client1_prod/lvol_opt
/dev/vg_client1_prod/lvol_etc

Here is the final result I want ...

/prod/client1/data,/prod/client1/apps,/prod/client1/var ...
/prod/client2/data ...
/test/client1/data ...
/train/client1/data ...

should I build on vg00 my structure /prod/client1,/test/client1 and /train/client1 and mount my file system to /prod/client1/data from my lv lvol_data?

Thanks,
3 REPLIES 3
Mel Burslan
Honored Contributor

Re: vg00 and directory structure

It is generally not a good idea to put application data on vg00. vg00 should be reserved for operating system. Rest of the data should be placed on a separate volume group or groups, depending on your preference. This way, especially data residing on SAN, you will have a chance of exporting these separate volume groups and after rezoning the devices to a different server, you cana import them on a totally different server, say for backup purposes as the most common example that comes to mind.
________________________________
UNIX because I majored in cryptology...
SoorajCleris
Honored Contributor

Re: vg00 and directory structure

Hi,

It is always good that you have you other volumes( data and app) in other VGs.

There are somany reasons for this.

Mirror, backup, management, availability everything..

Mounting you can do as you wish.

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
christian_derek
Regular Advisor

Re: vg00 and directory structure

sorry for the confusion,

only /prod/client1 would be on vg00 and the rest will be mount point.

/prod/client1/data = /dev/vg_client1_prod/lvoldata

Thanks,