Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

lvrename(8) [sunos man page]

LVRENAME(8)						      System Manager's Manual						       LVRENAME(8)

NAME
lvrename - rename a logical volume SYNOPSIS
lvrename [-A|--autobackup {y|n}] [-d|--debug] [-h|--help] [-t|--test] [-v|--verbose] [--version] [-f|--force] [--noudevsync] {OldLogi- calVolume{Name|Path} NewLogicalVolume{Name|Path} | VolumeGroupName OldLogicalVolumeName NewLogicalVolumeName } DESCRIPTION
lvrename renames an existing logical volume from OldLogicalVolume{Name|Path} to NewLogicalVolume{Name|Path}. OPTIONS
See lvm(8) for common options. --noudevsync Disable udev synchronisation. The process will not wait for notification from udev. It will continue irrespective of any possible udev processing in the background. You should only use this if udev is not running or has rules that ignore the devices LVM2 cre- ates. EXAMPLE
To rename lvold in volume group vg02 to lvnew: lvrename /dev/vg02/lvold vg02/lvnew An alternate syntax to rename this logical volume is: lvrename vg02 lvold lvnew SEE ALSO
lvm(8), lvchange(8), vgcreate(8), vgrename(8) Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) LVRENAME(8)

Check Out this Related Man Page

LVRENAME(8)                                                   System Manager's Manual                                                  LVRENAME(8)

NAME
lvrename - rename a logical volume SYNOPSIS
lvrename [-A|--autobackup {y|n}] [-d|--debug] [-h|--help] [-t|--test] [-v|--verbose] [--version] [-f|--force] [--noudevsync] {OldLogi- calVolume{Name|Path} NewLogicalVolume{Name|Path} | VolumeGroupName OldLogicalVolumeName NewLogicalVolumeName } DESCRIPTION
lvrename renames an existing logical volume from OldLogicalVolume{Name|Path} to NewLogicalVolume{Name|Path}. OPTIONS
See lvm(8) for common options. --noudevsync Disable udev synchronisation. The process will not wait for notification from udev. It will continue irrespective of any possible udev processing in the background. You should only use this if udev is not running or has rules that ignore the devices LVM2 cre- ates. EXAMPLE
To rename lvold in volume group vg02 to lvnew: lvrename /dev/vg02/lvold vg02/lvnew An alternate syntax to rename this logical volume is: lvrename vg02 lvold lvnew SEE ALSO
lvm(8), lvchange(8), vgcreate(8), vgrename(8) Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) LVRENAME(8)
Man Page

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

rename

hi, im doin an assignment which requires you to build a shell script to do the MS DOS style equivilant (sp?) of the rename function. What i have to do is a loop which checks the following rules and output messages (same): Can't have anything after target Can't have more than one dot Can't... (1 Reply)
Discussion started by: bohoo
1 Replies

2. UNIX for Dummies Questions & Answers

lvrename to a mounted device

Hi, I wanted to rename a filesystem but I forgot to unmount it before running lvrename and now it is still visible when doing df -k old name device: /dev/mapper/vg01-MGRSTR3 mounted as /MGRSTR3 new name: /dev/mapper/vg01-mgrusr3 mounted as /mgrusr3 when trying to unmount the old one... (2 Replies)
Discussion started by: galuzan
2 Replies

3. UNIX for Dummies Questions & Answers

Help with Unix file rename

Hi All, I have a unix file which is ceated with variable name, for example: FIRST_FILE_3456 and next time it will be FIRST_FILE_3457 and so on. I need to rename this file like PREV_FIRST_FILE_XXXX where XXXX is the variable part of the file FOR Example 3456 or 3457, etc. Please help to... (4 Replies)
Discussion started by: Mohammad T Khan
4 Replies

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