1834530 Members
3213 Online
110068 Solutions
New Discussion

lvceate

 
SOLVED
Go to solution
Sridhar R
Regular Advisor

lvceate

Hi,

I am in the process of creating a lvol and mounting it to a mount point in my HP-UX 11.23 server/

I was able to successfully create a lv. But not having a clue to proceed further.

Below is what i have done and it's output:

vorap101#lvcreate -n lvol12 -L 1024 -m 1 /dev/vg00
Logical volume "/dev/vg00/lvol12" has been successfully created with
character device "/dev/vg00/rlvol12".
Logical volume "/dev/vg00/lvol12" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf


I want to mount this lvol to a mount point named /sri

I would require the exact syntax to proceed further..

Require someone's help!!

Thanks!
4 REPLIES 4
AwadheshPandey
Honored Contributor
Solution

Re: lvceate

now you need to create a filesystem for new lvol
newfs -F vxfs -o largefiles (optional)/dev/vg00/rlvol12

and mount /dev/vg00/lvol12 /sri

if you want to mount this lvol at boot time also
add this line in /etc/fstab
/dev/vg00/lvol12 /sri vxfs delaylog 0 2

Regards,
Awadhesh
It's kind of fun to do the impossible
Jeeshan
Honored Contributor

Re: lvceate

then you must create the file system like below

newfs -F vxfs /dev/vg00/rlvol12

then mkdir like
mkdir /backup

then mount the file system

mount /dev/vg00/lvol12 /backup

a warrior never quits
Sridhar R
Regular Advisor

Re: lvceate

Thanks !
Jeeshan
Honored Contributor

Re: lvceate

if replies help you though,you may give remark for that, otherwise it should be one sided.

Unacceptable!!!!!!!!!!!!!!!
a warrior never quits