1837103 Members
2059 Online
110112 Solutions
New Discussion

LVM

 
SOLVED
Go to solution
Indrajit Bhagat
Regular Advisor

LVM

I want to know, that what is the purpose of mknod command used in volume group creation.

why we create a /dev/vg01 directory.
4 REPLIES 4
Sandman!
Honored Contributor

Re: LVM

See the manpage of lvm(7) for details:

# man 7 lvm
Pete Randall
Outstanding Contributor

Re: LVM

The mknod command is used to create a device file to access the VG with. Do a man on mknod as well as the man on lvm.


Pete

Pete
Avinash Agarkar
Valued Contributor
Solution

Re: LVM

Hi,

mknode create the device file to access the volume group it will also havng the maj and minor no which are different for all the volume groups.

/dev/vg01 is only a default naming conversion you can also create you own directory with deifferent vgname.

Thanks,
Avinash
Great Power Comes With Great Responsibility
Anshumali
Esteemed Contributor

Re: LVM

mknod is used to create a device file. More can be judged as
http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA1404126&listType=unassigned&forumId=1

isnt it?
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!