01-22-2008
I found the answer after some search
I found the answer, I'll post it to benefit all of you, here are the steps
1. Unexport the file system by entering:
exportfs -u /dirname
where dirname is the name of the file system you want to change, in this case /home3.
2. Open the /etc/exports file with your favorite text editor.
3. Make whatever changes you want.
4. Save and close the /etc/exports file.
5. Re-export the file system by entering:
exportfs /dirname
where dirname is the name of the file system you just changed in this case is /home3
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have a Volume group on one of my production box. The no of PV's within the same is 16 which I need to increase.
How can this be done ?
Can this be done online or do we need a downtime for this ?
Please provide the exact details and steps for this activity urgently, as need to do this on my... (3 Replies)
Discussion started by: kpatel786
3 Replies
2. UNIX for Advanced & Expert Users
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
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
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
5. AIX
hi admins,
SUR0903:/tmp/MSA_tmp#exportvg vgiWWDWHA01
0516-772 exportvg: Unable to export volume group vgiWWDWHA01
do you have any idea how to fix it? (2 Replies)
Discussion started by: hmaiida
2 Replies
6. AIX
Hi,
I have a 2 node Cluster. Which is working in active/passive mode (i.e Node#1 is running and when it goes down the Node#2 takes over)
Now there's this requirement that we need a mount point say /test that should be available in active node #1 and when node #1 goes down and node#2 takes... (6 Replies)
Discussion started by: aixromeo
6 Replies
7. UNIX for Dummies Questions & Answers
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
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. Red Hat
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
10. AIX
I'm trying to change volume group of a disk, I'm setting up a PowerHa cluster and need to create a volume group named caavg_private and assigne it to hdisk3.
what is the right methods (commands) of doing this?
hdisk0 00f9a6dc66a06fcf None ... (1 Reply)
Discussion started by: spiderpig
1 Replies
LEARN ABOUT REDHAT
lvrename
LVRENAME(8) System Manager's Manual LVRENAME(8)
NAME
lvrename - rename a logical volume
SYNOPSIS
lvrename [-A|--autobackup {y|n}] [-d|--debug] [-h|--help] [-v|--verbose] [--version]
{OldLogicalVolumePath NewLogicalVolume{Path|Name} |
VolumeGroupName OldLogicalVolumeName NewLogicalVolumeName}
DESCRIPTION
lvrename renames an existing logical volume from OldLogicalVolume{Name|Path} to NewLogicalVolume{Name|Path}.
OPTIONS
-A, --autobackup {y|n}
Controls automatic backup of VG metadata after the change (see vgcfgbackup(8)). Default is yes.
-d, --debug
Enables additional debugging output (if compiled with DEBUG).
-h, --help
Print a usage message on standard output and exit successfully.
-v, --verbose
Gives verbose progress messages.
EXAMPLE
To rename lvold in volume group vg02 to lvnew:
lvrename /dev/vg02/lvold /dev/vg02/lvnew
An alternate syntax to rename this logical volume is
lvrename vg02 lvold lvnew
DIAGNOSTICS
lvrename returns an exit code of 0 for success or > 0 for error:
1 invalid logical volume name
2 error checking existence of volume group
3 volume group inactive
4 new logical volume special file already exists
5 old logical volume doesn't exist
6 volume group names are different
7 new logical volume already exist
9 error reading volume group
10 error getting index of old logical volume
11 error renaming logical volume in kernel
12 error creating new logical volume in kernel
13 error writing VGDA to physical volume(s)
14 error creating device special for new logical volume
15 invalid volume group name
95 driver/module not in kernel
96 invalid I/O protocol version
97 error locking logical volume manager
98 invalid lvmtab (run vgscan(8))
99 invalid command line
ENVIRONMENT VARIABLES
LVM_AUTOBACKUP
If this variable is set to "no" then the automatic backup of VG metadata is turned off.
LVM_VG_MAX_BACKUPS
This variable determins the backup history depth of kept VGDA copy files in /etc/lvmconf. It can be set to a positive number
between 0 and 999. The higher this number is the more steps are you able to backup with vgcfgrestore(8) from the changes you make
to your volume groups.
LVM_VG_NAME
The default Volume Group Name to use. Setting this variable enables you to enter just the Logical Volume Name rather than its com-
plete path.
SEE ALSO
lvm(8), lvchange(8), vgcreate(8), vgrename(8)
AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com>
Heinz Mauelshagen LVM TOOLS LVRENAME(8)