Type of Logical Volume lost after vgexport/gvimport process


 
Thread Tools Search this Thread
Operating Systems AIX Type of Logical Volume lost after vgexport/gvimport process
# 1  
Old 11-12-2008
Type of Logical Volume lost after vgexport/gvimport process

Hi, I have the next doubt about of lost of characteristic of LV

in my original configuration

# lsvg -l ifxvg
ifxvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
aw64m_01 jfs 1 1 1 open/syncd N/A
aw64m_02 jfs 1 1 1 open/syncd N/A
aw64m_03 jfs 1 1 1 open/syncd N/A

However, after of varyoff, vgexport ang vgimport of the ifxvg I have the next output

# lsvg -l ifxvg
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
aw64m_01 1 1 1 open/syncd N/A
aw64m_02 1 1 1 open/syncd N/A
aw64m_03 1 1 1 open/syncd N/A

The Volumes are raw devices of informix DB, the database run succesfully, however my doubt is for that reason the "type" disappear after of vgexport.
# 2  
Old 11-12-2008
IMHO an LV Type of "jfs" is misleading if one wants to create raw devices and should be avoided therefore. Preferably one uses another name for Type, e.g. "raw", so that it is easily visible in the LV's properties what this LV is.

What probably happened is: sbdy created that LV and either assigned the Type or left the Type field empty in which case the default type (i.e. jfs) was chosen. The Informix DB did something to the LV (perhaps the DB did not use a leading offset but wrote over the LV's first 512 byte destroying the Logical Volume Control Block LVCB that way). When exporting the VG you deleted every information of that VG from the server's ODM. As there was nothing to read from the LV during import the Type field now is empty.

That LV handling might have caused a drawback. If you just lost the information about that type you may be lucky. Older versions of AIX had problems when importing/changing LVs who's LVCB was destroyed. I don't know if/how that changed with AIX 5L onwards but you might not be able to import/change the LV's correctly. So check thoroughly that your DB can use the raw devices as it should.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

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

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

3. AIX

Position of the logical volume on the physical volume

Hello everyone, I just read that while creating a logical volume(LV) we can choose the region of the physical volume (PV) in which the LV should be created. When I say region I mean: outer edge - outer middle - center - inner middle and inner edge. Can anyone help me understand the utility... (11 Replies)
Discussion started by: adilyos
11 Replies

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

5. HP-UX

Logical volume sharing

Dear all, I have a server where all the space in the volume group got filled. I have another server where I have got some space. Can I use the logical volume of server B to a directory under server A. Pl let me know if there are steps to do this. Rgds Rj (9 Replies)
Discussion started by: jegaraman
9 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. 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

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

9. 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
Login or Register to Ask a Question