Sponsored Content
Operating Systems AIX 2.6TB filesystem to be copied or moved to another FS ? Post 302483520 by filosophizer on Monday 27th of December 2010 02:25:25 PM
Old 12-27-2010
homeyjoe, thank you for the post.

Just wondering why you have changed the logical volume type to copy ?

2. changed new lv to be type 'copy'


I didn't do this step, but would like to know the reason behind changing the type. When I created a logical volume and tried to copy it ( as i mentioned in the previous post ) i got an error and the message was :: Change the type of the logical volume with chlv command ...
At that time, i didn't understand why it needs to be changed and into what ...

So, I skipped, and I let the system create the logical volume and copy....So, when I chose the second option, I am not sure if AIX will automatically change the logical volume type to copy ?

Also, after successful mounting do i need to change the type to something else in-order to make the logical volume into write mode ?
 

6 More Discussions You Might Find Interesting

1. Solaris

Filesystem - error when extend the filesystem

Hi all, currently , my root filesystem already reach 90 ++% I already add more cylinder in the root partition as below Part Tag Flag Cylinders Size Blocks 0 root wm 67 - 5086 38.46GB (5020/0/0) 80646300 1 swap wu 1 - ... (11 Replies)
Discussion started by: SmartAntz
11 Replies

2. Solaris

Check copied file

Hi all, If i wanted to copy file within different folders or different servers, how do i determine the copied file is absolutely correct :confused: Is it using cmp and chksum command enough? Anyway that i can make further checking? Thanks in advance for reading & anyone who reply the... (7 Replies)
Discussion started by: beginningDBA
7 Replies

3. UNIX for Dummies Questions & Answers

Using sudo scp -r – can't get everything copied though

I want to copy a folder and all its contents of ~700GB from a computer to another. I've tried sudo scp -r directory/ admin@host:directory but the result is that the copied folder is about 2GBs smaller than the original. I checked the shell for errors and found some "file doesn't exist" errors.... (2 Replies)
Discussion started by: MJH
2 Replies

4. UNIX for Dummies Questions & Answers

hwo to find shared filesystem and local filesystem in AIX

Hi, I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local. Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies

5. Solaris

Solaris Filesystem vs. Windows FileSystem

Hi guys! Could you tell me what's the difference of filesystem of Solaris to filesystem of Windows? I need to compare both. I have read some over the net but it's so much technical. Could you explain it in a more simpler term? I am new to Solaris. Hope you help me guys. Thanks! (4 Replies)
Discussion started by: arah
4 Replies

6. AIX

Mount Filesystem in AIX Unable to read /etc/filesystem

Dear all, We are facing prolem when we are going to mount AIX filesystem, the system returned the following error 0506-307The AFopen call failed : A file or directory in the path name does not exist. But when we ls filesystems in the /etc/ directory it show -rw-r--r-- 0 root ... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies
LVEXTEND(8)						      System Manager's Manual						       LVEXTEND(8)

NAME
lvextend - extend the size of a logical volume SYNOPSIS
lvextend [-A|--autobackup {y|n}] [-d|--debug] [-h|--help] {-l|--extents [+]LogicalExtentsNumber| -L|--size [+]LogicalVolumeSize[kKmMgGtT]} [-v|--verbose] LogicalVolumePath [PhysicalVolumePath...] DESCRIPTION
lvextend allows you to extend the size of a logical volume. Extension of snapshot logical volumes (see lvcreate(8) for information to cre- ate snapshots) is supprted as well. 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. -l, --extents [+]LogicalExtentsNumber Extend or set the logical volume size in units of logical extents. With the + sign the value is added to the actual size of the logical volume and without it, the value is taken as an absolute one. -L, --size [+]LogicalVolumeSize[kKmMgGtT] Extend or set the logical volume size in units in units of megabytes. A size suffix of M for megabytes, G for gigabytes or T for terabytes is optional. With the + sign the value is added to the actual size of the logical volume and without it, the value is taken as an absolute one. -v, --verbose Gives verbose runtime information about lvextend's activities. Examples "lvextend -L +54 /dev/vg01/lvol10 /dev/sdk3" tries to extend the size of that logical volume by 54MB on physical volume /dev/sdk3. This is only possible if /dev/sdk3 is a member of volume group vg01 and there are enough free physical extents in it. DIAGNOSTICS
lvextend returns an exit code of 0 for success or > 0 for error: 1 no logical volume name on command line 2 invalid physical volume name on command line 3 invalid logical volume name 4 error checking existence of logical volume 5 logical volume not active 6 error reading VGDA 7 requested physical volume not in this volume group 8 error getting index of logical volume 9 logical volume size not bigger than before 10 logical volume size exceeds volume group free capacity 11 logical volume size exceeds maximum 12 error setting up VGDA for logical volume extension 13 error extending VGDA for logical volume in kernel 14 error writing VGDA to physical volume(s) 15 error getting index for read/write statistics transfer 16 error getting status of logical volume from kernel 17 error setting up copy on write exception table 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 determines 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 changes you can restore using vgcfgrestore(8). 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), lvcreate(8), lvreduce(8), lvchange(8) AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com> Heinz Mauelshagen LVM TOOLS LVEXTEND(8)
All times are GMT -4. The time now is 02:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy