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
lvrmboot(1M)															      lvrmboot(1M)

NAME
lvrmboot - remove LVM logical volume link to root, primary swap, or dump volume SYNOPSIS
autobackup] dump_lv] vg_name Remarks cannot be performed if the volume group is activated in shared mode. DESCRIPTION
This command is supported for arguments belonging to volume groups version 1.0. Attempting this command with arguments belong to volume groups version 2.0 or higher will result in an error. The command updates all physical volumes contained in the volume group vg_name such that the logical volume is removed as a root, primary swap, or dump volume when the system is next booted on the volume group. Options and Arguments recognizes the following options and arguments: vg_name The path name of the volume group. Set automatic backup for this invocation of this command. autobackup can have one of the following values: Automatically back up configuration changes made to the logical volume. This is the default. After this command executes, the command (see vgcfgbackup(1M)) is executed for the volume group to which the logical volume belongs. Do not back up configuration changes this time. Remove the definition of dump_lv as one of the dump volumes. Update the Boot Data Reserved Area. This option will be obsolete in the next HP-UX release. Remove the definitions of all of the root, primary swap, and all dump volumes from the given volume group. Update the Boot Data Reserved Area. Remove the definition of the primary swap volume from the given volume group. Update the Boot Data Reserved Area. This option will be obsolete in the next HP-UX release. Print verbose messages. EXTERNAL INFLUENCES
Environment Variables determines the language in which messages are displayed. If is not specified or is null, it defaults to "C" (see lang(5)). If any internationalization variable contains an invalid setting, all internationalization variables default to "C" (see environ(5)). EXAMPLES
Specify that the logical volume should be removed as one of the dump logical volumes: Specify that volume group should no longer be a root volume group. Primary swap and dump are also removed. SEE ALSO
lvlnboot(1M), lvmadm(1M). lvrmboot(1M)
All times are GMT -4. The time now is 07:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy