Sponsored Content
Operating Systems HP-UX Renaming logical volume group and volumes Post 302247847 by trek7300 on Thursday 16th of October 2008 12:33:14 PM
Old 10-16-2008
Renaming lvols

This should rename the lvols. Once you do that then you can use vgexport and rename the VG's with a map file. Best to try this on a test VG first.

1. umount /<oldname>
2. mv /dev/vgxx/<oldname> /dev/vgxx/<newname>
mv /dev/vgxx/r<oldname> /dev/vgxx/r<newname>
3. Modify the /etc/fstab file to reflect the newname.
4. mount /dev/vgxx/<newname> /<oldname>
or
mount -a
NOTE: if you would also like to change the mount point to <newname>
do the following before step 3 above:
mkdir <newname>
rmdir <oldname>
Then modify step 3 and 4 above to reflect the newname
 

10 More Discussions You Might Find Interesting

1. News, Links, Events and Announcements

Did not know about logical volumes

I had just updated - reinstalled - my RH9 to a Fedore Core 3. I did not know about the Logical volumes that automatically combined partitions on drive 1 and 2 into one mounted volume. In my attempts to do something with the hdb2 partition - not knowing that it was already in use - I killed my... (2 Replies)
Discussion started by: gezi
2 Replies

2. 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

3. 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

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. HP-UX

Unmount and remove all Logical vol.Volume group and physical disk

Hi, Someone please help me with how i can unmount and remove all the files systems from a cluster. This is being shared by two servers that are active_standby. (3 Replies)
Discussion started by: joeli
3 Replies

6. 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

7. 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

8. 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

9. 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

10. Red Hat

No space in volume group. How to create a file system using existing logical volume

Hello Guys, I want to create a file system dedicated for an application installation. But there is no space in volume group to create a new logical volume. There is enough space in other logical volume which is being mounted on /var. I know we can use that logical volume and create a virtual... (2 Replies)
Discussion started by: vamshigvk475
2 Replies
LIBPERFUSE(2)						      BSD System Calls Manual						     LIBPERFUSE(2)

NAME
perfuse_mount, perfuse_open -- Request a puffs(3) mount from perfused(8) LIBRARY
library ``libperfuse'' SYNOPSIS
#include <perfuse.h> int perfuse_mount(const char *source, const char *dir, const char *filesystemtype, long int mountflags, void *data); int perfuse_open(const char *path, int flags); DESCRIPTION
perfuse_mount() sends a mount request to perfused(8). It is intended as a drop-in replacement for mount(2) for FUSE file systems daemons and libraries, so that they can work with perfused(8). The function prototype mimics Linux's mount(2), with the following arguments: source The source file system that will appear in df(1) and mount(8) listings. Defaults to /dev/fuse if NULL. dir The file system mount point. filesystemtype The file system type, as displayed by df(1) and mount(8). Defaults to ``fuse'' if NULL. mountflags This contains the same value as a mount(2) flags argument. data This contains the same value as a mount(2) data argument. perfuse_open() is a drop-in replacement for the open(2) system call where /dev/fuse is used. If path is different than /dev/fuse, perfuse_open() handles control to the regular open(2). RETURN VALUES
perfuse_mount() returns a file descriptor to the /dev/fuse socket on success, and causes exit on failure. SEE ALSO
df(1), mount(2), open(2), mount(8), perfused(8) AUTHORS
The program was written by Emmanuel Dreyfus <manu@NetBSD.org>. BSD
August 12, 2010 BSD
All times are GMT -4. The time now is 05:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy