Sponsored Content
Operating Systems Linux Red Hat No space in volume group. How to create a file system using existing logical volume Post 302956858 by zaxxon on Monday 5th of October 2015 03:34:37 AM
Old 10-05-2015
You can not have 2 FS on 1 LV.
With LVM2 you can shrink a LV with the commands lvreduce or lvresize.
You will have to unmount the LV though.
After shrinking the existing, you will need to make room on the VG and create a second LV and FS.

Here are the schematics of LVM components:
https://www.redhat.com/magazine/009jul05/features/lvm2/

https://access.redhat.com/documentat...dministration/

I googled an easy HowTo for you:
Reducing a logical volume

Last edited by zaxxon; 10-05-2015 at 05:48 AM.. Reason: update
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

LVM - Extending Logical Volume within Volume Group

Hello, I have logical volume group of 50GB, in which I have 2 logical volumes, LogVol01 and LogVol02, both are of 10GB. If I extend LogVol01 further by 10GB, then it keeps the extended copy after logical volume 2. I want to know where it keeps this information Regards Himanshu (3 Replies)
Discussion started by: ghimanshu
3 Replies

2. AIX

Moving a Logical Volume from one Volume Group to Another

Does anyone have any simple methods for moving a current logical volume from one volume group to another? I do not wish to move the data from one physical volume to another. Basically, I want to "relink" the logical volume to exist in a different volume group. Any ideas? (2 Replies)
Discussion started by: krisw
2 Replies

3. HP-UX

Renaming logical volume group and volumes

Hi all, How do u rename a logical volume group and the logical volumes belonging to that? The logical volumes contain data and are in use. eg: Renaming dev/vgov to dev/ov-dg ? (6 Replies)
Discussion started by: Mr. Zer0
6 Replies

4. AIX

Basic Filesystem / Physical Volume / Logical Volume Check

Hi! Can anyone help me on how I can do a basic check on the Unix filesystems / physical volumes and logical volumes? What items should I check, like where do I look at in smit? Or are there commands that I should execute? I need to do this as I was informed by IBM that there seems to be... (1 Reply)
Discussion started by: chipahoys
1 Replies

5. AIX

Logical volume name conflict in two volume group

Hello, I am a french computer technician, and i speak English just a little. On Aix 5.3, I encounter a name conflict logical volume on two volume group. The first volume lvnode01 is OK in rootvg and mounted. It is also consistent in the ODM root # lsvg -l rootvg |grep lvnode01 ... (10 Replies)
Discussion started by: dantares
10 Replies

6. HP-UX

Unable To Extend the Size of a Logical Volume File System

Background: # uname -a HP-UX deedee B.11.23 U ia64 4294967295 unlimited-user license deedee.rsn.hp.com:/ # bdf /opt Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol6 6553600 6394216 158144 98% /opt /opt is almost full... (3 Replies)
Discussion started by: Rob Sandifer
3 Replies

7. UNIX for Dummies Questions & Answers

Filesystem not using all available space in Logical Volume

I am running HP-UX 11.31 ia64. The /usr filesystem shows 7 GB as the size, but the logical volume that is mounted there shows 13 GB. Is there a way to get the entire 13 GB to show up and why did this happen in the first place? (11 Replies)
Discussion started by: trojan28
11 Replies

8. UNIX for Dummies Questions & Answers

Confusion Regarding Physical Volume,Volume Group,Logical Volume,Physical partition

Hi, I am new to unix. I am working on Red Hat Linux and side by side on AIX also. After reading the concepts of Storage, I am now really confused regarding the terminologies 1)Physical Volume 2)Volume Group 3)Logical Volume 4)Physical Partition Please help me to understand these concepts. (6 Replies)
Discussion started by: kashifsd17
6 Replies

9. UNIX for Dummies Questions & Answers

How to create a volume group, logical volume group and file system?

hi, I want to create a volume group of 200 GB and then create different file systems on that. please help me out. Its becomes confusing when the PP calculating PP. I don't understand this concept. (2 Replies)
Discussion started by: kamaldev
2 Replies

10. Ubuntu

Rename Root Logical Volume group?

Hello, I'm running Ubuntu 12.04. I need to rename my root logical volume group and it's bootmanager/fstab accordingly. Here is the output: I need to change the HP-TEST001 to PRODGROUP01. Please advice me. root@PROD-02:/home# vgdisplay --- Volume group --- VG Name HP-TEST001 System ID... (2 Replies)
Discussion started by: moneynut
2 Replies
LVDISPLAY(8)						      System Manager's Manual						      LVDISPLAY(8)

NAME
lvdisplay - display attributes of a logical volume SYNOPSIS
lvdisplay [-c|--colon] [-d|--debug] [-h|-?|--help] [--ignorelockingfailure] [--maps] [-P|--partial] [-v|--verbose] LogicalVolumePath [Logi- calVolumePath...] DESCRIPTION
lvdisplay allows you to see the attributes of a logical volume like size, read/write status, snapshot information etc. lvs (8) is an alternative that provides the same information in the style of ps (1). lvs is recommended over lvdisplay. OPTIONS
See lvm for common options. -c, --colon Generate colon separated output for easier parsing in scripts or programs. N.B. lvs (8) provides considerably more control over the output. The values are: * logical volume name * volume group name * logical volume access * logical volume status * internal logical volume number * open count of logical volume * logical volume size in sectors * current logical extents associated to logical volume * allocated logical extents of logical volume * allocation policy of logical volume * read ahead sectors of logical volume * major device number of logical volume * minor device number of logical volume -m, --maps Display the mapping of logical extents to physical volumes and physical extents. Examples "lvdisplay -v /dev/vg00/lvol2" shows attributes of that logical volume. If snapshot logical volumes have been created for this original logical volume, this command shows a list of all snapshot logical volumes and their status (active or inactive) as well. "lvdisplay /dev/vg00/snapshot" shows the attributes of this snapshot logical volume and also which original logical volume it is associated with. SEE ALSO
lvm(8), lvcreate(8), lvscan(8) Sistina Software UK LVM TOOLS 2.02.44-cvs (02-17-09) LVDISPLAY(8)
All times are GMT -4. The time now is 04:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy