Operating System - HP-UX
1752866 Members
4417 Online
108791 Solutions
New Discussion юеВ

Re: changing path in mknod while creating new vg

 
newunix
Frequent Advisor

changing path in mknod while creating new vg

what will happen if /dev path is changed while creating new vg

will there be any impact
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor

Re: changing path in mknod while creating new vg

Hi:

Why would you want to use a path other than '/dev'?

For starters, '/dev' isn't a separate mountpoint from '/' so it is always available even in single-user mode. I believe that the LVM module expects its device files in '/dev'.

Regards!

...JRF...
Steven E. Protter
Exalted Contributor

Re: changing path in mknod while creating new vg

Shalom,

You should not change your path.

Your volume group may not work.

LVM utilities would not be able to properly maintain the structure.

This is not an area where you can be creative.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jose Mosquera
Honored Contributor

Re: changing path in mknod while creating new vg

Hi,

Curious question, I had never thought of it because as a rule I never tried to skip it. Well, I have reviewed mknod(2) and no validation of the path that references should be "/dev". In any case I urge you to order and for reasons of standard definitions of the system you do not consider this possibility.

About the impact on the system will surely be chaos!

Rgds.