1825766 Members
2110 Online
109687 Solutions
New Discussion

Re: Creating Volumes

 
SOLVED
Go to solution
Jagadesh
Frequent Advisor

Creating Volumes

Is it possible to create logical volumes in SAM with out giving the mount point. It is asking for the mount point when i try to create Logical volume.

I need to create a logical volume first and at later point of time i need to mount the same.

Kindly help me out in this.
Thanks & Regards
Jagadesh
4 REPLIES 4
Jeff Schussele
Honored Contributor
Solution

Re: Creating Volumes

Hi Jagadesh,

Nope - not in SAM.
It wants to do the *complete* process.
To do what you want, you'll have to do it command line:
Create the LV
lvcreate -L xxxx -n lv_name vg_name #where xxxx=size in MB

Create the filesystem
newfs -F vxfs /dev/vg_name/rlv_name

Then you can mount it whenever.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
A. Clay Stephenson
Acclaimed Contributor

Re: Creating Volumes

If you are going to use SAM to do this then the easist way is to simply select "None (Raw)" for usage when you create the LVOL. You can always then come back later and create a filesystem and define the mountpoint.
If it ain't broke, I can fix that.
Robert-Jan Goossens
Honored Contributor

Re: Creating Volumes

# lvcreate -L ??? -n lvol? /dev/vg??
# newfs -F vxfs /dev/vg??/rlvol?

no mount at this time

later time create mount point.

# mkdir /??????
# mount /dev/vg??/lvol? /??????

Hope it helps,

Robert-Jan.
blal
Frequent Advisor

Re: Creating Volumes

Hi Jagadesh,

If you want to use SAM only then u can not avoid giving a mount point .

What you can do is give a mount point and in the FS options select mount on boot option.

And after creating the LV , SAM will put an additional line in fstab.Just vi fstab and remove that entry thats all.

The file system will be created , but it will not be mounted unless you do it manually.

Regds,
baiju
Live and let live.