LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-14-2012, 11:31 AM   #1
mahmoodn
Member
 
Registered: May 2010
Posts: 427

Rep: Reputation: 16
lvcreate says "Path required for Logical Volume"


I have used the guide How To Create LVM Using vgcreate, lvcreate, and lvextend lvm2 Commands however when I run the command

Code:
sudo lvcreate -c 64 -s -i 3 -I 65536 -l 715401 -n orcavolume orcafiler1
I get this error:
Code:
  Path required for Logical Volume "orcafiler1"
  The origin name should include the volume group.
  Run `lvcreate --help' for more information.
Here are the information:
Code:
mahmood@srv:~$ sudo pvscan
[sudo] password for mahmood:
  PV /dev/sdc   VG orcafiler1   lvm2 [931.51 GiB / 931.51 GiB free]
  PV /dev/sdd   VG orcafiler1   lvm2 [931.51 GiB / 931.51 GiB free]
  PV /dev/sde   VG orcafiler1   lvm2 [931.51 GiB / 931.51 GiB free]
  Total: 3 [2.73 TiB] / in use: 3 [2.73 TiB] / in no VG: 0 [0   ]
and
Code:
mahmood@srv:~$ sudo vgdisplay
  --- Volume group ---
  VG Name               orcafiler1
  System ID
  Format                lvm2
  Metadata Areas        3
  Metadata Sequence No  1
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                0
  Open LV               0
  Max PV                0
  Cur PV                3
  Act PV                3
  VG Size               2.73 TiB
  PE Size               4.00 MiB
  Total PE              715401
  Alloc PE / Size       0 / 0
  Free  PE / Size       715401 / 2.73 TiB
  VG UUID               RfdmkM-LHVF-GD0p-k0wF-2ogI-n1jN-JikdOn

Last edited by mahmoodn; 10-14-2012 at 12:49 PM.
 
Old 10-15-2012, 10:03 AM   #2
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
I am not so good with LVM but you can try this command to create logical volume

What output do you get from

Code:
$ sudo lvcreate -L 700G -n orcavolume orcafiler1
or if it is asking for the path you can mention as it must be in /dev/orcafiler1
 
Old 10-20-2012, 08:12 PM   #3
herkalurk
Member
 
Registered: Oct 2012
Location: Portland
Distribution: CentOS 6/7 at home, RHEL5/6/7 at work
Posts: 34

Rep: Reputation: 2
I would also get away from -l and use -L and a simpler size like deep suggested.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Nmap - install required lib "http" and "shortport" dc_eros Slackware 1 10-07-2010 09:26 PM
BASH:find out if volume "foo"/folder "goo" can be written to SilversleevesX Programming 2 08-28-2010 10:03 AM
2 logical Volumes in volume group "VolGroup00" now active shivaraj.shetty Linux - Kernel 4 04-15-2008 02:11 AM
Logical Volume Management "pvmove" Question jamida Linux - Software 1 02-23-2008 09:56 AM
(URGENT) Fedora Core 6 - Could not find logical volume "VolGroup00" linxnoob Linux - General 3 07-07-2007 05:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration